https://github.com/krishbharadwaj5678/clearcut
Transform your live streams with ClearCut a powerful Python script that removes backgrounds in real time using your webcam. Elevate your content instantly, offering a professional touch with zero hassle!
https://github.com/krishbharadwaj5678/clearcut
background-removal bg-remove computer-vision cross-platform cvzone image-processing live-streaming mediapipe opencv os python python3 real-time real-time-streaming selfie-segmentation
Last synced: about 1 month ago
JSON representation
Transform your live streams with ClearCut a powerful Python script that removes backgrounds in real time using your webcam. Elevate your content instantly, offering a professional touch with zero hassle!
- Host: GitHub
- URL: https://github.com/krishbharadwaj5678/clearcut
- Owner: KrishBharadwaj5678
- Created: 2025-06-15T17:43:05.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-16T08:41:09.000Z (12 months ago)
- Last Synced: 2025-06-16T09:27:26.182Z (12 months ago)
- Topics: background-removal, bg-remove, computer-vision, cross-platform, cvzone, image-processing, live-streaming, mediapipe, opencv, os, python, python3, real-time, real-time-streaming, selfie-segmentation
- Language: Python
- Homepage:
- Size: 3.64 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎬 ClearCut
**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.

### 🌟 **Features**
| 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. |
---
## ⚙️ **Tech Stack**
| 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. |
---
## 🛠️ Installation
### 1️⃣ Clone the Repository
```bash
git clone https://github.com/KrishBharadwaj5678/ClearCut.git
````
### 2️⃣ Navigate to Folder
```bash
cd ClearCut
```
### 3️⃣ Install Dependencies
```bash
pip install -r requirements.txt
```
### 4️⃣ Run the Application
```bash
python app.py
```
---
## Contributing 🤝
Want to contribute? Here's how:
1. 🍴 Fork the repository.
2. 🌿 Create a new branch (`git checkout -b feature-name`).
3. ✍️ Make your changes and commit them (`git commit -am 'Add feature-name'`).
4. 🚀 Push to your branch (`git push origin feature-name`).
5. 🔄 Submit a pull request to merge into the main branch.