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?
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.
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?