mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
deprecated functions
This commit is contained in:
parent
fb52de282d
commit
75f3eb7577
@ -817,6 +817,7 @@ def extract_faces(
|
||||
def detectFace(
|
||||
img_path, target_size=(224, 224), detector_backend="opencv", enforce_detection=True, align=True
|
||||
):
|
||||
print("⚠️ Function detectFace is deprecated. Use extract_faces instead.")
|
||||
face_objs = extract_faces(
|
||||
img_path=img_path,
|
||||
target_size=target_size,
|
||||
|
@ -267,6 +267,7 @@ def preprocess_face(
|
||||
enforce_detection=True,
|
||||
align=True,
|
||||
):
|
||||
print("⚠️ Function preprocess_face is deprecated. Use extract_faces instead.")
|
||||
result = None
|
||||
img_objs = extract_faces(
|
||||
img=img,
|
||||
|
Loading…
x
Reference in New Issue
Block a user