deepcam-cn / yolov5-face

YOLO5Face: Why Reinventing a Face Detector (https://arxiv.org/abs/2105.12931) ECCV Workshops 2022)
GNU General Public License v3.0
2.01k stars 491 forks source link

bbox is not correct after using rotation augmentation #283

Open Iron-iii opened 4 months ago

Iron-iii commented 4 months ago

I apply 60 degree image augmentation for training, "train_batch" images show that the bbox is wrong L1VzZXJzL2FkbWluL0xpYnJhcnkvQXBwbGljYXRpb24gU3VwcG9ydC9EaW5nVGFsa01hYy82NDA0MDIxNzdfdjIvSW1hZ2VGaWxlcy8xNzA4NTY5OTExNTM4XzRBRjM5MUVDLTMwREQtNDNEMC04MjBELTlGN0NFRjZEMDgzQS5wbmc=

Iron-iii commented 4 months ago

The new bbox is the largest bounding rectangle of the rotated bbox, so.......