spmallick / learnopencv

Learn OpenCV : C++ and Python Examples
https://www.learnopencv.com/
20.99k stars 11.56k forks source link

OpenPose for face landmarks #278

Open pratushabp opened 5 years ago

pratushabp commented 5 years ago

Hey thanks for the great work!

I was wondering if the face detection : http://posefs1.perception.cs.cmu.edu/OpenPose/models/face/pose_iter_116000.caffemodel module can be used with opencv dnn module. If so how would I go about figuring out the pose pairs for it?

Thanks!

vikasgupta-github commented 5 years ago

In case of the face landmarks, the output will be a 71 point array. There are no POSE_PAIRS as such. You can check this diagram for the output format. Alternatively, you can also display the points on the image and check for yourself.