9 lines
179 B
Python
9 lines
179 B
Python
|
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))
|