Uses HSV color space to track two points of a handheld object. Based on their orientation (angle with horizontal), the car moves accordingly.
Note: a gif demo (temp.gif) is also present
pip install numpy
pip install opencv-python
pip install pygame
python3 final.py
- Improve tracking
- Improve gameplay by increasing speed after a certain number of points