You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi i was wondering if there is a possibility to convert the COCO keypoints to Open Pose Body 18 keypoints. It seems the openpose key points have 18 keypoints with a different order ? If there is a possibility to convert them , it could be useful as many other applications take openpose keypoints as input rather than coco keypoints.
What are your views?
The text was updated successfully, but these errors were encountered:
I've checked and OpenPose, in the 19-keypoint version (i.e. without additional keypoints for feet), provides the same keypoints of COCO plus an additional mid hip joint. Moreover, HRNet has been trained on COCO without the neck joint.
Thus, there are two missing joints in the output of HRNet, but they can be computed as the mean point between the right and the left hip and the right and the left shoulder.
You can check
the OpenPose joints here, among many others, and here
the COCO joints here, ordered as in OpenPose, and here, ordered as (simple-)HRNet (neck excluded).
Bottom line, it seems doable and should be easy.
I've added this into the To Do list 🙂
@stefanopini
Hi, appreciate the work you've done here! I've got a question about having it plot 18 keypoints, wondering if you've had any luck in adding it or have an insight as to a good place to start and modify the code?
Unfortunately, I haven't found the time to work on this yet.
In SimpleHRNet.py, you will have access to all the keypoints after these two for loops, so you can create an extended version of pts with the additional keypoints and compute them.
Then, you can add a new joint type in the joints_dict you find in visualization.py and use it when calling the drawing functions (e.g. here).
Let me know if this is enough to start modifying the code!
I'll try to work on this change within the next few weekends.
Hi i was wondering if there is a possibility to convert the COCO keypoints to Open Pose Body 18 keypoints. It seems the openpose key points have 18 keypoints with a different order ? If there is a possibility to convert them , it could be useful as many other applications take openpose keypoints as input rather than coco keypoints.
What are your views?
The text was updated successfully, but these errors were encountered: