Open zssure-thu opened 2 years ago
We will use horizontal-flip in data augmentation. When we flip the image, the left_eye of a person will become the right_eye in the image.
This line indicates that the left_eye
and the right_eye
are a swap/flip pair.
This line indicates that the
left_eye
and theright_eye
are a swap/flip pair.
OK,as i know, the detected posture result is so wired. for example, in the picture below, all of the right hand's keypoints, left hand's keypoints are correct, but the right wrist(whose index is 10) alone is plotted at left hand toghter with left wrist(whose index is 9)
the code below:
dict( name='left_eye', id=1, color=[51, 153, 255], type='upper', swap='right_eye'),
left_eye swap right_eye?why?what does it do?