mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 11:35:21 +00:00
Restore grayscale=False
This commit is contained in:
parent
d385c63766
commit
0e423a64d1
@ -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,
|
||||
)
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user