TODO complete redetection. White rectangles are redetection with online learning by RTrees opencv 3.1 support. Rtrees work great. I only need better features. Do you have any advice or tips?

From the initial Rectangle is generated several positive examples and negatives from the rest of image. Rtrees learning and prediction can run very fast. I still haven't got a good features. Feature extracting took some time to.

TODO Forward backward + redetection.

300 lines of code

Final result will be

TLD tracker

I would like to release this in 4 next tutorials.

Forward backwards median flow tracker

Rtrees learning ( new features ) and prediction with single scale detection sliding window