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: 4 months 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 (4 months ago)
- Default Branch: main
- Last Pushed: 2025-06-16T08:41:09.000Z (4 months ago)
- Last Synced: 2025-06-16T09:27:26.182Z (4 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**
### Step 1: Clone the repository
```bash
git clone https://github.com/yourusername/ClearCut.git
cd ClearCut
```### Step 2: Install required dependencies
```bash
pip install -r requirements.txt
```### Step 3: Run the application
```bash
python app.py
```---
## 🤝 **Contributing**
We welcome contributions! 🚀
1. 🍴 **Fork the repository**
2. 🌿 **Create a new branch**
```bash
git checkout -b feature-name
```
4. ✏️ **Make your changes**
5. 📜 **Commit your changes**
```bash
git commit -am 'Add feature'
```
6. ⬆️ **Push to the branch**
```bash
git push origin feature-name
```
8. 🔄 **Open a pull request**