Follow the steps below to set up and run the project on your local machine.
- Python 3.8 or later
- pip (Python package installer)
git clone https://github.com/ErayBD/finger-draw.git
cd finger-draw
pip install -r requirements.txt
- Obtain an API key from the Google Cloud Console.
- Replace the placeholder API key in the geminiConfig() function within main.py:
genai.configure(api_key="YOUR_API_KEY_HERE")
streamlit run main.py
- Drawing: Use your INDEX finger to draw on the screen.
- Clearing the Screen: Hold up all FIVE fingers to clear the canvas.
- Sending Drawing to AI: Hold up your THUMB, INDEX, and PINKY fingers (while the other two fingers are down) to send the drawing to the AI for interpretation.