MVIG-SJTU / AlphaPose

Real-Time and Accurate Full-Body Multi-Person Pose Estimation&Tracking System
http://mvig.org/research/alphapose.html
Other
8.06k stars 1.98k forks source link

how can I compute accuracy according to predicted location instead of heatmaps? #1124

Open zoeccolor opened 1 year ago

zoeccolor commented 1 year ago

how can I compute accuracy according to predicted location instead of heatmaps? And I don not understand the function calc_integral_accuracy in alphapose/utils/metrics.py, can u give me an example? thx

nistring commented 1 year ago

In my opinion, it might be look inappropriate to assess accuracy of locations of predicted keypoints or heatmaps. Instead, pose estimation adopts various metrics for assessment such as PDJ, PCK, average precision using OKS etc. The metric highly depends on the annotation style of dataset for example, average precision is applicable to COCO dataset while MP2 dataset chose PCKh. I suppose PCP(Percentage of Correct Keypoints) would suit your interest in that it excludes every prediction outside of certain distance,