Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

how to understand 'skeleton' in coco datasets keypoint? #640

Closed
lilichu opened this issue Aug 30, 2018 · 3 comments
Closed

how to understand 'skeleton' in coco datasets keypoint? #640

lilichu opened this issue Aug 30, 2018 · 3 comments

Comments

@lilichu
Copy link

lilichu commented Aug 30, 2018

hi!
In the coco datasets, I use keypoints, and there is "skeleton" in categories such as:

"skeleton": [
                [
                    16, 
                    14
                ], 
                [
                    14, 
                    12
                ], 
                [
                    17, 
                    15
                ], 
                [
                    15, 
                    13
                ], 
                [
                    12, 
                    13
                ], 
                [
                    6, 
                    12
                ], 
                [
                    7, 
                    13
                ], 
                [
                    6, 
                    7
                ], 
                [
                    6, 
                    8
                ], 
                [
                    7, 
                    9
                ], 
                [
                    8, 
                    10
                ], 
                [
                    9, 
                    11
                ], 
                [
                    2, 
                    3
                ], 
                [
                    1, 
                    2
                ], 
                [
                    1, 
                    3
                ], 
                [
                    2, 
                    4
                ], 
                [
                    3, 
                    5
                ], 
                [
                    4, 
                    6
                ], 
                [
                    5, 
                    7
                ]
            ]

In coco document, it declares such as:
"skeleton", which defines connectivity via a list of keypoint edge pairs and is used for visualization.
But I can't understand what it means. Can you help me please? Thanks!

@teaglin
Copy link

teaglin commented Aug 30, 2018

They are indexes starting at 1 (NOT ZERO) into the joint lookup table. Example [6,12] is ['left_shoulder', left_hip']

"keypoints": [ "nose", "left_eye", "right_eye", "left_ear", "right_ear", "left_shoulder", "right_shoulder", "left_elbow", "right_elbow", "left_wrist", "right_wrist", "left_hip", "right_hip", "left_knee", "right_knee", "left_ankle", "right_ankle" ]

@lilichu
Copy link
Author

lilichu commented Aug 31, 2018

@teaglin thanks!

@lilichu lilichu closed this as completed Aug 31, 2018
@Yiwen233
Copy link

Thanks

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

No branches or pull requests

3 participants