Merge pull request #1402 from dohyeonYoon/master

This commit is contained in:
Sefik Ilkin Serengil 2024-12-18 07:31:26 +00:00 committed by GitHub
commit 611a240f7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"]