Open KevCANoe opened 6 years ago
Replace at line ~287
cv::VideoCapture cap(filename);
by
cv::VideoCapture cap(0);
As said @ralek67 just change this line: https://github.com/AlexeyAB/darknet/blob/101de2b07aa2feefa74f7e73876fd5cc8fc696cf/src/yolo_console_dll.cpp#L286
to this: cv::VideoCapture cap(0); cap >> cur_frame;
It worked! Thank you so much!
Hi AlexeyAB,
Your tracking algorithm works really great on video! I am wondering if it is feasible to use video stream from a webcam to do object tracking.
I checked yolo-console_dll.cpp, where I can only find tracking for video files and images.
Thank you!