feat: vgg识别成功
This commit is contained in:
parent
51f55258d6
commit
a9cfeeb48e
|
@ -415,7 +415,7 @@ class HrmService:
|
||||||
if face_df is None:
|
if face_df is None:
|
||||||
from apps.hrm.tasks import update_global_face_pd
|
from apps.hrm.tasks import update_global_face_pd
|
||||||
face_df = update_global_face_pd()
|
face_df = update_global_face_pd()
|
||||||
dfs = face_find(img_path=img_path, global_df=face_df, model_name='Facenet512')
|
dfs = face_find(img_path=img_path, global_df=face_df)
|
||||||
# dfs = DeepFace.find(img_path=img_path, db_path=db_path)
|
# dfs = DeepFace.find(img_path=img_path, db_path=db_path)
|
||||||
df = dfs[0]
|
df = dfs[0]
|
||||||
if not df.empty:
|
if not df.empty:
|
||||||
|
|
Loading…
Reference in New Issue