You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the demo.ipynb notebook to obtain the key points. I am trying to label each key point detected in the image. But, I am not able to figure out how to do that from the data in all_peaks.
From what I have understood, the last element in each item of the list is the label index for the keypoint. But when a certain feature is not detected, the item is empty. So I am not able to figure out how to label the keypoints.
Can anyone help me out with this?
The text was updated successfully, but these errors were encountered:
Hi @aakaashjois
all_peaks is an 18 element list where each item is a sublist of body parts. The sublist contains information about detected body parts of a single type. So all_peaks[0] contains all detected noses, all_peaks[1] - all detected necks, etc. For example first detected nose is at all_peaks[0][0] - it is a tuple (444, 141, 0.23833531141281128, 11) where the first 2 items are coordinates, the third element is a score and the last element is an identifier which is a sequence number (it can be any unique number)
This id is used in this part of code:
Hey @michalfaber
I was able to find the labels for the key points in the config file. I am able to get a better understanding of the code now. Thank you so much for the clarification!
I followed the
demo.ipynb
notebook to obtain the key points. I am trying to label each key point detected in the image. But, I am not able to figure out how to do that from the data inall_peaks
.The
all_peaks
list is something like,From what I have understood, the last element in each item of the list is the label index for the keypoint. But when a certain feature is not detected, the item is empty. So I am not able to figure out how to label the keypoints.
Can anyone help me out with this?
The text was updated successfully, but these errors were encountered: