diff options
-rw-r--r-- | meta-demo/recipes-demo/face-detection/files/recognize_face.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta-demo/recipes-demo/face-detection/files/recognize_face.py b/meta-demo/recipes-demo/face-detection/files/recognize_face.py index 16657f7..59d043c 100644 --- a/meta-demo/recipes-demo/face-detection/files/recognize_face.py +++ b/meta-demo/recipes-demo/face-detection/files/recognize_face.py @@ -67,12 +67,8 @@ if __name__ == "__main__": rv, frame = camera.read() if rv: _face_detection(frame) - if args.save: - out.write(frame) cv.imshow('Video', frame) # When everything done, release the capture camera.release() - if args.save: - out.release() cv.destroyAllWindows() |