ClearCut is a Python script that removes backgrounds in real time using your webcam. It helps you replace backgrounds seamlessly as you stream live from your camera. π₯
Feature | Description |
---|---|
π₯ Real time background removal | Instantly removes backgrounds during webcam streaming. |
π€ SelfieSegmentation Module | Uses SelfieSegmentation for high-quality results. |
β¨οΈ Keyboard Controls | Press A for the previous background, D for the next. |
β‘ Lightweight & Fast | Optimized for low-latency performance. |
π» Works on Any Webcam | Compatible with most webcams. |
π οΈ Simple Setup | Easy installation with minimal dependencies. |
π Cross Platform | Available on Windows, macOS, and Linux. |
Technology | Description |
---|---|
π Python | Main programming language for the script. |
π₯οΈ OpenCV | Used for real time video capture. |
π― CVZone | Simplifies computer vision tasks. |
π€ MediaPipe | Provides real-time segmentation. |
git clone https://github.com/KrishBharadwaj5678/ClearCut.git
cd ClearCut
pip install -r requirements.txt
python app.py
We welcome contributions! π
-
π΄ Fork the repository
-
πΏ Create a new branch
git checkout -b feature-name
-
βοΈ Make your changes
-
π Commit your changes
git commit -am 'Add feature'
-
β¬οΈ Push to the branch
git push origin feature-name
-
π Open a pull request