commit 25b2fdfc1bcbaa6e3a916692842e70dc17f4991f
parent 1437d4830b9a385380e8960c12be1fd31072738d
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Sun, 2 Oct 2016 20:56:53 +0200
Update face_detect.py
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/scripts/face_detect.py b/scripts/face_detect.py
@@ -27,5 +27,4 @@ print "Found {0} faces!".format(len(faces))
for (x, y, w, h) in faces:
cv2.rectangle(image, (x, y), (x+w, y+h), (0, 255, 0), 2)
-cv2.imshow("Faces found", image)
-cv2.waitKey(0)
+cv2.imwrite("/root/shared/results/image.jpeg", image)