Test on Raspberry pi successfully, fix some small staff
This commit is contained in:
parent
175fe1ebeb
commit
850e91f209
1 changed files with 7 additions and 6 deletions
|
@ -47,6 +47,7 @@ def inference():
|
||||||
|
|
||||||
img = cv2.cvtColor(im, cv2.COLOR_BGR2RGB)
|
img = cv2.cvtColor(im, cv2.COLOR_BGR2RGB)
|
||||||
faces = faceDetector(cv2.cvtColor(img, cv2.COLOR_BGR2RGB))
|
faces = faceDetector(cv2.cvtColor(img, cv2.COLOR_BGR2RGB))
|
||||||
|
minDistance = 0.0
|
||||||
|
|
||||||
for face in faces:
|
for face in faces:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue