stm32-fmt-code/access_control_python/identify_test.py

9 lines
179 B
Python
Raw Normal View History

2023-09-24 18:30:29 +00:00
import numpy as np
import cv2
import face_processing as fp
cam = cv2.VideoCapture(0)
while True:
#Capture Image
ret, img = cam.read()
print(fp.identify_face(img,0.4))