Design & media

一键去水印去文字 Remove Watermark

Try it

去水印去文字。带水印 / 文字 / logo 的图 → 干净图,背景纹理自然补全。当用户说「去水印」「去文字」「擦掉 logo」「把字去了」时使用。

What it does

去水印去文字。带水印 / 文字 / logo 的图 → 干净图,背景纹理自然补全。当用户说「去水印」「去文字」「擦掉 logo」「把字去了」时使用。

The skill document

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 /scripts/remove_watermark.py analyze  --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 /scripts/remove_watermark.py remove  -o  --region "y0,y1,x0,x1" --threshold 

# Full mode (when watermark is scattered everywhere - needs scipy)
uv run --with Pillow --with numpy --with scipy python3 /scripts/remove_watermark.py remove  -o  --threshold 

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  [--region REGION]

Prints brightness distribution and suggested threshold for a region.

remove

remove_watermark.py remove  [-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.

Related skills

青虎AI 图片去水印:极速版 AI 去水印工具,自动清除满屏与局部的 Logo、文字、图形水印并智能还原背景纹理,可选「去水印」或「去水印和文字」两种模式,适配电商素材与自媒体配图处理。当用户要给图片去水印、去 Logo、去文字、清除满屏水印、抹掉图片上的标记时必须触发。关键词:青虎AI、图片去水印、去Logo、去文字、水印消除、背景还原、电商素材、自媒体配图、极速。

一键去除视频水印,保持视频画质清晰,适用于素材整理及二次创作。当用户要求视频去水印、去logo、清理视频角标时必须触发。关键词:LinkPix、qhkit、视频去水印、去水印、去logo、去角标、水印消除、素材清理、二次创作。

Batch remove Doubao (豆包 AI) watermarks from images using OpenCV inpainting. Use when the user asks to remove watermarks, batch remove watermarks, 去水印, 批量去水印,...

1 stars

使用 550W 处理视频去字幕、静音后去字幕、短视频去水印和图片去水印,并查询任务或积分。用户发送视频、图片、媒体直链或短视频分享链接并要求去字幕、去声音、去水印、查询进度或余额时使用。

15 installs

智能擦除商品图片中的人物、水印、文字及杂物,并自动补全背景,完成商品修图与素材优化。当用户要求去掉图中某个元素、去水印、去文字、去杂物、清理画面时必须触发。关键词:LinkPix、qhkit、消除、AI消除、去水印、去文字、去杂物、擦除、清理图片、路人消除、图片修复、inpainting。