An open API service indexing awesome lists of open source software.

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!

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.

![ClearCutDemo](https://github.com/KrishBharadwaj5678/ClearCut/raw/main/ClearCutDemo.png)

### 🌟 **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.