Question about KLT Tracking

Hello everyone,
First of all, thanks in advance for all your answers.
I want to ask a question about my tracking code. At the beginning of my code, I get the coordinates of the object that is going to be tracked with below command:
objectRegion=round(getPosition(imrect));
This command enables me to get the region of the object from first frame. However, I want to get its coordinate at any time while image acquisition is running.
I have looked pause function and that kind of functions but I could not achieve to modify my code in the way that I want to.
I hope someone knows the solution of my problem.
Video of my code: https://www.youtube.com/watch?v=iII_3WRmRJw

回答 (0 件)

質問済み:

2017 年 3 月 31 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by