Projects
View on GitHub
quanhua92/human-pose-estimation-opencv
About
Perform human pose estimation in OpenCV using OpenPose MobileNet.
AI & Machine LearningMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalhuman-pose-estimation-opencv
Perform Human Pose Estimation in OpenCV Using OpenPose MobileNet
How to use
- Test with webcam
python openpose.py
- Test with image
python openpose.py --input image.jpg
- Use
--thrto increase confidence threshold
python openpose.py --input image.jpg --thr 0.5
Notes:
- I modified the OpenCV DNN Example to use the
Tensorflow MobileNet Model, which is provided by ildoonet/tf-pose-estimation, instead ofCaffe Modelfrom CMU OpenPose. The originalopenpose.pyfromOpenCV exampleonly usesCaffe Modelwhich is more than 200MB while theMobilenetis only 7MB. - Basically, we need to change the
cv.dnn.blobFromImageand useout = out[:, :19, :, :]to get only the first 19 rows in theoutvariable.
Explore related projects
Loading…