Body: <p>When studying bounding box-based detectors, it's not clear to me if data augmentation includes adding random rotations.</p>
  <p>If random rotations are added, how is the new bounding box calculated?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-11-15T22:43:52.340Z
Comments.Text: I don't have much practical experience with them, but, I guess, if you rotate the images, you just need to rotate the boxes (i.e. labels) too. Check [this](https://github.com/anhtuan85/Data-Augmentation-for-Object-Detection/blob/master/augmentation.ipynb) (which may not be a reliable implementation: I don't know!).
Comments.UserDisplayName: nbro
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-11-15T22:47:51.700Z
Comments.Text: The problem is the predicted boxes are not rotated - so would you just create a new box from the rotated images bounding box corners? This works but might make the predicted box a little larger,.
Comments.UserDisplayName: FourierFlux
Tags: <deep-learning><object-detection><object-recognition><yolo><data-augmentation>
Title: If random rotations are included in the data augmentation process, how are the new bounding boxes calculated?
UserDisplayName: FourierFlux
ThreadText: # If random rotations are included in the data augmentation process, how are the new bounding boxes calculated?
  
  (Asked by: username_0 on 2020-11-15)
  
  When studying bounding box-based detectors, it's not clear to me if data augmentation includes adding random rotations.
  
  If random rotations are added, how is the new bounding box calculated?
  
  **Tags:** deep-learning, object-detection, object-recognition, yolo, data-augmentation
  
  > **Comments:**
  > **username_1**: I don't have much practical experience with them, but, I guess, if you rotate the images, you just need to rotate the boxes (i.e. labels) too. Check [this](https://github.com/anhtuan85/Data-Augmentation-for-Object-Detection/blob/master/augmentation.ipynb) (which may not be a reliable implementation: I don't know!).  
  > **username_0**: The problem is the predicted boxes are not rotated - so would you just create a new box from the rotated images bounding box corners? This works but might make the predicted box a little larger,.  
  
  ---
  
  ## 0 answers
  
  