Restore grayscale=False

This commit is contained in:
Programador Artificial 2024-07-15 11:20:32 -03:00
parent d385c63766
commit 0e423a64d1
5 changed files with 6 additions and 0 deletions

View File

@ -594,6 +594,7 @@ def detectFace(
face_objs = extract_faces(
img_path=img_path,
detector_backend=detector_backend,
grayscale=False,
enforce_detection=enforce_detection,
align=align,
)

View File

@ -124,6 +124,7 @@ def analyze(
img_path=img_path,
detector_backend=detector_backend,
enforce_detection=enforce_detection,
grayscale=False,
align=align,
expand_percentage=expand_percentage,
anti_spoofing=anti_spoofing,

View File

@ -240,6 +240,7 @@ def find(
source_objs = detection.extract_faces(
img_path=img_path,
detector_backend=detector_backend,
grayscale=False,
enforce_detection=enforce_detection,
align=align,
expand_percentage=expand_percentage,
@ -363,6 +364,7 @@ def __find_bulk_embeddings(
img_objs = detection.extract_faces(
img_path=employee,
detector_backend=detector_backend,
grayscale=False,
enforce_detection=enforce_detection,
align=align,
expand_percentage=expand_percentage,

View File

@ -71,6 +71,7 @@ def represent(
img_objs = detection.extract_faces(
img_path=img_path,
detector_backend=detector_backend,
grayscale=False,
enforce_detection=enforce_detection,
align=align,
expand_percentage=expand_percentage,

View File

@ -239,6 +239,7 @@ def __extract_faces_and_embeddings(
img_objs = detection.extract_faces(
img_path=img_path,
detector_backend=detector_backend,
grayscale=False,
enforce_detection=enforce_detection,
align=align,
expand_percentage=expand_percentage,