vFourCuts is a Python program that performs real-time finger detection and automatically captures photos when a specific number of fingers are detected. This program uses OpenCV for finger detection and captures and composites images after a countdown for each detected number of fingers.
To use this program, Python and OpenCV are required.
- Install Python: Download and install Python from the official Python website.
- Install OpenCV: In your Python environment, use the command
pip install opencv-pythonto install OpenCV.
- Download the
vFourCuts.pyfile and run it in your Python environment. - Once the program starts, finger detection will begin using the webcam.
- When 2 fingers are detected, a 5-second countdown will start, and upon completion, a photo will be captured.
- A total of 4 photos will be composited and saved in a file named
result_vfourcuts.png.
When the program is running, you will see:
- A countdown timer
- The current number of fingers detected
The captured image will be saved in a file named result_vfourcuts.png.
If you would like to contribute to this project, please send a pull request or open an issue. All contributions are welcome!