# Yolov8-obb generated labels are not rectangles and do not match the original oriented rectangles

**URL:** <https://discuss.roboflow.com/t/yolov8-obb-generated-labels-are-not-rectangles-and-do-not-match-the-original-oriented-rectangles/4770>\
**Category:** 🤝  Community Help\
**Created:** [March 12, 2024, 6:21am UTC](https://discuss.roboflow.com/t/yolov8-obb-generated-labels-are-not-rectangles-and-do-not-match-the-original-oriented-rectangles/4770 "2024-03-12T06:21:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vshesh](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/vshesh/32/332_2.png) [@vshesh](https://discuss.roboflow.com/u/vshesh)\
**Post date:** [March 12, 2024, 6:21am UTC](https://discuss.roboflow.com/t/yolov8-obb-generated-labels-are-not-rectangles-and-do-not-match-the-original-oriented-rectangles/4770/1 "2024-03-12T06:21:27Z")

</div>

Object Detection, Project Link here: [Sign in to Roboflow](https://app.roboflow.com/regiondetector/symbols16-2/6/)

Image in question for the example is here: [Sign in to Roboflow](https://app.roboflow.com/regiondetector/symbols16-2/6/images/fdb334c8cabce8b61be018b84f47a941?split=valid)

Hi,

Was training a yolov8-obb model and when I went to draw rectangles to evaluate the results I was comparing the rectangles in the ground truth labels from roboflow against the predictions … and I found out that the rectangles in the ground truth data aren’t really rectangles.

 ![Screen Shot 2024-03-11 at 11.18.09 PM](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/0/0294f83b97ad694f2da60b2feab89ab4d1e3c9fa.jpeg)

It’s a little hard to see in the image but the white border around the marked rectangles in the picture are parallelograms instead of rectangles. The same is true for the black rectangles and the smaller gray ones around the symbols in the middle of the shorter edge of the rectangles.

I checked and rechecked the labels, and even verified that the rectangles stored on roboflow’s servers are accurate (they are, and your visualization online looks correct too).  
Somehow while generating the oriented rectangle data there seems to be a bug creating this issue.

Please fix this! I can’t use your service to train the models otherwise.

You should be able to repro by downloading yolov8-obb format of version 6 of this project, which will include that image as an example. I’ve verified that all the images in this project have the same issue.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [April 2, 2024, 6:22am UTC](https://discuss.roboflow.com/t/yolov8-obb-generated-labels-are-not-rectangles-and-do-not-match-the-original-oriented-rectangles/4770/2 "2024-04-02T06:22:10Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
