Skip to content

karan-uppal3/motion-based-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

motion-based-game

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

Requirements

pip install numpy
pip install opencv-python
pip install pygame

To run:

python3 final.py

To-do:

  1. Improve tracking
  2. Improve gameplay by increasing speed after a certain number of points

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages