This project is a web application that allows users to upload an image and remove its background in a fraction of a second using the RMBG-1.4 model from Hugging Face. The processed image is then displayed back to the user.
This application uses the RMBG-1.4 model from Hugging Face for background removal. For more information about the model, visit the Hugging Face model page.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/AbolDev/image-background-remover-webapp.git cd image-background-remover-webapp
-
Install the required dependencies:
pip install -r requirements.txt
-
Start the web application:
python app.py
-
Open your web browser and navigate to
http://127.0.0.1:80
.
- On the main page, click the "Select File" button to upload an image.
- Click the "Upload" button to process the image.
- The image with the background removed will be displayed below.
Here is an example of an image before and after background removal: