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
b157e733
Commit
b157e733
authored
Jun 16, 2021
by
Tiago de Freitas Pereira
Browse files
224 face crop
parent
437e7fc7
Pipeline
#51523
passed with stage
in 35 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/face/embeddings/opencv.py
View file @
b157e733
...
...
@@ -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"
:
(
110
,
144
),
"reye"
:
(
110
,
96
)}
cropped_positions
=
{
"leye"
:
(
65
,
144
),
"reye"
:
(
65
,
80
)}
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