Closed LSH9832 closed 6 months ago
The following function is defined in file detector/mapper.py. Why u and v are both equal to 0.05 * bbox_height?
def getUVError(box): u = 0.05*box[3] v = 0.05*box[3] if u>13: u = 13 elif u<2: u = 2 if v>10: v = 10 elif v<2: v = 2 return u,v
It appears to be an oversight in the implementation. In practice, using either bbox_height or bbox_width should yield similar results.
The following function is defined in file detector/mapper.py. Why u and v are both equal to 0.05 * bbox_height?