/install fusae-watermark-remover
Watermark Remover
Automatically detects watermarks in image corners and removes them using LaMa AI model.
Installation
This skill requires the watermark-remover Python package. Install it first:
# Install from PyPI (when published)
pip install watermark-remover
# Or install from source
git clone https://github.com/yourusername/watermark-remover.git
cd watermark-remover
pip install -e .
Dependencies: Python 3.9+, opencv-python, numpy, Pillow, iopaint
Script Directory
Scripts in scripts/ subdirectory. Replace ${SKILL_DIR} with this SKILL.md's directory path.
| Script | Purpose |
|---|---|
scripts/main.py |
Watermark removal CLI wrapper |
Usage
python ${SKILL_DIR}/scripts/main.py \x3Cinput> [options]
Options
| Option | Description | Default |
|---|---|---|
\x3Cinput> |
Image file or directory | Required |
--output |
Output path | \x3Cinput>/no_watermark |
--corner-ratio |
Corner area ratio (0-1) | 0.15 |
--threshold |
Detection sensitivity (lower = more sensitive) | 30 |
--padding |
Mask dilation pixels | 10 |
--preview |
Generate mask preview only | false |
--no-lama |
Use OpenCV instead of LaMa | false |
Examples
# Single image
python ${SKILL_DIR}/scripts/main.py image.jpg
# Directory with custom output
python ${SKILL_DIR}/scripts/main.py ./photos/ --output ./cleaned/
# Preview detection (shows red marks on watermarks)
python ${SKILL_DIR}/scripts/main.py ./photos/ --preview
# Adjust detection sensitivity
python ${SKILL_DIR}/scripts/main.py image.jpg --corner-ratio 0.2 --threshold 20
# Use OpenCV inpaint (faster but lower quality)
python ${SKILL_DIR}/scripts/main.py image.jpg --no-lama
How It Works
- Scans image corners (default 15% area)
- Detects watermarks using edge detection + high-frequency analysis
- Generates precise mask
- Removes watermark using LaMa AI model (auto-downloads on first run)
- Falls back to OpenCV inpaint if LaMa fails
Supported Formats
JPG, JPEG, PNG, BMP, TIFF, WEBP
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install fusae-watermark-remover - After installation, invoke the skill by name or use
/fusae-watermark-remover - Provide required inputs per the skill's parameter spec and get structured output
What is Watermark Remover?
Automatically detects and removes watermarks from images using AI-powered inpainting. Use when user asks to "remove watermark", "clean image", or "去水印". It is an AI Agent Skill for Claude Code / OpenClaw, with 90 downloads so far.
How do I install Watermark Remover?
Run "/install fusae-watermark-remover" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Watermark Remover free?
Yes, Watermark Remover is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Watermark Remover support?
Watermark Remover is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Watermark Remover?
It is built and maintained by fusae (@fusae); the current version is v0.1.0.