Output coordinates of tracking lines
Hi guys!
I was wondering if there is a way that the program saves the tracking coordinates in a text file (together with the frame IDs). I couldn't find that option among the parameters.
Also, I am a bit confused: where do I "fine-tune the TrackerSettings"? Sorry, this may be a noob question:D But I don't understand where to apply these settings. Is it just a normal command line argument, or do I have to go into the code?
Great job, I really like the program! (I just have to understand better how to set the parameters) Alex
Hi!
-
Save trajectories to csv file: https://github.com/Smorodov/Multitarget-tracker/pull/261 The latest parameter sets a result csv file: MultitargetTracker.exe pedestrian-01.mp4 -e=5 -a=0 -g=0 -r=res.csv Row:
<frame_number>,<object type>,<top>,<left>,<width>,<height>,<confidence> -
TrackerSetting You can set in source code in method InitTracker: https://github.com/Smorodov/Multitarget-tracker/blob/master/example/examples.h#L115 https://github.com/Smorodov/Multitarget-tracker/blob/master/example/examples.h#L259 ... For each example individual TrackerSettings. And I can make config file with all parameters. Then you can fill in all the parameters in the config file and specify it as a command line parameter. Or like now - in source code. How do you think?
Hi Sergey,
- Perfect! I am mainly using the software based on background substraction (without YOLO, etc.), so "object type" would have to be just ID1, ID2, etc.
- I think a config file would be awesome! I want to run the program from command line with varying parameter settings (and see which combination of settings gives the best result). Hence, changing the source code for each parameter would be a pain
@Nuzhny007 , can I help with a json with the sets of parameters that covers the InitTracker method ? I will do a pull request for you to verify it.
Yes, if you have some time. It will be cool. I'm started this task with simple ini file but json is better choice
@guevaralb Hi! My vision: https://github.com/Smorodov/Multitarget-tracker/pull/262 Do you have now some code with json or I can merge version with ini file?
Merged