sulc / tfrecord-viewer

TFRecord Viewer for browsing contents of TFRecords with object detection/classification annotations.
Other
183 stars 45 forks source link

boxes are misplaced on the image #20

Closed flik1337 closed 1 year ago

flik1337 commented 1 year ago

38

Thank you so much for this amazing job! This viewer helps me a lot :) But I found the boxes are misplaced on the image.

All feature names are default, and all arguments are default.

sulc commented 1 year ago

Hi @flik1337 , it seems that the issue is in your TFRecord dataset, not in the viewer itself.

Looks like your x/y coordinates are swapped (or image rotated?) - a quick hack to try: switch the values for parameters bbox-xmin-key, bbox-ymin-key and bbox-xmax-key, bbox-ymax-key :-)