Skip to content

Batuhania/bg-remover-pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Background Remover Pro

Advanced background removal tool with interactive model selection, built on top of rembg.

Features

Feature Description
Multi-model support 8 AI models optimized for different content types
Batch processing Process entire folders at once
Before/After preview Side-by-side comparison with transparency checker pattern
Alpha matting Edge refinement for hair and fur details
Format options PNG (transparent) or WEBP output
Background color Optional solid color replacement
Session caching Load model once, process many — no reload delay

Models

Model Best For Notes
u2net General photos Default, good all-around
u2netp Low-RAM systems Lighter, faster, lower quality
u2net_human_seg Portraits, full body Human-only segmentation
isnet-general-use Complex edges Hair, fur, fine detail
isnet-anime Illustrations, game art Anime, chibi, sticker art
birefnet-general ⭐⭐ Everything Best quality, handles shadows
birefnet-general-lite Balanced Good quality with reasonable speed
sam Precision work Meta's SAM — very slow but accurate

Requirements

  • Python 3.9+
  • rembg (pip install rembg[cpu] or pip install rembg[gpu])
  • Pillow
  • tkinter (included with Python)

Installation

# Clone the repository
git clone https://github.com/Batuhania/bg-remover-pro.git
cd bg-remover-pro

# Install dependencies
pip install -r requirements.txt

Usage

Windows

Double-click baslat_rembg.bat

Command Line

python rembg_tool.py

Workflow

  1. Select images (single or folder)
  2. Choose the appropriate model for your content
  3. Set output format and optional background color
  4. Enable Alpha Matting for edge refinement (optional)
  5. Click START and review results in the preview panel

Model Selection Guide

  • Regular photos: u2net or isnet-general-use
  • Portraits: u2net_human_seg
  • Game characters / anime: isnet-anime
  • Shadow removal: birefnet-general
  • Speed priority: u2netp
  • Maximum quality: birefnet-general

Project Structure

bg-remover-pro/
├── rembg_tool.py          # Main application
├── baslat_rembg.bat       # Windows launcher
├── requirements.txt       # Dependencies
└── README.md              # Documentation

License

MIT


Arka Plan Kaldırıcı Pro (TR)

Etkileşimli model seçimli gelişmiş arka plan kaldırma aracı.

Özellikler

  • 8 farklı AI modeli ile içerik tipine göre optimizasyon
  • Toplu klasör işleme
  • Önce/Sonra önizleme (damalı şeffaflık göstergeli)
  • Alpha Matting ile kenar iyileştirme (saç, tüy detayları)
  • PNG veya WEBP çıktı formatı
  • İsteğe bağlı arka plan rengi

Kurulum

git clone https://github.com/Batuhania/bg-remover-pro.git
cd bg-remover-pro
pip install -r requirements.txt

Kullanım

baslat_rembg.bat çift tıklayın veya:

python rembg_tool.py

About

AI-powered batch background removal tool with edge refinement and transparent PNG output.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors