# Image quality after rotation

**URL:** <https://discuss.roboflow.com/t/image-quality-after-rotation/7587>\
**Category:** 🤝  Community Help\
**Created:** [November 6, 2024, 11:15am UTC](https://discuss.roboflow.com/t/image-quality-after-rotation/7587 "2024-11-06T11:15:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Igor\_Barcelos](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/igor_barcelos/32/3939_2.png) [@Igor\_Barcelos](https://discuss.roboflow.com/u/Igor_Barcelos)\
**Post date:** [November 6, 2024, 11:15am UTC](https://discuss.roboflow.com/t/image-quality-after-rotation/7587/1 "2024-11-06T11:15:07Z")

</div>

Hi,

I have a dataset of some large images ( \> 2000 px). I need to train an yolo-obb model, so I’ve applied an rotation of ± 15° as augmentation technique.

The problem is that after applying this rotation, the image quality is quite reduced.

Original image :

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/1/111ca36c9319fc0758ebe92208a7a417d6ed496d.png)

After rotation :

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/8/80540ce51b91523debb2ce4bc0e507e11df99a1b.jpeg)

How can I fix that ?

---

<div class="post-metadata">

**Author:** ![isaacrob](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/isaacrob/32/5638_2.png) [@isaacrob](https://discuss.roboflow.com/u/isaacrob)\
**Post date:** [November 6, 2024, 4:34pm UTC](https://discuss.roboflow.com/t/image-quality-after-rotation/7587/2 "2024-11-06T16:34:25Z")

</div>

Hi! I’m asking our internal team if there’s a way to maintain image quality during rotation. In the meantime, are you trying to actually train the model at the \>2000 pixel resolution? Is it possible that at target resolution (ie maybe 640?) the degradation is less visible?

---

<div class="post-metadata">

**Author:** ![isaacrob](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/isaacrob/32/5638_2.png) [@isaacrob](https://discuss.roboflow.com/u/isaacrob)\
**Post date:** [November 6, 2024, 5:07pm UTC](https://discuss.roboflow.com/t/image-quality-after-rotation/7587/3 "2024-11-06T17:07:42Z")

</div>

Hi! All our augmentations resize to a max of 2000x2000 prior to doing the augmentation so there is an expectation of a downgrade. If you need higher resolution you can crop prior to uploading + augmenting, assuming ultimately you’re running at a lower resolution.

If your model really is running at \>2000 resolution, I would try training without the augmentation and see what happens! 🙂 may not be necessary for good results and would save some headache

---

<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:** [November 27, 2024, 5:08pm UTC](https://discuss.roboflow.com/t/image-quality-after-rotation/7587/4 "2024-11-27T17:08:33Z")

</div>

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