amirmk89 / gepc

Graph Embedded Pose Clustering for Anomaly Detection
Other
77 stars 18 forks source link

train data question #11

Open George-Polya opened 3 years ago

George-Polya commented 3 years ago

Thank you for your work. I have a questions about json data which are in pose/training/tracked_person. For example, 08_027_alphapose_tracked_person.json The abstract of this structure is as follows

└── root
    ├── "1"
        ├── "0001"
            ├── "keypoints" : 51 numeric data,
            └── "scores" : score...for what?  
        ├── ...
        └── "0092"
    ├── ...
    └── "26"

I want to know what these 1st-level "1"..."26" means, and what 2nd-level "0001"..."0092" means. Also, what "keypoints" and "scores" means?

George-Polya commented 3 years ago

I take a close look at this code. One json file include some information of many person. The index of certain person is determined by parameter idx from single_pose_dict2np(person_dict, idx) In other words, single_pose_dict2np(person_dict, idx) says that person_dict is json file, and idx is the index of certain person.

For example, in 08_027_alphapose_tracked_person.json, person_dict is 08_027_alphapose_tracked_person.json "1"..."26" mean person index

Finally, I think "0001"..."0092" means the frame of video. Therefore, "keypoints" means skeleton keypoints of each frame, but I'm not sure this.

Please check if what I understand is correct.