It seems from your code that you are selectively discarding some annotations. If I understand correctly you look at the center of all the visible keypoints and the center of the bounding box annotation and measure the ks between these two points.
However it is not clear how you selected the values to measure this heuristic. In particular:
How did you decide 0.2 in ks = np.exp(-1.0*(diff_norm2**2) / ((0.2)**2*2.0*area))
What does the computed metric = (0.2 / 16) * num_vis + 0.45 - 0.2 / 16 correspond to and what does the number 0.45 represent?
It seems from your code that you are selectively discarding some annotations. If I understand correctly you look at the center of all the visible keypoints and the center of the bounding box annotation and measure the ks between these two points.
However it is not clear how you selected the values to measure this heuristic. In particular:
ks = np.exp(-1.0*(diff_norm2**2) / ((0.2)**2*2.0*area))
metric = (0.2 / 16) * num_vis + 0.45 - 0.2 / 16
correspond to and what does the number 0.45 represent?Thanks a lot! Great work!