{"id":26737439,"url":"https://github.com/fahadelahikhan/background-remover-flask-python","last_synced_at":"2025-07-08T11:33:17.821Z","repository":{"id":282204842,"uuid":"843395424","full_name":"fahadelahikhan/Background-Remover-Flask-Python","owner":"fahadelahikhan","description":"A Flask-based web application for removing backgrounds from images using Python and the rembg library. This project features a clean UI, efficient image processing, and is easily deployable. Perfect for anyone needing a simple and effective background removal tool.","archived":false,"fork":false,"pushed_at":"2025-03-13T09:54:04.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T10:35:54.927Z","etag":null,"topics":["background-removal","cloud-computing","deployment","flask","image","image-editing","image-processing","image-segmentation","python","python-flask","rembg","responsive-design","web-application"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fahadelahikhan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-16T12:24:27.000Z","updated_at":"2025-03-13T09:54:08.000Z","dependencies_parsed_at":"2025-03-13T10:46:01.712Z","dependency_job_id":null,"html_url":"https://github.com/fahadelahikhan/Background-Remover-Flask-Python","commit_stats":null,"previous_names":["fahadelahikhan/background-remover-flask-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahadelahikhan%2FBackground-Remover-Flask-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahadelahikhan%2FBackground-Remover-Flask-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahadelahikhan%2FBackground-Remover-Flask-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahadelahikhan%2FBackground-Remover-Flask-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fahadelahikhan","download_url":"https://codeload.github.com/fahadelahikhan/Background-Remover-Flask-Python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245960690,"owners_count":20700780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["background-removal","cloud-computing","deployment","flask","image","image-editing","image-processing","image-segmentation","python","python-flask","rembg","responsive-design","web-application"],"created_at":"2025-03-28T02:50:44.672Z","updated_at":"2025-07-08T11:33:17.815Z","avatar_url":"https://github.com/fahadelahikhan.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Background Remover Flask Python 🖼️\n\n![Python Version](https://img.shields.io/badge/python-3.8%2B-blue)\n![License](https://img.shields.io/badge/license-MIT-green)\n\nA web application built with Flask that removes backgrounds from images using the rembg library.\n\n## 📜 About\nThis project provides a user-friendly web interface for removing backgrounds from images. It leverages the rembg library for efficient background removal and supports multiple image formats. The application is designed to be responsive, accessible, and easy to use.\n\n## ✨ Features\n- Web-based interface for seamless image uploads\n- Supports JPG, PNG, GIF, and BMP image formats\n- Fast and reliable background removal using rembg\n- Responsive design compatible with desktop and mobile devices\n- Displays processed images with an option to download\n\n### Input Image:\n\u003cimg src=\"assets/input%20image.jpg\" alt=\"Input Image\" width=\"500\"\u003e\n\n### Processed Image:\n\u003cimg src=\"assets/processed%20image.jpg\" alt=\"Processed Image\" width=\"500\"\u003e\n\n## 🚀 Quick Start\n\n### Prerequisites\n- Python 3.8 or higher\n- pip package manager\n\n### Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/fahadelahikhan/Background-Remover-Flask-Python.git\n   cd Background-Remover-Flask-Python\n   ```\n\n2. Create a virtual environment (recommended):\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n   ```\n\n3. Install required dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Run the application:\n   ```bash\n   python main.py\n   ```\n\n5. Open your browser and navigate to `http://localhost:4000`.\n\n### Usage\n- Access the web interface at `http://localhost:4000`\n- Upload an image by clicking \"Choose file\" or dragging and dropping\n- Click \"Remove Background\" to process the image\n- View the processed image and download the result\n\n## 📖 Project Structure\n```\nBackground-Remover-Flask-Python/\n├── main.py                # Main application code\n├── templates/\n│   └── index.html         # HTML template for the web interface\n├── requirements.txt       # Project dependencies\n├── LICENSE.txt            # MIT License file\n├── .gitignore             # Git ignore file\n├── assets\n│   └── input image.jpg\n│   └── processed image.jpg\n└── README.md              # Project documentation\n```\n\n## 📋 Requirements\nSee [requirements.txt](requirements.txt) for a complete list of dependencies.\n\n## ⚙️ Deployment\nFor production deployment, use a WSGI server like Gunicorn:\n```bash\ngunicorn -w 4 -b 0.0.0.0:4000 main:create_app\n```\n\nSet the `PORT` environment variable for custom port configuration:\n```bash\nexport PORT=8080  # On Windows: set PORT=8080\n```\n\n## 🛠️ Troubleshooting\n- Ensure all dependencies are installed correctly.\n- Verify that the uploaded image is in a supported format (JPG, PNG, GIF, BMP).\n- Check the console for error messages if processing fails.\n\n## ⚖️ License\nDistributed under the MIT License. See [LICENSE.txt](LICENSE.txt) for details.\n\n---\n\n\u003e **Note**: The quality of background removal depends on the rembg library's capabilities. For best results, use high-quality images with clear foregrounds.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahadelahikhan%2Fbackground-remover-flask-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffahadelahikhan%2Fbackground-remover-flask-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahadelahikhan%2Fbackground-remover-flask-python/lists"}