Skip to content

How do I check that a replaced character keeps the original distance from a barrier?

Compare the character's closest approach to the barrier at the same action phase, using the source relationship rather than a guessed pixel measurement. A body can remain on the correct side of a rail while losing an important gap or intersecting it. Front-to-back layer order alone does not establish the required clearance.

PROTECT THE REST OF THE SCENEAISwapLab team · Editorial methodUpdated 3 min read
Try the workflowExplore 67 Image Skills4.44 free welcome credits · No subscription
Article workflow: State the visual requirement; Compare body and barrier together; Decide the appropriate claim.
Workflow diagram: State the visual requirement → Compare body and barrier together → Decide the appropriate claim. Read the article for evidence and limits.

Separate depth order from physical separation

The source may use perspective to make a narrow gap appear smaller than it is. This guide cannot certify real-world distance or safety from video. It evaluates the depicted relationship required by a creative brief. AISwapLab may change body size, pose and scene geometry, so an approximate recreated action must not be presented as a verified safety demonstration.

What to do next

  1. 01

    State the visual requirement

    Name the barrier and whether the scene needs clear non-contact, intended contact or merely a readable side relationship. Record the closest source event and any measurement limitations. Use known scene evidence where available rather than inventing centimeters from an uncalibrated image.

  2. 02

    Compare body and barrier together

    Inspect the output approach, nearest point and departure. Check whether either the body silhouette or the barrier moved, thickened or bent. A smaller gap may result from a wider coat rather than a translated person, but both can violate the depicted non-contact requirement.

  3. 03

    Decide the appropriate claim

    For a fictional concept, state accepted approximation explicitly. For training or other consequential demonstrations, use verifiable original footage or an appropriately controlled method when exact separation matters. Cropping away the near-contact point can remove evidence; it does not prove the gap was preserved.

A concrete example

Illustrative review: a source performer passes a railing without touching it. In the output, the coat briefly intersects the rail although the face and overall walking direction remain correct. The team records a depicted clearance failure. It does not estimate a physical distance from the image or advertise the generated movement as proof of safe practice.

Clearance record

EventCheck
ApproachExpected side and geometry
Closest pointGap, contact, penetration or uncertainty
DepartureCoherent separation resumes

Check whether the two views support a clearance comparison

Label two fixed scene landmarks near the barrier in the source, such as a rail post and a floor joint. At the nearest passage, compare whether the output preserves their relationship to the barrier and camera view. Use these labels to qualify the comparison; do not convert their screen separation into physical centimeters.

For example, if the same post and joint remain comparably visible and the actor's coat newly overlaps the rail, record a depicted gap failure. If the output shifts to a more frontal view or obscures the floor joint, the apparent smaller gap may not be directly comparable; mark that relationship unassessable rather than asserting a quantified clearance loss. If the barrier itself relocates relative to both landmarks, record scene-geometry change separately from body widening. A fictional approximation may receive explicit scoped approval, but a consequential demonstration needing verified separation should use controlled evidence. Cropping away the missing landmarks cannot restore comparability.

Before you call it ready

  • Non-contact and layer order are separate requirements.
  • Both body and barrier geometry are inspected.
  • No uncalibrated physical measurement is claimed.

When to stop or choose another method

Stop treating a plausible side view as a safety certification. If exact separation is essential and cannot be established, reject the generated demonstration or choose a controlled, verifiable production route.

Sources

Your video. Your characters.

Choose a scene, check the people, then add your photos.

Try the workflow