Labels imported via bounding_boxes.labels distorted / shifted

Hi

I have an existing training dataset with bounding box labels. I converted them to centroid approach and output the required json bounding_boxes.labels format.

The labels are imported successfully but the position in the image looks wrong.
I verified the original label coordinates and also the conversion to centroid and the data output looks just fine.

What are your expiriences with importing existing labels? Smooth sailing or is someone experiencing similar problems?

I can provide more information, screenshots, verification results, … if required
https://studio.edgeimpulse.com/studio/114749/acquisition/training?page=1

Best regards

Hello @adiibi,

The x and y values represent the top-left corner of your bounding box.
If you used the center of your object it explains the shift.

I’ll add it to the documentation. Indeed that might not have been clear for everyone.
Thanks for your comment :slight_smile:

Regards,

Louis

1 Like