Test on Raspberry pi successfully, fix some small staff

This commit is contained in:
Feier Zhang 2021-03-28 18:02:09 -04:00
parent 175fe1ebeb
commit 850e91f209

View file

@ -47,6 +47,7 @@ def inference():
img = cv2.cvtColor(im, cv2.COLOR_BGR2RGB)
faces = faceDetector(cv2.cvtColor(img, cv2.COLOR_BGR2RGB))
minDistance = 0.0
for face in faces: