darknet
darknet copied to clipboard
Add rotation support in detector train mode
I have added rotation support in detection mode, if anyone wants to have rotation then you can add angle_detector
in cfg file, for example I want to have rotation between [-20,20] then I will add the argument like the below :
[net]
batch=64
subdivisions=8
.
.
angle_detector = 20
Then images will be rotated randomly between [-20,20]
Note that this will be works if you compiled with opencv.
Hello, thanks for your work! I am also interested in the support for rotated bounding boxes. Can your code support all angle (-180~180) prediction?
@robosina hello, thanks for your works applying your code and testing, result is not good. unlike previous training, mAP dose not rise. are you working well?