Position locking of shape to section of a video

Hello all. I have an issue which I tried Googling, checked out the TD forum, and checked out some YouTube videos but couldn’t find my answer. I also tried building a solution myself but failed.

Essentially, I have reproduced this basic tutorial. The final product is at 23m:10s

I am curious how one would lock the position of an object such as a sphere or torus to a portion of the video. Unlike the video in the tutorial, mine was taken on a phone so has some slight movement. I wish to lock the position of my shape to a certain portion of the video. I tried to go from movieFileIn → crop (for the portion of interest) → blob track, and then get some coordinates from this. However I was not able to do so.

What way should I proceed? Any tutorials or forum posts I may have missed would also be helpful. I’ve attached the project file in case anybody is feeling inspired enough to check it out. I’m using a 720x1280 video.

Thanks in advance!

sample.toe (6.4 KB)

Hi @obrienciaran,

if i understand you correctly you are looking for a way to track an object in the video and apply the transform to the 3D object that is being rendered.
This whole topic is a bit more complex but a good overview can be found here:

There are some resources out there you could try as well:

or

Hope this helps a bit
Markus

1 Like

Great thank you. I’ve experience in OpenCV so this is a nice solution. I think the simple color tracker video might work best in my use case though. Thanks!

1 Like