BossZard / rotation-yolov5

rotation detection based on yolov5
GNU General Public License v3.0
377 stars 97 forks source link

the definition of angle? #14

Closed cs-heibao closed 3 years ago

cs-heibao commented 3 years ago

the longside clockwise to x-axis is positive angle? the final angle is the longside to x-axis and then add 90? so the final angle of the three example you gave is 0+90, 40+90, -90+90, is this right?

cs-heibao commented 3 years ago

I got it, thanks.

LeCongThuong commented 3 years ago

Hi @cs-heibao! What range should theta be in the annotation file? [-90, 90) or [0, 180) Is clockwise angle between x-axis and longside of rotated rectangle positive?