-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
about Tracking #907
Comments
@z490938304 Hi,
It will detect and track objects on videofile. If you want to track large objects, then change Line 162 in 6390a5a
to this: win_size = 31
Code of multiple object tracking: Lines 155 to 322 in 6390a5a
|
I am getting this error : cannot find this file opencv_cudaoptflow340.lib ... |
|
Thanks for your replying! |
@z490938304
What error do you get? |
@AlexeyAB |
So here are the steps to run it on windows given in this article: Many lib files will be generated in the release folder but we need the following: After this copy the following dll files from bin/release folder @AlexeyAB -out_filename parameter is not supported here right ? |
@AlexeyAB But appear ' But I have complied opencv with cuda. I think the key is my GPU 0 is Core Graphics. My Nvida GPU is GPU 1. |
@z490938304 No, it means that you OpenCV is compiled without CUDA. Change this line: Line 148 in 6390a5a
to this: #if defined(TRACK_OPTFLOW) && defined(OPENCV) && defined(NOTUSED)
And show screenshot of error. |
Get the same error message when doing Build->Build yolo_console_dll as you said for detecting and tracking in video file I try to look for that file in C:\opencv_3.0\opencv\build\x64\vc14\lib, but no file with name opencv_cudaoptflow340.lib I tried all the methods (1) and (2) which mentioned above. Or on Windows compile yolo_cpp_dll.sln and then compile yolo_console_dll.sln and run yolo_console_dll.exe data/coco.names yolov3.cfg yolov3.weights test.mp4 |
|
@AlexeyAB Is there a way to implement a function such that this -> #954 (comment) can be used along with the object tracking of this thread, to save the tracked labels once rather than save the same label multiple times depending on the fps of the video feed. |
@z490938304 Did you make it? connect the mid points |
I do not have opencv_cudaoptflow340.lib and some other libraries in C:\opencv_3.4.0\opencv\build\lib\Release. I compiled opencv 3.4.0 with cuda9.1 using cmake. I only have these: |
@hadi-ghnd Hi, Try to change this line: darknet/src/yolo_console_dll.cpp Line 14 in 7a85430
to these
And comment these lines: darknet/src/yolo_console_dll.cpp Lines 31 to 35 in 7a85430
Then try to compile |
@AlexeyAB Hi, I have a video with 5 FPS. What parameters should I change for this case in Tracker_optflow? Thanks |
Hi, @AlexeyAB
I want to implement tracking by using Yolo v2 or v3.
Just want to mark the midpoint of the detected object in each frame of the video, via opencv or other tools.
Then connect the points in two frames to form a trajectory curve.
I know this idea is very simple, but given my poor programming skills, I can't find this function or the API I want from numerous .c files.
So can you tell me what should I do? Or give me some guidance to look for those function?
Thank you very much!
The text was updated successfully, but these errors were encountered: