Update representation.py

Add explicit "color_face" argument.
This commit is contained in:
dakotah-jones 2025-01-15 13:15:00 -05:00 committed by GitHub
parent 29200f4fd6
commit 4fbd33a419
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,6 +83,7 @@ def represent(
expand_percentage=expand_percentage,
anti_spoofing=anti_spoofing,
max_faces=max_faces,
color_face="bgr",
)
else: # skip
# Try load. If load error, will raise exception internal