ClapClip Team · · · 7 min read
Written by the ClapClip team, not an independent review. Questions or corrections? Let us know
Real-time face swap is a deadline problem, not a model name: every stage has to finish before the next frame is due. The practical rule is to keep the preview cheap and treat the final render as a separate job. On this site, the browser tool swaps photos; video preview and local processing belong to the Windows app.
This page walks the pipeline in order, then shows where the browser photo tool stops. It makes no performance claims: frame rate depends on your clip, resolution, hardware and settings.
Key takeaways
- The chain is fixed. Decode, detect, landmark, align, identify, generate, blend and encode. One slow stage stalls the frame.
- Throughput beats average speed. A pipeline that misses deadlines stutters even if its average looks fine.
- The browser tool is a photo pipeline. Detection and blending run in the browser, generation runs on a server, and the model receives a 128 px or 256 px crop.
- No published speed figures. Preview and export are separate runs with separate settings. Judge them on your own machine.
Decision rule: if you need a moving face tracked, you need a video workflow, not a still-image face detector.
What has to happen between two frames?
- Decode the compressed frame into pixels. FFmpeg's documentation describes the decoding, filtering and encoding stages.
- Detect each face and return a box and a confidence.
- Landmark the eyes, nose and mouth so the face can be aligned.
- Align the face into a fixed square. This is where the 128 px and 256 px model crops come from.
- Identify which person to replace when the frame holds several faces.
- Generate a face from the source identity and fit it to the target's pose.
- Blend the generated face back into the frame, then encode the output.
A real-time pipeline has to complete that chain inside one frame interval. The interval shrinks as the frame rate rises, which is why a preview may run at a lower resolution than the export.
Rule: if one stage cannot keep up, lower preview resolution or accept a lower frame rate. Neither change improves export quality by itself.
Why is average speed the wrong metric?
Average speed hides the slow frames. Throughput asks a stricter question: does the pipeline clear every frame before the next one arrives? A chain with one slow link drops frames even when its average looks acceptable.
| Question | What to watch |
|---|---|
| Is the preview smooth? | Missed frames and stutter, not an average |
| Is the export acceptable? | The exported file at full size, not the preview |
| Which stage is behind? | The whole chain: decode, inference, composite, encode |
The same logic applies to resolution. A higher-resolution frame carries more pixels, so decoding, compositing and encoding do more work. Model inference may still run on a fixed-size face crop, which is why the slowdown is rarely a clean multiplier.
Rule: measure the preview and the export separately. They are different runs, often with different resolutions and settings.
Where does this site's photo pipeline run?
| Stage | Where it runs | Product fact |
|---|---|---|
| Detection | Browser | MediaPipe FaceLandmarker, configured for one face, with a GPU delegate and a CPU fallback |
| Alignment | Browser | 128 px crop for inswapper_128, 256 px for the hyperswap variants |
| Generation | Server | Four models: Baseline, Robust, Balanced and Accurate |
| Blending | Browser | Edge blur 0 to 1, default 0.4; Fusion area 0 to 50, default 50 |
| Upload | Browser to server | The public tool sends the face crop; a Full image mode uploads the complete photo |
These details are product specifications, not measured results. The detector downloads its model from Google's MediaPipe storage on first use. Because it runs in still-image mode, it does not track a face across frames. That is the structural reason the browser tool is for photos and video work belongs in the Windows app.
Rule: local detection does not make a still-image pipeline real-time. Check whether the detector runs in image mode or video mode before you expect tracking.
What breaks a real-time preview?
| Symptom | Likely cause | What to do |
|---|---|---|
| Stutter or dropped frames | One stage misses the frame deadline | Lower preview resolution or frame rate |
| The face slides during a turn | Tracking or alignment loses the face | Shorten the shot or change the source photo |
| A seam at the jaw or hairline | Blend settings or a source mismatch | Adjust the blend, then compare at full size |
| The preview looks fine, the export does not | Preview and export use different runs or settings | Review the exported segment at full size |
Rule: do not judge an export from an interactive preview. Export one short segment and watch that file.
How do you judge a preview on your own PC?
- Pick a short clip with a forward-facing shot, a turn, and a hand or hair crossing the face.
- Prepare one source photo with lighting close to the scene.
- Note your resolution, graphics hardware and settings before changing anything, so a result can be attributed to one variable.
- Watch the jawline, hairline and eyes for sliding, seams or flicker at the difficult moments.
- Export one segment and review it at full size.
Rule: change one variable at a time. A preview that holds up with one setting says nothing about a different export setting.
ClapClip for Windows is where that review runs for video: local preview, processing on the PC, free download, and export requires a purchase inside the app. The desktop app page lists the supported setup, and the PC software comparison covers alternatives.
Which tool should you use?
| Browser photo tool | ClapClip for Windows |
|---|---|
| Still images only | Photo and video editing |
| Detection and blending in the browser, generation on a server | Processing stays on the PC |
| Free, no account, no daily swap count | Free download; export needs an in-app purchase |
| Works on phones and modern desktop browsers | Windows 10 or 11 |
Use the browser when the output is a photo. Use the real-time preview workflow to judge a clip before rendering, and the live camera workflow when the input is a camera rather than a file. The local workflow covers keeping footage on your PC, and the long video guide covers longer recordings. For a wider software shortlist, read the offline face swap guide.
Rule: photo goes to the browser, moving footage goes to the Windows app.
What do readers ask most?
Can real-time face swap run on a normal PC?
Sometimes, and only a test on your machine answers it. Frame rate depends on the model, resolution, number of faces and preview settings. A compatible GPU improves the odds without guaranteeing a figure.
Why is 4K footage harder than 1080p?
A 4K frame carries more pixels than 1080p, so decoding, compositing and encoding do more work. Model inference may run on a fixed-size crop and barely change, so the bottleneck depends on where your pipeline spends its effort.
Is local processing more private than a cloud tool?
Local inference removes the upload, which is one exposure path, not all of them. File permissions, backups and screen sharing still apply, so read the app's privacy documentation instead of assuming a desktop window keeps everything local.
Which stage is the bottleneck?
It varies by machine: inference, decoding, compositing or encoding can each dominate. Measure the whole chain rather than assuming the neural network is the slow part.
Rule: test the mode, resolution and settings you will actually use, not a different preview configuration.
What do these sources cover?
The MediaPipe Face Landmarker guide documents landmarks and transformations for images and video. FFmpeg's documentation covers media decoding, filtering and encoding. Neither source is evidence that this site schedules work a particular way or reaches a particular speed. The product details here describe the browser photo pipeline, not the desktop video engine, whose performance depends on your hardware and settings.
Rule: use these sources for component definitions, not for performance expectations.
Bottom line
Real-time face swap is a throughput problem: the pipeline must clear every frame, not just look fast on average. Keep preview settings cheap, judge the export separately, and test on your own machine if frame rate matters. For a still photo, use the browser tool; for video, use the Windows app.
Free download. Export requires a purchase inside the app.
Create with permission. Use media and faces you have rights to, and clearly disclose edited content.
Related guides
How to Swap Faces in a Video with AI: Step-by-Step
Swap a face in a video on Windows: choose a clip, lock one source photo, inspect hard frames, export a short segment, then render the full file.
Offline Face Swap Apps for PC: How to Choose
Choose offline face swap software for PC by checking local processing, file limits, setup, preview and export terms before you install.