Is there a way to optimize MultiTracker_update method?
Hi,
I am currently working on a project where a task is to update several trackers on a frame basis. To do that I am using MultiTrakcer_update method provided by cv2 api (Python stack). Object tracker is CSRT tracker. I was wondering whether there is a way to optimize it so that code runs faster. Currently, the script works the following way:
- I initialize several trackers using .add method. The tracker is CSRT. Unfortunately, others failed to track correctly.
- Trackers are updated on a frame-basis.
I was thinking of possible two solutions: 1. Initialize trackers and then use several processes to update trackers. 2. Apply some pre-processing to the frame so that trackers have less work to do.
What is your opinion?
Kind regards and have a nice day, gepi
I always think CSRT is a little too slow (and it has no intrinsic boundary checking so if the tracking box is near the boundary of field of view it would crash). I like to use KCF (faster) and MOSSE ( really fast! )