Desperately want to play Dance Dance Revolution (DDR) But don't have a mat?
This project attempts to use a camera to detect your movments and translate it to the arrow keys, creating an invisible dance mat
The camera will be mounted directly above the player.
- Detect a quadrilateral object on the floor (like an A4 page), this will be the up arrow.
- Duplicate the square to all directions to create the invisible mat.
- Start rolling, detect any movment.
- If the movement is colliding with a square, register a tap and press the matching direction in the arrow keys.
This project uses poetry for packaging. Run
pip install poetry
poetry install
poetry run python src/ddr.py