tensorflow-face-detection
tensorflow-face-detection copied to clipboard
NoneType' object has no attribute 'release'
File "inference_video_face.py", line 101, in
Is test.mp4 present in the media folder?
You need to provide a path to the an actual video in your system since "test.mp4" used by the author to test the model in not provided.
Lines to be changed are:
#35: cap = cv2.VideoCapture("./media/test.mp4")
and
#59: out = cv2.VideoWriter("./media/test_out.avi", 0, 25.0, (w, h))