Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
www committed Nov 25, 2014
1 parent c29898c commit 1df1fdf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added Image_Video/webcam.mp4
Binary file not shown.
2 changes: 1 addition & 1 deletion Image_Video/webcam_face_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

cascasdepath = sys.argv[1]

if len(sys.argv) < 2:
if len(sys.argv) < 3:
video_capture = cv2.VideoCapture(0)
else:
video_capture = cv2.VideoCapture(sys.argv[2])
Expand Down

0 comments on commit 1df1fdf

Please sign in to comment.