mirror of
https://github.com/serengil/deepface.git
synced 2025-07-22 01:40:01 +00:00
Revert change to comment. (#1402)
This commit is contained in:
parent
1ea31bc072
commit
bc92d5a15a
@ -119,7 +119,7 @@ def represent(
|
|||||||
raise ValueError("Spoof detected in the given image.")
|
raise ValueError("Spoof detected in the given image.")
|
||||||
img = img_obj["face"]
|
img = img_obj["face"]
|
||||||
|
|
||||||
# bgr to rgb
|
# rgb to bgr
|
||||||
img = img[:, :, ::-1]
|
img = img[:, :, ::-1]
|
||||||
|
|
||||||
region = img_obj["facial_area"]
|
region = img_obj["facial_area"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user