Skip to content

Marseel-E/White-Background-Remover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

White Background Remover

This program does not use AI, which is ironic because AI was utilized in creating it lol.

Description

White Background Remover is a powerful and user-friendly desktop application designed to process images by removing white or white-like backgrounds and splitting them into distinct grayscale intensity layers. It supports batch processing, real-time previews, and GPU acceleration to ensure fast and efficient performance. The application is built to run seamlessly on Windows, macOS, and Linux.

App Screenshot

Features

  • Layer Splitting: Divide an image into multiple layers based on grayscale intensity.
  • Adjustable Parameters: Customize the strength, number of layers, and black factor for fine-tuned results.
  • Real-Time Previews: Instantly see changes as you adjust the parameters.
  • Batch Processing: Process multiple images in one go.
  • GPU Acceleration: Leverages GPU for faster image processing where supported.
  • Flexible Background Options: Choose between transparent or solid color backgrounds for previews.
  • Save Results: Export individual layers or the entire processed set.
  • Cross-Platform Compatibility: Works on Windows, macOS, and Linux.

Setup Guide

  1. Python Version: Ensure Python 3.8 or later is installed on your system. Download Python
  2. Install Dependencies: Install the required libraries using pip:
python3 -m pip install -r requirements.txt
  1. Clone the Repository:
git clone https://github.com/Marseel-E/White-Background-Remover.git
  1. Verify GPU Support: (optional) To ensure GPU acceleration is available:
  • For NVIDIA GPUs, install the required CUDA toolkit.
  • for MacOS (Apple Silicon), ensure Metal Performance Shaders (MPS) is enabled.
  1. Run the application:
python3 White-Background-Remover

How to Use

  1. Load an Image:
  • Click on the "Choose Image" button in the sidebar to select a single image.
  1. Adjust Parameters:
  • Strength: Use the slider or text input to adjust the removal intensity.
  • Number of Layers: Use the spinbox to define how many layers you want to generate.
  • Black Factor: Fine-tune the grayscale intensity mapping.
  1. Preview Results:
  • Use the tabbed view to switch between individual layers.
  • Adjust the background settings (solid color or transparent) for better visualization.
  1. Save Results:
  • Save Current Layer: Click the "Save Current Layer" button to export the selected layer.
  • Save All Layers: Use the "Save All Layers" button to export all layers into a designated Output folder.

Exiting

Click the close button or press Ctrl + C in the terminal to exit the application.

License

Mit

Support

For issues, feature requests, or contributions, feel free to create an issue or pull request in the repository.

About

An app that removes the white background of a monochromatic image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages