🦀 ClawHub
Watermark Remover
by @fusae
Automatically detects and removes watermarks from images using AI-powered inpainting. Use when user asks to "remove watermark", "clean image", or "去水印".
💡 Examples
# Single image
python ${SKILL_DIR}/scripts/main.py image.jpgDirectory 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/ --previewAdjust detection sensitivity
python ${SKILL_DIR}/scripts/main.py image.jpg --corner-ratio 0.2 --threshold 20Use OpenCV inpaint (faster but lower quality)
python ${SKILL_DIR}/scripts/main.py image.jpg --no-lama
⚙️ Configuration
| Option | Description | Default |
|--------|-------------|---------|
| | Image file or directory | Required |
| --output | Output path | /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 |
TERMINAL
clawhub install fusae-watermark-remover