From bc92d5a15a2902f782a2e25f37b304ce6a071bfa Mon Sep 17 00:00:00 2001 From: dakotah-jones Date: Wed, 15 Jan 2025 16:43:18 -0500 Subject: [PATCH] Revert change to comment. (#1402) --- deepface/modules/representation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepface/modules/representation.py b/deepface/modules/representation.py index d5783eb..3848039 100644 --- a/deepface/modules/representation.py +++ b/deepface/modules/representation.py @@ -119,7 +119,7 @@ def represent( raise ValueError("Spoof detected in the given image.") img = img_obj["face"] - # bgr to rgb + # rgb to bgr img = img[:, :, ::-1] region = img_obj["facial_area"]