Issue with Bounding Boxes Not Maintained After Annotation in Roboflow for YOLO8

image

After investigating this issue, I found that the problem lies with the annotations themselves. YOLOv8 (Standard YOLOv8 Dataset) expects annotations to be in the form of bounding boxes (rectangles). However, the annotations I used included a mix of rectangles and polygons. This discrepancy likely causes the bounding boxes to be misplaced or missing in the exported dataset for YOLOv8.

To confirm the idea, I converted the polygons to bounding boxes to standardize the annotation.

Another option would be to export as YOLOv8-oriented bounding boxes dataset.

Suggestion:

  • When exporting a dataset into YOLOv8 that was annotated with something other than rectangles, I suggest showing a warning to the user, as this would be a helpful feature to have.