DDR(Dance Dance Revolution) is a series of video games made by Konami in which players step on arrows on a large pad or mat to match the arrows on screen. The arrows are in time with the music. Because players are moving themselves along to the music, they look like they are dancing.
With Artificial Intelligence, you can now have fun at home. Instead of a large pad, all you need is a camera. Artificial Intelligence will judge your motion and score accordingly.
Stretch out your arms and legs as the arrows reach the bottom of the screen. For example, if it's a top-left arrow, top means you should use your arm, and left means you should use your left arm/leg. So, in this case, just stretch out your left arm when that arrow reach the bottom of the screen.
Using anaconda as an example:
-
Start a command prompt and enter the directory of aiddr
-
Create a new environment with python version 3.8
python 3.10 is not supported, and other versions are not tested.
$conda create -n aiddr python=3.8
-
Install most packages using pip
$pip install -r requirement.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
-
Install PyAudio using conda
sometimes pip fails to install PyAudio, so using conda may be a better choice
$conda install pyaudio
-
Run main.py
$python main.py
AIDDR@AI001-AIDDR team 2022
Team members:
SYLG, catanduni, derivative233
Special thanks to:
Big_True