Skip to content

How do I exclude a person visible through a window?

A person visible through a window can be visually detected even if they are not part of the intended edit. Leave that candidate unselected and make your intended foreground roles unambiguous. Then inspect the background depiction in the result.

REVIEW CROWDED SOURCE VIDEOSAISwapLab team · Editorial methodUpdated 2 min read
Try the workflowExplore 67 Image Skills4.44 free welcome credits · No subscription
Article workflow: Inspect the region in the complete moving source; Identify the actual foreground target; Write an explicit keep-region requirement.
Workflow diagram: Inspect the region in the complete moving source → Identify the actual foreground target → Write an explicit keep-region requirement. Read the article for evidence and limits.

Classify the glass region before changing the target set

A face behind glass may be another physical person outdoors, a reflection of someone indoors, or imagery on a display. These cases can look similar in a small crop but imply different source relationships. The candidate list does not resolve the classification for you. Leaving the region unselected expresses the requested change set; generative reconstruction can still alter that background or its reflections.

What to do next

  1. 01

    Inspect the region in the complete moving source

    Find the window or glass boundary and observe more than one moment. Look for independent movement outside, coordinated reflected movement inside, or a framed display. Use those observations to describe what is visible; if the classification remains ambiguous, record it instead of treating every detected face as a separate performer.

  2. 02

    Identify the actual foreground target

    Select the intended indoor performer from a clear source view and attach that role's portrait or description. Make the source note refer to the indoor clothing and an appropriate timestamp. Check that the selected crop does not mainly locate the figure through the window.

  3. 03

    Write an explicit keep-region requirement

    Include the outdoor person or reflected region in the acceptance record even though it is not selected. Where permission or exact preservation is essential, address it through the project's approved process before spending. Do not assume an inactive card protects the background's pixels.

  4. 04

    Review the full glass interval in the output

    Compare the target, the figure in the glass and the surrounding window frame at corresponding source events. Record any newly changed person, merged reflection or bent frame. A successful indoor face does not excuse a required outdoor role becoming a different person.

A concrete example

Illustrative source: an indoor host speaks while an adult walks past outside the window. The outside walk occurs independently of the host's gesture, so the edit record treats it as a separate kept background role. Only the host receives a replacement. The output is checked through the outdoor walk, not just in an opening frame where the window was empty.

Glass-region classification

Source evidenceWorking interpretationInput and review consequence
Independent walk beyond windowSeparate background adultLeave outside change set; review entire walk
Movement coordinated within reflected viewPossible reflectionResolve physical-role relationship first
Framed or unrelated displayed performanceScreen contentUse the display-content guide; do not call it a mirror

Before you call it ready

  • The glass region is classified from full-scene evidence or marked uncertain.
  • Only the intended foreground role is selected.
  • The kept background figure remains an explicit acceptance item.
  • Required exact preservation is routed to a suitable method.

When to stop or choose another method

If background people must remain exactly unchanged for the project, assess a controlled masking workflow before relying on reference generation.

Sources

Your video. Your characters.

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

Try the workflow