OpenCV/OpenPose MobileNet人体姿态估计
Perform Human Pose Estimation in OpenCV Using OpenPose MobileNet
Python 机器学习
共163Star
详细介绍
human-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
--thr
to 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 Model
from CMU OpenPose. The originalopenpose.py
fromOpenCV example
only usesCaffe Model
which is more than 200MB while theMobilenet
is only 7MB. - Basically, we need to change the
cv.dnn.blobFromImage
and useout = out[:, :19, :, :]
to get only the first 19 rows in theout
variable.
-
139 Star
-
456 Star
-
1668 Star
-
643 Star
-
261 Star
-
192 Star
-
517 Star
-
425 Star