You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to me in lpd_yunet.py (under models/license_plate_detection_yunet), the bboxes parameter of the call to NMSBoxes contains wrong data. dets[:, :-1] is array of (x,y) coordinates of 4 corners, i.e. 8 numbers of [x1, y1, x2, y2, x3, y3, x4, y4], so dets[:, 0:4].tolist() is [x1, y1, x2, y2], however bboxes of NMSBoxes expects bounding box in the form of [x, y, width, height].
Hi @fengyuentau ,
It seems to me in lpd_yunet.py (under models/license_plate_detection_yunet), the bboxes parameter of the call to NMSBoxes contains wrong data. dets[:, :-1] is array of (x,y) coordinates of 4 corners, i.e. 8 numbers of [x1, y1, x2, y2, x3, y3, x4, y4], so dets[:, 0:4].tolist() is [x1, y1, x2, y2], however bboxes of NMSBoxes expects bounding box in the form of [x, y, width, height].
The text was updated successfully, but these errors were encountered: