DeleteMe is a small OpenCV-based webcam app that removes a person from the frame when they close their fist
- Python 3.10+ recommended
- Webcam
- Windows, macOS, or Linux with camera access
Python packages are listed in requirements.txt.
Create and activate a virtual environment, then install the dependencies:
pip install -r requirements.txtIf you prefer to install manually, the project currently depends on:
- opencv-python
- mediapipe
Start the GUI from the project root:
python main.py- Launch the app.
- Make sure the camera shows an empty background.
- Click Capture Background.
- Watch the live preview window and move out of frame before the countdown ends.
- Click Start App to begin the main effect loop.
- In the background preview window, press
qorEscto cancel capture. - In the main OpenCV window, press
qto exit the loop.
- main.py contains the Tkinter GUI and camera flow.
- deleteMe.py contains the main effect logic.
- utils.py contains the person and hand helpers.
bg.jpgis the saved background image created by the app at runtime.
- The app saves the captured background to
bg.jpg. - If the camera fails to open, check that no other app is using it.
- If the background capture looks wrong, clear the scene again and recapture before starting.
LICENSE This project is hosted under the MIT LICENSE, see license file for more info
