With augmentations, remove bbox if less than 25% of the box is visible ? #1580
Answered
by
glenn-jocher
ExtReMLapin
asked this question in
Q&A
-
Hello, When training with augmentations, including the ones from Albumentation, do you know if there is a way to automatically remove the annotations if less than (for example) 25% of the original box is visible ? For example, this kind of edge (literally) case : |
Beta Was this translation helpful? Give feedback.
Answered by
glenn-jocher
Mar 23, 2023
Replies: 1 comment 4 replies
-
@ExtReMLapin anything < 10% of original area should already be removed by the augmentation box candidates function area_thr=0.1 argument. ultralytics/ultralytics/yolo/data/augment.py Lines 384 to 390 in 8c8c439 |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
ExtReMLapin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ExtReMLapin anything < 10% of original area should already be removed by the augmentation box candidates function area_thr=0.1 argument.
ultralytics/ultralytics/yolo/data/augment.py
Lines 384 to 390 in 8c8c439