Face Editor
Edit masks, refine boundaries, and apply AI-powered auto-segmentation for precise face blending.
Overview
The Face Editor is the primary workspace for viewing and refining the masks that control how swapped faces blend into target frames. A well-crafted mask determines the boundary between the replaced face and the original image, directly affecting the quality of your final output.
Recaster provides both manual and AI-assisted tools for mask creation. You can paint masks by hand, draw polygon regions, or let the built-in BiSeNet model generate a mask automatically and then refine it with manual tools.
Opening the Face Editor
Editor Interface
The Face Editor is divided into three main areas that work together to give you complete control over mask editing:
Tool Panel
Located on the left side of the editor. Contains the Paint tool, Eraser tool, Polygon tool, and brush size controls. Switch between tools using the buttons or keyboard shortcuts.
Canvas
The central area displays the face image with the current mask overlaid in a semi-transparent color. You can zoom and pan the canvas to work on fine details.
Metadata Panel
The right panel shows face metadata including DFLIMG information, landmark positions, and mask statistics. This helps you understand the current state of each face.
Working with Masks
Face masks define which parts of a face image are included during the merge step. White areas in the mask indicate regions that will be replaced with the swapped face, while black areas remain untouched from the original frame.
A good mask typically covers the face from the forehead to the jawline, including the eyes, nose, and mouth, while excluding the hair, ears, and background. The edge quality of the mask directly impacts how natural the final blend looks.
Mask Quality Tips
- Start with auto-segmentation, then refine edges manually.
- Zoom in to clean up the jawline and hairline boundaries.
- Use a smaller brush near edges for greater precision.
- Check your mask with the overlay toggle in the Face Browser.
Auto-Save
The Face Editor automatically saves your work. Whenever you navigate to a different face or close the editor, all mask changes and polygon edits are written back to the face image file. There is no need to manually save -- your edits are preserved automatically.
Auto-save applies to both painted mask data and polygon point positions. If you make a mistake, use Cmd/Ctrl+Z to undo before navigating away.
Learn More
Dive deeper into specific Face Editor capabilities:
Mask Editing
Paint, erase, and draw polygon masks by hand. Learn the brush tools, keyboard shortcuts, and undo/redo workflow.
Auto-Segmentation
Use the BiSeNet AI model to generate face masks automatically, then refine the result with manual tools.
Keyboard Shortcuts
The Face Editor supports the following keyboard shortcuts for faster editing:
| Shortcut | Action |
|---|---|
B | Select Paint (Brush) tool |
E | Select Eraser tool |
P | Select Polygon tool |
[ / ] | Decrease / increase brush size |
Cmd/Ctrl + Z | Undo last action |
Shift + Cmd/Ctrl + Z | Redo last action |
Scroll Wheel | Zoom in / out on canvas |
Middle Mouse Drag | Pan the canvas |
Space + Drag | Pan the canvas (alternative) |
Typical Workflow
A standard mask editing workflow looks like this:
- Extract faces from your source and destination videos using the extraction tools.
- Browse faces in the Face Browser and identify any that need mask adjustments.
- Double-click a face to open the Face Editor.
- Run Auto-Segmentation to generate an initial mask with the BiSeNet model.
- Refine the mask using the Paint and Eraser tools. Focus on the jawline and hairline.
- Navigate to the next face -- your edits auto-save automatically.
- Train or merge once all masks look clean.
Was this page helpful?