Skip to content

Why does my exported face comparison crop show a different part of the video than the on-screen rectangle?

Convert the review rectangle from its display coordinates into the intrinsic media coordinates before exporting. Browser crop dimensions differ when the displayed video uses scaling, letterboxing or visual cropping.

NATIVE SOUNDTRACK AND MEDIA FINISHINGAISwapLab team · Editorial methodPublished 2 min read
See the recorded exampleExplore 67 Image SkillsIndependent finishing · Check the actual file

Get the actual drawn area

Measure the content rectangle within the element and exclude padding. Check intrinsic dimensions after metadata loads. Also account for any deliberate crop or mirror in the player.

Convert and test corner anchors

Locate one nearby landmark before applying the rectangle to the frame. Validate the mapping on an offset and on a centered case.

Example

A 1920 by 1080 video fits inside a 400 by 400 box with a centered 400 by 225 drawn area. A selection at display y=87.5 starts at the picture's top edge.

Pass condition

The saved detail crop contains the exact landmarks the reviewer selected in both layouts.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example