Commit 69f9fef2 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

return bounding box locations as integers

parent 5432f7a1
......@@ -3,7 +3,8 @@ from .FailSafe import FailSafe
def bounding_box_to_annotations(bbx):
landmarks = {}
landmarks['topleft'] = bbx.topleft_f
landmarks['bottomright'] = bbx.bottomright_f
landmarks = {
'topleft': bbx.topleft,
'bottomright': bbx.bottomright,
}
return landmarks
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment