FluxML / DataAugmentation.jl

Flexible data augmentation library for machine and deep learning
https://fluxml.ai/DataAugmentation.jl/dev/
MIT License
41 stars 18 forks source link

Bounding Box not rotated properly #94

Closed paulnovo closed 1 month ago

paulnovo commented 2 months ago

Bounding boxes are not rotated correctly: image

This is due to only storing the min and max corners, and assuming that after rotations the corners still contain the minimum and maximum coordinates. All 4 corners should be stored to handle rotations properly.