Page 1 of 1

Applying Tracker to Polygon Roi

PostPosted: Wed Aug 19, 2015 5:01 pm
by Richard Bagdazian
Hello,
I'm attempting to use a tracker in corner positioning mode to track a polygon region in my image sequence. The polygon region changes shape over time as the camera moves due to change in perspective. I have been able to successfully track the four corners of the ROI using the tracker. I would like to then apply the four individual tracks derived by the tracker to the four corners of a polygon shape (quadrilateral) and use that polygon as a mask so that the mask corners follow the corner tracks established by the tracker. What I find happening is that the polygon only follows the track, but doesn't deform to match the change in shape due to perspective. I'm stuck trying to figure out what I'm doing wrong. To put it another way, how to I get the output of the tracker to be the region bounded by the four trackers ?

Thanks!

Re: Applying Tracker to Polygon Roi

PostPosted: Thu Aug 20, 2015 10:28 am
by Yuri V. Nemets
Check this comp.

Re: Applying Tracker to Polygon Roi

PostPosted: Thu Aug 20, 2015 9:22 pm
by Richard Bagdazian
Thank you for that example, Yuri.
Now I understand how to use published points and connect them to the tracker!
That was the part that I was having trouble figuring out.

Thanks again!
Richard

Re: Applying Tracker to Polygon Roi

PostPosted: Thu Aug 20, 2015 10:24 pm
by Yuri V. Nemets
You're welcome.