I'm looking for good algorithm to do object tracking in real time. the best one I found so far was camshift but the problem with that is that I need to object detection will come from out side image.(I give the algorithm an image and he find it in the video...) and camshift required to select the ROI points with the mouse. I tried to change it but it didn't succeed. I'm open to learn new algorithm or to change the camshift.
Thanks.
I don't know camshift very well, but i'm guessing you are using opencv implementation. The below code is a snippet from the opencv example:
For the first image, choosing the
dst
as large as the frame size should solve your problem. Otherwise you can use a sliding window approach to locate the target in the first frame.On the other hand, the term real time really depends on your requirements and deployment environment in such aspects:
Since all of the considerations above would be really effective on your choice, i cannot recommend you a specific one. This one may be useful for example.
I would dig into IEEE explore and make a search such as
real time object tracking
. I did one for you :) Here is your best start point, i guess.Hope this helps. Gokhan.