/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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install fusae-watermark-remover - 安装完成后,直接呼叫该 Skill 的名称或使用
/fusae-watermark-remover触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Watermark Remover 是什么?
Automatically detects and removes watermarks from images using AI-powered inpainting. Use when user asks to "remove watermark", "clean image", or "去水印". 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 90 次。
如何安装 Watermark Remover?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install fusae-watermark-remover」即可一键安装,无需额外配置。
Watermark Remover 是免费的吗?
是的,Watermark Remover 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Watermark Remover 支持哪些平台?
Watermark Remover 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Watermark Remover?
由 fusae(@fusae)开发并维护,当前版本 v0.1.0。