From 64ed4829ac8f5d4dfaf11e7ae2e7eed9c18869ae Mon Sep 17 00:00:00 2001 From: Felipe Travi Date: Wed, 21 Dec 2022 16:40:01 -0300 Subject: [PATCH] Fix-file-training-face-detector (#68) --- remotecv/detectors/face_detector/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remotecv/detectors/face_detector/__init__.py b/remotecv/detectors/face_detector/__init__.py index 2c8032c..9a8b7d2 100644 --- a/remotecv/detectors/face_detector/__init__.py +++ b/remotecv/detectors/face_detector/__init__.py @@ -14,7 +14,7 @@ class FaceDetector(CascadeLoaderDetector): def __init__(self): - self.load_cascade_file(__file__, "haarcascade_frontalface_alt.xml") + self.load_cascade_file(__file__, "haarcascade_frontalface_default.xml") def __add_hair_offset(self, top, height): top = max(0, top - height * HAIR_OFFSET)