Following moving subjects
Doodles can follow a subject, like a star above a walking person's head or an arrow pointing at a rolling ball. Draw just one box and the whole video is tracked automatically.
Steps
- Go to a frame where the subject is clearly visible.
- Press (T) and draw a box around the subject. Wait a moment while it tracks forward and backward through the video.
- Select a doodle and, under on the right, pick the track you just made (t1, etc.). The position shown right now becomes the reference, and the doodle keeps that offset as it follows.
- To also scale the doodle as the subject gets closer or farther, turn on .
Drawing a good box
- Box a part with clear patterns or edges. Faces, logos and corners track better than the middle of a plain shirt.
- Fit it snugly so little background gets in. Too small, and it's easily lost.
- By default, tracking keeps the box size fixed and follows only the position. Scenes where the subject moves far closer or farther can drift more.
Fixing jumps
The color of the track stripe under the timeline shows its state.
| Color | Meaning |
|---|---|
| Yellow | Frame set by hand (always wins) |
| Green | Auto-tracked |
| Gray | Stretch joined by a straight line between neighbors (interpolated) |
| Red | Lost, or moved so far in one frame that it looks like a 'jump' |
- Select the track and use to go to a red frame.
- On that frame, drag the box back into place (resize from the bottom-right corner). That frame becomes 'set by hand'.
- If is on, it re-tracks from there to the next hand-set frame.
When the subject is hidden and reappears
When the subject passes behind something, tracking may wander off. Press I on the frame just before it's hidden and O on the frame where it reappears, then press to join the stretch in between with a straight line.
Reducing jitter
Raising averages the positions of neighboring frames to smooth the motion. Hand-set frames stay exactly as they are. Set too high, fast motion is followed with a lag.
Tracking is computed in the browser with OpenCV. Scenes with strong rotation, sudden lighting changes or several similar objects can lose track often. In those cases, setting the box by hand every few frames is the surest way.