Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.face
Commits
dd061d50
Commit
dd061d50
authored
Mar 10, 2018
by
Amir MOHAMMADI
Browse files
The annotations are supposed to be a dict already
parent
09b20836
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/face/annotator/bobipfacedetect.py
View file @
dd061d50
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment