MartinWeniger
MartinWeniger
hi, i had the same problem, to solve it i had to change the following code part in the yolo_video.py: def detect_video(yolo, video_path, output_path=""): import cv2 vid = cv2.VideoCapture(video_path) if...
also u can change def detect_video(yolo, video_path, output_path=""): import cv2 vid = cv2.VideoCapture(video_path) if not vid.isOpened(): to this: def detect_video(yolo, video_path, output_path=""): import cv2 pfad="C:/FOLDERNAME/NEXTFOLDERNAME/VIDEONAME.flv" vid = cv2.VideoCapture(pfad) so ur...
nice it looks good. By the Way, i have something similar to yours. When im done i post it too. ;-)
You are welcome
@YasserTahaSW the Error comes from line 176 in the yolo.py file. There u have to make the changes
sounds good :-D
Hi @cyrineee, The Error message says that u used ur tabs and spaces inconsistent. Python is really strict with using tabs and spaces, so i think the solution for ur...
@saket424: i had the same Problem, i made it when i changed tf.flags.DEFINE_string('video', **0**, 'Path to the video file.') (the 0 is here an int) to tf.flags.DEFINE_string('video', **'0'**, 'Path to...
it runs for me under Windows 10 (64bit), with Tensorflow 1.8 gpu and python 3.5.5 with constant 8 FPS i hopw it helps u