From 208a42ba55a9ceaf151c698ba387b7165b8f2511 Mon Sep 17 00:00:00 2001 From: dohyeonYoon Date: Wed, 18 Dec 2024 14:36:20 +0900 Subject: [PATCH] Fix: code comment correction --- 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 bec0b1a..d880645 100644 --- a/deepface/modules/representation.py +++ b/deepface/modules/representation.py @@ -116,7 +116,7 @@ def represent( raise ValueError("Spoof detected in the given image.") img = img_obj["face"] - # rgb to bgr + # bgr to rgb img = img[:, :, ::-1] region = img_obj["facial_area"]