mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
Fix: code comment correction
This commit is contained in:
parent
a402f09bc8
commit
208a42ba55
@ -116,7 +116,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"]
|
||||||
|
|
||||||
# rgb to bgr
|
# bgr to rgb
|
||||||
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