open-mmlab / mmskeleton

A OpenMMLAB toolbox for human pose estimation, skeleton-based action recognition, and action synthesis.
Apache License 2.0
2.92k stars 1.03k forks source link

open pose key points #435

Open JonnoNield opened 2 years ago

JonnoNield commented 2 years ago

why do you divide key points by these values? eg:

        for x in range(len(pose_list)):
            if x%2 == 0:
                pose_list[x] = round(pose_list[x]/1920, 3)
            else:
                pose_list[x] = round(pose_list[x]/1080, 3)

thanks

thancaocuong commented 2 years ago

I think they normalize the X and Y coordinates according to the width and height of the image.