Commit dd061d50 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

The annotations are supposed to be a dict already

parent 09b20836
......@@ -57,6 +57,5 @@ class BoundingBoxToEyes(Base):
def annotate(self, image, annotations, **kwargs):
bbx = bounding_box_from_annotation(source='direct', **annotations)
annotations = dict(annotations)
annotations.update(expected_eye_positions(bbx))
return annotations
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