Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why there are joint connections between [left_ear, left_shoulder] and [right_ear, right_shoulder] #15

Open
hcv1027 opened this issue Jul 7, 2020 · 1 comment

Comments

@hcv1027
Copy link

hcv1027 commented Jul 7, 2020

As I read the code, I found there are two strange joint pairs in below code, [2, 16] and [5, 17], compare them with the image, it looks like that there are connection between [left_ear, left_shoulder] and [right_ear, right_shoulder]. I'm really confused about this part. May I ask if there is a reason?

joint_pairs = list(zip(
        [1, 8,  9,  1, 11, 12, 1, 2, 3,  2, 1, 5, 6,  5, 1,  0,  0, 14, 15],
        [8, 9, 10, 11, 12, 13, 2, 3, 4, 16, 5, 6, 7, 17, 0, 14, 15, 16, 17]))

keypoint_idx

@mgarbade
Copy link

mgarbade commented Dec 9, 2020

As far as I know, this connection is part of the original CMU publication as well.
Reason might be that it helps the model training.
More paf connections might help finding both shoulder keypoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants