A computer vision application that helps track energy drink consumption and provides hydration recommendations using hand gesture recognition.
- Real-time hand gesture recognition
- Energy drink consumption tracking (1-5 drinks)
- Automatic water intake recommendations
- Visual feedback for hand tracking
- Python 3.10
- Anaconda
- Webcam
- Clone this repository:
git clone [your-repository-url]
cd Energy_drink_cv- Create and activate the conda environment:
conda create -n energy_drink python=3.10 -y
conda activate energy_drink- Install required packages:
pip install opencv-python mediapipe numpy-
Run the program using the batch file:
- Double-click
run_program.bat
OR
Run manually in Anaconda Prompt:
conda activate energy_drink python main.py
- Double-click
-
Show your hand to the camera:
- 1 finger = 1 energy drink
- 2 fingers = 2 energy drinks
- 3 fingers = 3 energy drinks
- 4 fingers = 4 energy drinks
- 5 fingers = 5 energy drinks
-
The program will display:
- Number of energy drinks detected
- Recommended water intake
- Hand tracking visualization
-
Press 'q' to quit the program
MIT License