darknet
darknet copied to clipboard
Cannot output video from webcam real time
I am trying to output a detected video from a webcam stream after stopping the stream. Upon running the command line:
darknet.exe detector demo data\coco.data yolov3.cfg weights\yolov3.weights -c 0 -out_filename testing.avi
Everything runs fine and the webcam is able to turn on and show real time detections. However, after I hit the ESC key, the stream closes and just gets stuck here:
The testing.avi
output file remains at 0kb. Would this be because I did not stop the webcam stream properly (maybe I should not have pressed the ESC key?).
Happy to hear if anyone has a workaround for this. Thanks !