From 4fbd33a419a5738b493247e4feccf3cfc1735f99 Mon Sep 17 00:00:00 2001 From: dakotah-jones <104460663+dakotah-jones@users.noreply.github.com> Date: Wed, 15 Jan 2025 13:15:00 -0500 Subject: [PATCH] Update representation.py Add explicit "color_face" argument. --- deepface/modules/representation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deepface/modules/representation.py b/deepface/modules/representation.py index d880645..c7af0ed 100644 --- a/deepface/modules/representation.py +++ b/deepface/modules/representation.py @@ -83,6 +83,7 @@ def represent( expand_percentage=expand_percentage, anti_spoofing=anti_spoofing, max_faces=max_faces, + color_face="bgr", ) else: # skip # Try load. If load error, will raise exception internal