pymht icon indicating copy to clipboard operation
pymht copied to clipboard

How to increase the number of objects in the demo?

Open MarwanMansour opened this issue 5 years ago • 4 comments

MarwanMansour avatar Apr 14 '20 13:04 MarwanMansour

Thank you for the nice implementation. However I'm having some problems understanding the code. For example, increasing the N_objects variable in fakeDetections function causes no change. in the number of objects tracked and/or the 'fake detections'. Can you let me know how to control the number of tracked objects in the demo?

MarwanMansour avatar Apr 14 '20 13:04 MarwanMansour

N_objects = 4 is not a variable, it is a constant. Three objects are moving linearly and one is drawing a circle.

yoon28 avatar Apr 15 '20 10:04 yoon28

In a situation where I would like to test tracking with more objects, I found that the dictionary obj_m contains the objects with the start and end coordinates. So I have figured it out thank you!

On another note however, I am trying to run the algorithm on data from the MOT16 benchmark. What tips would you suggest to do this easily? is the code generalized such that changing the input data will still have the algorithm work normally?

MarwanMansour avatar Apr 15 '20 10:04 MarwanMansour

If you want to apply the code to your own video data, I recommend that you should carefully find the parameters for the data, eg, K, Kalman parameters, and so on. These parameters are dependent on the video. However, I observed that the default setting generally works well.

yoon28 avatar Apr 18 '20 12:04 yoon28