Extracting 2D Joint positions and angles for pose estimation with PyTorch.
- Install PyTorch
>= 1.2
with torchvision>= 0.4
pip install git+https://github.com/prasunroy/rcnnpose-pytorch.git
git clone https://github.com/hci-mkim/rcnnpose-pytorch.git
cd pose_project
python setup.py install
- images will be sliced and saved in folder [2]inputs
cd examples_onlypose
!python vid2img.py
!python custom_image_demo.py
- locate your video([1]vid2img) and then images will be sliced and saved in folder [2]inputs
cd examples
!python vid2img.py
!cd yolact
# run yolact
!python eval.py --trained_model=weights/yolact_resnet50_54_800000.pth --score_threshold=0.15 --top_k=1 --images="../[2]inputs":"../[3]outputs_background_removed"
!cd ..
!python custom_image_demo.py