dshahrokhian / YOLO_tensorflow

:oncoming_taxi: Object Detection (YOLOv1) implentation in tensorflow, with training, testing and video features.
42 stars 22 forks source link

Wait for the header in Video data. #4

Closed seongkyun closed 5 years ago

seongkyun commented 7 years ago

Now i want to implement YOLO with video.

and I tried

$ python network/YOLO_small_tf.py -video "ped1.mp4" -tofile_vid "ped1_out.mp4"

but it prints out

Wait for the header Wait for the header Wait for the header Wait for the header ...

I think it has header problem. Then which format should i use??

i uses *.mp4 file.

best regards, Han

dshahrokhian commented 7 years ago

Hi,

It seems that OpenCV is having trouble opening your file (This is what is failing in YOLO_small_tf.y). Try Googling for solutions to "cv2.videocapture always returns false".

Thanks, Dani