-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
In the examples/groundtruth_extraction.py
example script there is a small bug. The matrix you get at Line 71 does not take into account the height, width, length should be divided by 2 as it is from the center of the object. The resulting boxes are 2x the size they should be and therefore the mask obtained includes points that are not part of the object.
Changing:
sl, sh, sw = box.length, box.height, box.width
to
sl, sh, sw = box.length/2., box.height/2., box.width/2.
in the utils. get_box_transformation_matrix
fixes the problem in this instance but maybe that breaks the function for other uses?
Metadata
Metadata
Assignees
Labels
No labels