Skip to content
Sports Coaching from Pose Estimation
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE add yaml environment file May 5, 2019
analysis add analysis code Jun 5, 2019
baseline/human-pose-estimation.pytorch Merge pull request #15 from chuanqichen/tmp Jun 3, 2019
custom_data data output from HRNet Jun 3, 2019
deep-high-resolution-net.pytorch add deep high resolution Jun 5, 2019
mrcnn add yaml environment file May 5, 2019
posegan/code Add target pose image output in test.py Jun 11, 2019
samples add yaml environment file May 5, 2019
.gitignore
README.md saving more data on evaluation May 25, 2019
environment.yml
requirements.txt add yaml environment file May 5, 2019
setup.cfg add yaml environment file May 5, 2019
setup.py add yaml environment file May 5, 2019

README.md

Sports Coaching from Pose Estimation

#Configuration Conda environment file: environment.yml

To evaluate on a single image (this is all within the baseline folder):

python pose_estimation/evaluate.py --cfg experiments/mpii/resnet50/256x256_d256x3_adam_lr1e-3.yaml --model-file models/pytorch/pose_mpii/pose_resnet_50_256x256.pth.tar --out_file foo

This will save both the image and the raw pose data in the output dir corresponding to the model

  • foo_pred.jpg
  • foo_pred.jpg.poses.json

To change the image, change the following line in pose_estimation/evaluate.py: eval_image='/home/shared/deepcoaching/custom_data/pro3.jpg' # NOTE: Change this to run on arbitrary image

You can’t perform that action at this time.