diff --git a/deepface/modules/demography.py b/deepface/modules/demography.py index e6d4989..cf101c6 100644 --- a/deepface/modules/demography.py +++ b/deepface/modules/demography.py @@ -123,8 +123,6 @@ def analyze( img_objs = detection.extract_faces( img_path=img_path, detector_backend=detector_backend, - color_face='rgb', - normalize_face=True, enforce_detection=enforce_detection, align=align, expand_percentage=expand_percentage, diff --git a/deepface/modules/recognition.py b/deepface/modules/recognition.py index 608202b..72d2fd3 100644 --- a/deepface/modules/recognition.py +++ b/deepface/modules/recognition.py @@ -240,8 +240,6 @@ def find( source_objs = detection.extract_faces( img_path=img_path, detector_backend=detector_backend, - color_face='rgb', - normalize_face=True, enforce_detection=enforce_detection, align=align, expand_percentage=expand_percentage, @@ -365,8 +363,6 @@ def __find_bulk_embeddings( img_objs = detection.extract_faces( img_path=employee, detector_backend=detector_backend, - color_face='rgb', - normalize_face=True, enforce_detection=enforce_detection, align=align, expand_percentage=expand_percentage, diff --git a/deepface/modules/representation.py b/deepface/modules/representation.py index 48cc0e6..bbccc27 100644 --- a/deepface/modules/representation.py +++ b/deepface/modules/representation.py @@ -71,8 +71,6 @@ def represent( img_objs = detection.extract_faces( img_path=img_path, detector_backend=detector_backend, - color_face='rgb', - normalize_face=True, enforce_detection=enforce_detection, align=align, expand_percentage=expand_percentage, diff --git a/deepface/modules/verification.py b/deepface/modules/verification.py index f653802..c6b5ee6 100644 --- a/deepface/modules/verification.py +++ b/deepface/modules/verification.py @@ -239,8 +239,6 @@ def __extract_faces_and_embeddings( img_objs = detection.extract_faces( img_path=img_path, detector_backend=detector_backend, - color_face='rgb', - normalize_face=True, enforce_detection=enforce_detection, align=align, expand_percentage=expand_percentage,