Halpe-FullBody
Halpe-FullBody copied to clipboard
Annotation format for bbox is not uniform in training set
Hello,
I found that most bbox annotations are ordered as [x1, y1, width, height]
, but some images seem to have the annotation like [x1, x2, y1, y2]
, like "HICO_train2015_00012054.jpg" below. How can I standardize these annotations?
Thanks for your time!
Notice the same issue. A quick and dirty fix is to evaluate the quality of the two possible options, namely,
-
IoU(bbox_xywh, keypoint_min_bbox)
-
IoU(bbox_xyxy, keypoint_min_bbox)
wherebbox_xywh
andbbox_xyxy
are the two possible formats of the givenbbox
annotation, andkeypoint_min_bbox
is the minimum bounding box you may infer based on the givenkeypoints
annotation.
Once both scores are computed, you can simply pick the one attaining better quality.