The objective of this project is simulate the human pose in basketball videos which is the movement of players to 2-dimension image.
- Linux or macOS
- Python 3.6+
- Pytorch
pip install torch==1.7.0+cu110 torchvision==0.8.1+cu110 torchaudio==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
- MMDetection
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu110/torch1.7.0/index.htmlgit clone https://github.com/open-mmlab/mmdetection.gitcd mmdetectionpip install -r requirements/build.txtpip install -v -e .cd ..
- MMPose
pip install -r requirements.txtpython setup.py develop
sh run.sh ${video_path} ${device}
video_pathis path of basket ball video inputdevice:cpufor using MMPose with CPU orcudaif using GPU- the outputs is in new created
outputfolder