compreface_api_crud/compreface_utils/FaceUtils.py

7 lines
142 B
Python

#
def add_face_by_name(image_path,subject,face_collection):
face_collection.add(image_path=image_path, subject=subject)
# 分组