Practical overview
When it fits
Use it when you can prepare a watermarked image and either supply a spatially matching watermark image or manually highlight the watermark region for inpainting.
Who it is for
- Developers seeking a Python-based watermark-removal component.
- Image-restoration practitioners who can provide a matching watermark image or manually mark the watermark region.
Documented uses
- Remove a watermark from an image when its matching watermark image is available.
- Guide watermark inpainting by manually highlighting the watermark region when the watermark is not available separately.
- Call the removal function through the documented Python wrapper.
Requirements & limits
The public GitHub repository specifies an MIT license.
- The matching-mask workflow depends on exact alignment of the watermark's scale, position, rotation and other spatial transformations.
- When the separate watermark image is unavailable, the README's alternative involves manually marking the region.
- The README documents MPS support for Mac users and exposes input-depth as a setting related to device memory.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run inference with a matching watermark mask
Use the documented inference script with a watermarked image and its matching watermark image.
Before you start
- A watermarked image.
- A watermark image matching the applied watermark's scale, position, rotation and other spatial transformations.
- A Python environment with the project available.
Steps
Provide the watermarked image and watermark image paths to inference.py using --image-path and --mask-path.
Set any needed inference options, including --input-depth, --lr, --training-steps, --show-step, --reg-noise and --max-dim.
Run the inference script as documented with python inference.py.
Expected outcome
The project generates an image-restoration result through its watermark-removal inference workflow.
Guide limitations
- The documented matching-mask workflow requires the watermark's spatial transformations to match the target image.
- The README describes input-depth selection in relation to available GPU or device memory.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 4 November 2026
- Original website title
- braindotai/Watermark-Removal-Pytorch · Official homepage title · retained in its source language

