From b157e733fa534723d1fb79efdb31b1e8433636da Mon Sep 17 00:00:00 2001
From: Tiago Freitas Pereira <tiagofrepereira@gmail.com>
Date: Wed, 16 Jun 2021 14:11:16 +0200
Subject: [PATCH] 224 face crop

---
 bob/bio/face/embeddings/opencv.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bob/bio/face/embeddings/opencv.py b/bob/bio/face/embeddings/opencv.py
index 5c7de38d..7410aa55 100644
--- a/bob/bio/face/embeddings/opencv.py
+++ b/bob/bio/face/embeddings/opencv.py
@@ -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)
 
-- 
GitLab