Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计通过

remove-watermark删除水印

Agent Skill

remove-watermark 用于整理文档、README、Markdown 和说明材料,适合在 OpenClaw 中需要把零散信息整理成结构清晰的文档时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

13,962

周安装

576

GitHub Stars

公开资料未说明

下载量

4,562
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:remove-watermark(删除水印)
来源仓库:https://github.com/wxttt/remove-watermark
安装命令:
openclaw skills install remove-watermark
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install remove-watermark

简介

remove-watermark 用于从白色背景文档图像中去除浅色文本水印,适合扫描件清理场景。

  • 纯本地图像处理无需 API 密钥,适用于试卷、合同等文档去水印需求。
  • 使用 openclaw skills install 命令安装,支持常见图片格式输入输出。
  • 使用前应确保图像背景干净且水印对比度足够便于识别。
  • 不适用于复杂背景或深色水印图像处理任务。

SKILL.md

name
remove-watermark
description
Remove light-colored text watermarks from white-background document images (exam papers, scanned documents). No API key needed - pure local image processing. Use when the user wants to remove watermarks, clean up document screenshots, or remove light text overlays from images.

Remove Watermark

Remove watermarks from white-background document images. Pure local processing, no API key needed.

When to Use

Trigger this skill when the user wants to:

  • Remove watermarks from document images or screenshots
  • Clean up exam paper screenshots for printing
  • Remove light text overlays (e.g., "公众号·xxx", website names)

Workflow: 4-Step Process

The script path is scripts/remove_watermark.py relative to this SKILL.md. Use uv run --with Pillow --with numpy (add --with scipy only when using --region full).

Step 1: Visual Analysis (Claude reads the image)

Use the Read tool to look at a sample image. Identify:

  • Is there a watermark? If no, skip processing.
  • Where is it? (bottom-right corner, center, scattered across the image)
  • What type? (light gray text, dark logo/stamp, colored)
  • Does it overlap with content text?

Estimate the watermark region as approximate percentages: y0%, y1%, x0%, x1%.

Step 2: Brightness Analysis (script analyzes the region)

Run the analyze subcommand on the watermark region to determine the right threshold:

uv run --with Pillow --with numpy python3 <skill-path>/scripts/remove_watermark.py analyze <image> --region "y0,y1,x0,x1"

Example: analyze sample.jpg --region "94,100,60,100"

This prints brightness distribution and a suggested threshold.

Step 3: Remove Watermark

Use the suggested threshold and region from Steps 1-2:

# Region mode (preferred - zero damage to text outside the region)
uv run --with Pillow --with numpy python3 <skill-path>/scripts/remove_watermark.py remove <input> -o <output> --region "y0,y1,x0,x1" --threshold <N>

# Full mode (when watermark is scattered everywhere - needs scipy)
uv run --with Pillow --with numpy --with scipy python3 <skill-path>/scripts/remove_watermark.py remove <input> -o <output> --threshold <N>

Region presets: bottom-right, bottom-left, top-right, top-left, bottom, top, right, left, center, full

Custom region: --region "y0,y1,x0,x1" as percentages (e.g., "94,100,60,100" = bottom 6%, right 40%)

Step 4: Verify and Auto-Retry

Use the Read tool to check the output image. You MUST verify and retry if needed — do not stop after one attempt.

Check these two things:

  1. Is the watermark gone?
  2. Is the text content intact (not lightened or damaged)?

If watermark is still visible, retry with adjusted parameters:

ProblemFix
Watermark still visibleLower the threshold (e.g., 180 → 130 → 80)
Only partially removedExpand the region (e.g., widen by 5-10% in each direction)
Text got damaged/lightenedRaise the threshold or shrink the region to avoid text areas
Wrong area processedRe-examine the image and correct the region coordinates

Retry rules:

  • Retry up to 3 times with different parameters before giving up
  • Each retry: adjust ONE parameter at a time (threshold OR region, not both)
  • If the suggested threshold from analyze didn't work, try halving it
  • If threshold=50 still doesn't remove the watermark, try threshold=1 with a tighter region (the region likely has no real content, so blanking it entirely is safe)
  • After 3 failed attempts, report to the user what was tried and ask for guidance

Command Reference

analyze

remove_watermark.py analyze <image> [--region REGION]

Prints brightness distribution and suggested threshold for a region.

remove

remove_watermark.py remove <input...> [-o OUTPUT] [--region REGION] [--threshold N] [--enhance]
FlagDefaultDescription
--regionfullRegion to process (preset name or y0,y1,x0,x1)
--threshold180Brightness cutoff for watermark pixels
--enhanceoffBoost text contrast after removal
--previewoffPrint stats without saving

Tips

  • Region mode is always preferred over full mode when watermark is localized. It leaves all text perfectly intact.
  • For dark watermarks (logo, stamps), use a low threshold (80-120) with a tight region.
  • For light gray text watermarks, use a higher threshold (160-200).
  • Same batch: if all images in a folder have the same watermark position, analyze one image and apply the same settings to all.
  • Combine with image-to-pdf skill: remove watermarks first, then combine into PDF.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

76.86%
按下载量换算3,506

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills