stm32-fmt-code/face_recognition/test.py

11 lines
253 B
Python
Raw Permalink Normal View History

2023-11-14 11:45:43 +00:00
from deepface import DeepFace
import pandas as pd
image_path = 'D:\Git\stm32-fmt-code\\face_recognition\img_1.jpg'
database_path = 'D:\Git\stm32-fmt-code\\face_recognition\\faces_data\Sukatat'
DeepFace.stream(db_path = database_path)
#result.head()