four corner motion track not tracking/wandering corners

Please help me! I'm trying to use four corner pinning to motion track a green screen that my kid is holding so I can overlay a video on it. Kind of like this short video here, except with a video clip instead of a picture. It's not working. When I click analyze, Motion tracks it for a few frames and then a couple of the four corners will just start wandering all over the place. Can anyone help? Here's a screen shot illustrating how the corners (the fourth one in this picture) start wandering. You can see the dots showing the wandering path of the corner.

User uploaded file

MacBook Pro, OS X Mavericks (10.9.2)

Posted on May 9, 2014 11:29 AM

Reply
2 replies

May 9, 2014 2:16 PM in response to joshua773

For starters, try tracking the inside corners of your tape markers. For example in the image you posted, try the bottom right corner of the tape at the bottom left corner of the green card. This will have better contrast and not get thrown off as easily as the corners of the green card your child is holding. There will be an offset, but you can use the Mimic Source option and the layer corner pin controls to expand the video to be slightly larger than the card. In the future, instead of placing the markers at the edge, I’d suggest placing them just inside the corner, so they are surrounded by the green on all sides. They can also be a little bit smaller.


If you still have trouble here’s the general worklofow I use to solve difficult tracking situations:


1. Start isolating: Instead of tracking everything at once, focus on one point at a time. Motion lets you enable/disable tracks while working on a shot. Uncheck failing tracks and let the software complete the "easy" ones first. Then go back and focus on the failing tracks.


2. For troublesome tracks, uncheck the completed tracks in the inspector to protect them and speed up analysis. Now focus on the failing track(s) one at a time. Select the track and play through and see if you can figure out why it might be failing (obscured point, heavy movement, etc.) From here you can try several things:

-Adjust the size of the track region.

-Increase the search area (good when things move quickly between frames).

-Reduced the fail tolerance. This will cause analysis to stop, but will allow you to more quickly adjust and reset.


With the tracker selected, watch the preview in the inspector, if it fails, stop analysis and reposition the tracker, then start analysis again.


3. Break the tracking up into sections. I point this out to people all the time, some shots will work better if you focus on segments rather than expecting analyze from the beginning and trying to go all the way through to the end. Sometimes you need to break the track into sections (using the in/out play range). As I mentioned previously, take care of the easy parts first, then move on to the more challenging sections.


4. Try tracking backwards. I've seen tracks that drift every time when tracked forward work flawlessly when tracking backwards. You can use the same techniques I've mentioned above. Some shots need forward/reverse and sectioned off tracks.


Finally,review the Motion Documentation on tracking, it’s filled with suggestions and workflows for what to do with failed tracks as well as tips for getting better results:

http://help.apple.com/motion/mac/5.1/#motn18191fa3

May 9, 2014 2:35 PM in response to GFXZen

Wow. Thank you for the information GFXZen. Since I'm new to Motion I'm not sure how to make use of all your suggestions yet. I would love to use your first suggestion of enabling and disabling tracks and letting the software work on the easy ones first, but I have no idea how to do that. I have a lot of reading, googling and youtube videos ahead of me. Thanks.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

four corner motion track not tracking/wandering corners

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.