AI Face Tracking for Vertical Video: How It Works
Shortzly Team
Editorial team at Shortzly 2 months ago
When you convert a 16:9 landscape video to 9:16 vertical format, you lose about two-thirds of the horizontal frame. If the speaker is slightly off-center-which they usually are-a simple center crop might cut off their face entirely.
AI face tracking solves this by detecting where the speaker is in each frame and dynamically adjusting the crop position. Here's how the two main approaches work, and when to use each one.
The Problem: 16:9 to 9:16 Conversion
A standard 16:9 frame is 1920 pixels wide by 1080 pixels tall. A 9:16 frame is 1080 pixels wide by 1920 pixels tall. When you crop a 16:9 frame to fill a 9:16 container, you can only use about 607 pixels of the original 1920-pixel width (at the same height). That's roughly one-third of the frame.
If the speaker is centered, a static center crop works fine. But speakers move, gesture, lean, and in multi-camera setups, they might be on the left or right side of frame. Without face tracking, you'd need to manually keyframe crop positions throughout the video-a tedious process that can take longer than the video itself.
Fast Mode Face Tracking
Fast mode, the default, is the simpler and quicker approach to face detection. Here's how it works:
How It Works
- Sampled detection: Every few frames (every 5th in HD, every 8th in a preview), the picture is analyzed by a trained model that detects face-like patterns (eye spacing, nose position, facial proportions)
- Bounding box: The detector returns a bounding box around each detected face with coordinates and size
- Position stabilization: Raw frame-by-frame detection is jittery, so the position is smoothed over time using an exponential moving average. This prevents the crop from jumping between frames
- Crop calculation: The crop window is centered on the stabilized face position, clamped to stay within frame boundaries
Strengths
- Speed: Fast mode keeps up with the video in real time, so renders finish quickly
- Reliability: Works well for single-speaker, front-facing content
- Quick turnaround: The lightest tracking mode, so clips come back sooner
Weaknesses
- Profile faces: Fast mode works best with frontal faces. Side profiles can cause detection drops
- Multiple speakers: When there are two faces in frame, it doesn't know which one to follow
- Occlusion: If the speaker turns away or covers their face, detection drops until they face forward again
Best for: Single-speaker talking-head content, tutorials, vlogs, and any content where the speaker is consistently facing the camera.
Accurate Mode Face Tracking
Accurate mode reads each face in far more detail, mapping hundreds of points across it, lips included. That detail is what lets it follow whoever is talking.
How It Works
- Detailed face mapping: Accurate mode maps hundreds of points on every face, including precise lip positions
- Lip-activity scoring: By measuring the distance between upper and lower lip landmarks over time, the system detects who is actively speaking. A configurable threshold determines what counts as "speaking"
- Active speaker tracking: In multi-speaker scenarios, the crop follows the currently active speaker. A switch threshold and minimum shot duration prevent rapid back-and-forth between speakers
- Center weight: A configurable center weight balances between following the speaker and maintaining a stable center position, reducing unnecessary camera movement
Strengths
- Multi-speaker handling: Lip-activity scoring intelligently tracks the active speaker in podcasts, interviews, and panel discussions
- Profile support: Accurate mode works with partial profiles, not just frontal faces
- Smooth transitions: Speaker switches are smoothed with configurable timing parameters
- Fine-grained control: Adjustable thresholds for lip activity, switch timing, and center weight
Weaknesses
- Speed: 2-3x slower than Fast mode, because it reads every face in far more detail
- Longer batches: A large batch of clips takes noticeably longer to finish
- Complexity: More parameters to tune for optimal results
Best for: Podcasts, interviews, panel discussions, and any content with multiple speakers where you want the crop to follow the active speaker.
Center Crop (No Face Detection)
The simplest option-no AI at all. The video is cropped from the center of the frame with no dynamic adjustment.
Best for: Content where the speaker is always centered (like teleprompter recordings), B-roll footage, or when you want the fastest possible rendering.
When to Use Each Mode
- Solo talking-head video: Fast mode (quick, reliable)
- Podcast or interview: Accurate mode (active speaker tracking)
- Conference panel: Accurate mode (multi-face handling)
- Screen recording with camera overlay: Fast mode or center crop
- B-roll or landscape footage: Center crop
Where Face Tracking Fits
Face tracking runs as part of the portrait conversion step in the clip rendering pipeline. After the AI detects and scores highlights, and after you've selected which clips to render, face tracking processes each clip frame by frame.
There is nothing extra to run: the crop is worked out while the clip renders, and the finished vertical clip is ready to review as soon as the render completes.
Try It Yourself
Face tracking mode is selectable from Shortzly's editor when rendering clips. Try both Fast and Accurate mode on the same clip to see the difference. For single-speaker content, you likely won't notice a difference. For multi-speaker content, Accurate mode's active speaker detection is a game-changer.
Start your 7-day Shortzly trial and test face tracking on your own content. The AI video clipper supports all three tracking modes.
Ready to create viral shorts?
Turn your long videos into short clips with AI. Try Starter or Pro for 7 days for $1, with 30 clips and 10 faceless reels. Card required.
Start your 7-day trial