UI Mosaic - Zuntan03/EasyWan22 GitHub Wiki

Videos can be mosaicked using three methods: PointMosaic, MaskMosaic, and AutoMosaic.

You can easily apply mosaics with the following settings:

  • Enable MosaicWork.
  • Load the video you want to mosaic with LoadWebpVideo.
  • [Important] Disable PostProcess until mosaic adjustment is complete.
    • If MosaicWork is enabled, you can adjust mosaics in preview even when PostProcess is disabled.
  • You can make mosaic application even easier by disabling unnecessary Save options.

Once mosaic adjustment is finished, enable PostProcess and Save to save the video with mosaics applied.

  • Enable MosaicNotification to receive notifications when mosaic processing is complete.
  • MosaicResolution is the common mosaic granularity for each mosaic process. Set to 100 for Pixiv compliance.

PointMosaic

Use Point Editor to apply mosaics to green points and prevent mosaics from being applied to red points.

You can add green points with Shift+Left Click and red points with Shift+Right Click.
Adding too many points reduces accuracy, so it's recommended to keep it to around 3-4 points.

You can reset points with New Canvas at the bottom.
With PointMosaicGrow, you can expand the detected range, allowing you to expand the range of easily detectable insertion objects and apply mosaics to hard-to-detect insertion targets.

With Reverse, you can apply mosaics from the end of the video.
Use this when mosaic targets appear in the latter half of the video with SwapStartEnd etc.

There are techniques to point specification, and once you master them, you can efficiently apply mosaics, so please learn through practice.

MaskMosaic

Open *.png files saved by SaveMp4 with MaskMosaicImage, and right-click to select Open in MaskEditor to specify the area you want to mask.
You can specify the frame range for applying masks with MaskMosaicStart/EndFrame.

The mosaic position is fixed within the video, but please use this when PointMosaic cannot detect well or when you want to apply mosaics reliably.

AutoMosaic

Automatically applies mosaics to targets specified in AutoMosaicTargets, with AutoMosaicTakeCount as the upper limit for detection count.
This is the most convenient method when detection works well, but please be careful of flickering.

You can change the detection model with Detector, and specify the detection confidence threshold with Threshold.