1 | initial version |
not sure if I understood your problem as I am new to image processing. however the problem of tracking an object can be improved by having a state estimator like Kalman filter I searched the internet and found this may be it could help you
http://opencvexamples.blogspot.com/2014/01/kalman-filter-implementation-tracking.html#.VUpq10byhyA