Choosing a video source
Using a camera
- Pick your device in the “Camera” list on the left control panel. Devices are scanned at startup and listed as “Camera #number”.
- If the list shows “No camera found”, check that the camera is connected and click “Refresh” to scan again.
- “Scanning cameras (MSMF)...” means the scan is still running — wait a moment.
Using a local video file
- Click “Mask a local video...”.
- Choose a video file. MP4, AVI, MKV and MOV are supported.
- The app then plays the video immediately and masks it in real time; the button label stays the same (the file name is never shown) and the log reports where the output file will be saved.
Setting the capture resolution
Pick a capture resolution from the “Resolution” list: 640x480, 1280x720 (recommended), 1920x1080, 2560x1440 or 3840x2160. Higher resolutions look sharper but use more bandwidth and processing power. 1280x720 or 1920x1080 is recommended for live streaming.
While the camera is stopped, changing the resolution takes effect the next time you start it; the log prints “Target resolution: 1280x720”.
Starting and stopping the live preview
- Make sure a valid camera is selected (“▶ Start Camera” only ever opens the camera, never a video file; while a local video previews, that button becomes “■ Stop Video” and stops the preview).
- Click “▶ Start Camera”. The button turns into “■ Stop Camera” and the log prints the camera connection details, backend type, actual resolution and frame rate, then “Real-time masking pipeline started!”.
- The preview area shows the masked picture and the HUD starts updating frame rate, inference time and face count.
- To finish, click “■ Stop Camera”. If the virtual camera is pushing, it stops as well.
Starting without a valid camera selected shows “Select a valid camera first!”.
Choosing a masking effect
Click the radio button of the effect you want. The change applies immediately and is written to the log.
| Effect | What it does | Typical use |
|---|
| Mosaic | Splits the face region into pixel blocks filled with the block average, producing a grainy look | General privacy masking — unmistakably “masked” at a glance |
| Gaussian Blur | Applies a Gaussian blur to the face region, hiding detail but keeping contours and skin tone | When the picture should stay natural and unobtrusive |
| Solid Mask | Covers the face region with a flat colour (dark grey by default) | When nothing of the face may remain visible |
| Sticker | Covers the face with an image; fun stickers ship with the app, custom images can be imported | Entertainment streams, short-form video and similar content |
Adjusting mask strength and shape
Mask strength slider
The slider label and range follow the selected effect:
- With “Mosaic”, the slider is “Mosaic size”, 4 to 50 px, default 18 px. Larger values mean coarser blocks and stronger masking.
- With “Gaussian Blur”, the slider is “Blur kernel”, 5 to 99 px, default 45 px. Larger values mean a softer image.
- With “Solid Mask” or “Sticker” the strength slider has no effect.
While you drag, the label above the slider shows the current value, e.g. “Mosaic size: 18 px”.
Mask shape
Choose in the “Mask Shape” list:
- Ellipse (Smooth): an elliptical mask with a feathered edge that blends into the surrounding picture. This is the default.
- Rectangle: a rectangular mask with hard edges, useful when the masked area should be obvious.
Setting the padding
Drag “Padding” to set how far the mask extends beyond the detection box. The range is 0% to 50%, default 15%.
- Too small: the hairline, chin or side of the face may stay uncovered.
- Too large: the mask spills past the face and the picture looks worse.
- For profiles or people who often look down, raise it to 20%–30%.
Using a custom sticker
- Select the “Sticker” radio button first.
- Click “Select sticker (PNG)...”.
- Choose an image. PNG, JPG, JPEG and WEBP are supported; a PNG with an alpha channel blends best.
- The button then reads “Sticker: filename” and the log prints “Sticker set: ...”.
- On first run the app generates a default fun sticker at assets/default_sticker.png — use it as is or replace it.
A square image works best: the sticker is scaled to fill the detected face box.
Tuning detection parameters
Confidence threshold
Drag “Confidence” to set the face detection threshold. The range is 0.10 to 0.95, default 0.45.
- Lower: detects more profiles, partly covered faces and poorly lit faces, at the risk of false positives.
- Higher: only very confident detections are masked, so faces are more likely to be missed.
For privacy, keep the default (or slightly lower) in a room with stable lighting. If clearly wrong regions get masked — a photo or a pattern treated as a face — raise it a little.
Display options
- “Show boxes” draws a rectangle around every detected face so you can check the detection coverage.
- “Show confidence” prints the confidence value next to each box.
Both options affect the preview only, never the output. Turn them on while tuning, then off again.
Switching the inference device and model
Inference device
Choose CUDA:0 or CPU in the “Device” list. Entries show the graphics card model. Switching reloads the model and the log prints “Device: ...”. An unavailable device is listed as “Unavailable”.
Model
Choose the detection model in the “Model” list. It can be switched while running; the log then prints “Model: ...”.
| Model | Traits | Typical use |
|---|
| YOLO11n (Recommended) | Balanced speed and accuracy; used by default | Regular live streaming |
| YOLO11s-face (Latest) | Higher accuracy, heavier compute | When missed faces matter most and the GPU has headroom |
| YOLOv8-face (Light) | Light compute, fastest | Modest GPUs, or when a higher frame rate is needed |
If the selected weights are missing, the app downloads them and loads them automatically. If the download fails, place the model file in the weights directory and select it again.
Comparing the result with the original
Click “Compare” to flip instantly between “[Masked]” and “[Original]”. The button label always shows the current mode, e.g. “Compare: [Masked]”.
This only changes what the preview shows — the virtual camera output is untouched. Before going live, switch to “Original” to check positioning, then back to “Masked” to confirm the face is fully covered.
Masking and exporting a local video
- Click “Mask a local video...” and choose a file.
- The app starts playing the video in real time and masks every frame; the preview shows the result and the play timeline plus the export button appear below the picture.
- Nothing is exported automatically: press “Export masked video” once the preview looks right to write the output file. While it runs that button becomes “Cancel export”, which aborts the export at any time and deletes the partial file.
- Click the preview to pause or resume. When the video ends the picture returns to its first frame and pauses; clicking the preview again re-masks it from the start in real time.
- While a local video previews, “▶ Start Camera” becomes “■ Stop Video”: click it to end the preview, after which the button reads “▶ Start Camera” again and one more click switches to the camera feed. A local-video preview only ever starts from “Mask a local video...”.
Output rules
- The result is written next to the source file as “original-name_mask.ext”.
- The output frame rate matches the source, and processing follows the source frame rate.
- If the source has an audio track and FFmpeg is available, the audio is muxed into the output and the log notes the original audio was kept. Otherwise the log says so and the output has no audio.
- The output is H.264 encoded and compressed; the file is usually the same size as the source or smaller.
- Without a valid licence a local video is preview only and no output file is written — the log prints “Unregistered: local videos are preview only, no export.”, and pressing “Export masked video” opens the licence import dialog instead. Unregistered builds also limit every masking session (camera or local video) to 60 seconds, after which it stops by itself.
Playback controls
Below the preview you get the play timeline and a time readout (current / total); drag the slider to jump to any position. Clicking the picture pauses or resumes playback.
Pushing to the OBS virtual camera
- Make sure OBS Studio is installed and its virtual camera component is available.
- Click “▶ Start Camera” and check that the masking looks right.
- Click “● Push to OBS”.
- On success the button becomes a green “■ Stop OBS Push”, the log prints “OBS virtual camera started: ...”, the badge in the top-right corner of the preview reads “● OBS Pushing” and the status bar shows “OBS: ● Pushing”.
- To stop, click “■ Stop OBS Push”; the log prints “OBS virtual camera stopped.”.
Things to know
- The camera must be running first, otherwise the app warns “Start the camera first”.
- If the virtual camera does not support the current resolution, the app adapts it and logs “Virtual cam resolution adjusted: old -> new”.
- Without a valid licence every masking session (camera, local video or OBS push) runs for at most 60 seconds and then stops by itself; the status bar reads “Trial over, masking stopped, import a license”.
- Stopping the camera stops the push too and releases the device.
Using the masked picture in other apps
Once pushing is on, pick “OBS Virtual Camera” as the camera device in the video settings of any other application. Where to find it:
| Application | Where to set it |
|---|
| Streaming Companion (直播伴侣) | Choose OBS Virtual Camera when adding a video capture device |
| Tencent Meeting | Settings → Video → Camera, choose OBS Virtual Camera |
| Zoom | Settings → Video → Camera, choose OBS Virtual Camera |
| Microsoft Teams | Settings → Devices → Camera, choose OBS Virtual Camera |
| Discord | Voice & Video → Camera, choose OBS Virtual Camera |
Reading and exporting logs
- Pick a level in the “Level” list of the log panel.
- Type a keyword in the search box to filter the log; clear it to show everything again.
- “Auto Scroll” toggles whether the panel follows the newest line — turn it off when reading history.
- Click “Export Log”, pick a location and file name, and the current log is written to a .log file; the result is reported in the log itself.
- Click “Clear” to empty the panel.
When something goes wrong, export the log before contacting support — it makes diagnosis much faster.
Switching the interface language
Choose a language in the “Language” list on the right of the status bar. It applies immediately, with no restart. The app ships with Simplified Chinese, Traditional Chinese, English, Japanese, Korean, Vietnamese, Spanish and French.
Stuck? The FAQ covers installation, licensing and performance problems.
FAQ