Skip to content
GitLab
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
437e7fc7
Commit
437e7fc7
authored
Jun 16, 2021
by
Tiago de Freitas Pereira
Browse files
Changed coordinates
parent
d3ddb180
Pipeline
#51517
failed with stage
in 33 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/face/embeddings/opencv.py
View file @
437e7fc7
...
...
@@ -188,7 +188,7 @@ def vgg16_oxford_baseline(annotation_type, fixed_positions=None):
if
annotation_type
==
"eyes-center"
:
# Hard coding eye positions for backward consistency
cropped_positions
=
{
"leye"
:
(
1
0
0
,
14
0
),
"reye"
:
(
1
0
0
,
9
5
)}
cropped_positions
=
{
"leye"
:
(
1
1
0
,
14
4
),
"reye"
:
(
1
1
0
,
9
6
)}
else
:
cropped_positions
=
dnn_default_cropping
(
cropped_image_size
,
annotation_type
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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