AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.74k stars 7.96k forks source link

Error while trying to run object tracking #2857

Open adityaketkar opened 5 years ago

adityaketkar commented 5 years ago
layer     filters    size              input                output
   0 conv     32  3 x 3 / 1   416 x 416 x   3   ->   416 x 416 x  32 0.299 BF
   .
   .
   .
 102 conv    256  3 x 3 / 1    52 x  52 x 128   ->    52 x  52 x 256 1.595 BF
 103 conv    128  1 x 1 / 1    52 x  52 x 256   ->    52 x  52 x 128 0.177 BF
 104 conv    256  3 x 3 / 1    52 x  52 x 128   ->    52 x  52 x 256 1.595 BF
 105 conv    255  1 x 1 / 1    52 x  52 x 256   ->    52 x  52 x 255 0.353 BF
 106 yolo
Total BFLOPS 65.864 
Loading weights from yolov3.weights...
 seen 64 
Done!
object names loaded 
input image or video filename: 
 Video size: [640 x 360]
 t_write exit 
 t_network exit 
 exit_flag: detection_data.cap_frame.size = [0 x 0]
 t_cap exit 
 t_draw exit 
 t_prepare exit 
 show detection exit 
 t_detect exit 

I get this while trying to run : LD_LIBRARY_PATH=./:$LD_LIBRARY_PATH ./uselib data/coco.names cfg/yolov3.cfg yolov3.weights data/input.mp4

There is no output file or window opening. Can you please help me with this issue?

Also, is there an option to not show the video in the window but save it to drive for object tracking ?

AlexeyAB commented 5 years ago

It looks like there is no data/input.mp4 file or you haven't compiled OpenCV with FFMPEG support.