Token导航 LogoToken导航TokenDH.com
效率操作浏览器clawhub未标认证来源可访问clear审计通过

scannerscanner 文档

Agent Skill

scanner 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

11,514

周安装

475

GitHub Stars

公开资料未说明

下载量

3,762
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install scanner

简介

将文档照片转换为干净扫描页面,支持边缘检测和透视校正。

  • 适合纸质文档数字化和图像处理场景。
  • 自动裁剪和调整图像,提升可读性。
  • 需确认图像输入质量和处理权限。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • scanner 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
Scanner
slug
scanner
version
1.0.0
homepage
https://clawic.com/skills/scanner
description
Transform document photos into clean scanned-looking pages with automatic edge detection, cropping, and perspective correction. Use when (1) the user wants a photo to look scanned; (2) receipts, forms, pages, or papers need clean borders and straightening; (3) the result should be easier to read, share, archive, or pass to OCR.
changelog
Added a focused browser-first document scanning workflow with jscanify defaults, edge detection guidance, and low-friction local preview commands.
metadata
{"clawdbot":{"emoji":"📄","requires":{"bins":[]},"os":["linux","darwin","win32"]}}

When to Use

Use when the user wants to scan a document from a photo, crop the page automatically, fix perspective, or make an image look like it came from a flatbed scanner.

Load this skill when the request sounds like:

  • "scan this document"
  • "crop the page edges"
  • "make this photo look scanned"
  • "deskew this paper"
  • "clean up this receipt or sheet"

Default Engine

Default to jscanify.

Why this is the default:

  • Open source and MIT licensed
  • Mature enough to trust for general use
  • Works in browser, CDN, npm, and Node-oriented workflows
  • Uses OpenCV.js without forcing a native OpenCV install
  • Lower friction than mobile-native or commercial SDKs

Do not default to commercial SDKs unless the user explicitly asks for a production mobile SDK or already uses one in their app.

Quick Workflow

  1. Start with jscanify, not custom image math.
  2. Detect the page boundary first.
  3. Extract with perspective correction.
  4. Review the output visually.
  5. If edges are wrong, stop and retry with a cleaner input or a manual-corner flow instead of stacking random filters.

Basic Commands

1. Project install

npm install jscanify

2. Zero-global-install local preview

Use CDN scripts in a tiny HTML page and serve it locally:

npx serve .

Load:

<script src="https://docs.opencv.org/4.7.0/opencv.js" async></script>
<script src="https://cdn.jsdelivr.net/gh/ColonelParrot/jscanify@master/src/jscanify.min.js"></script>

3. Core extraction

const scanner = new jscanify();
const resultCanvas = scanner.extractPaper(image, 1600, 2200);

4. Edge preview before crop

const scanner = new jscanify();
const highlightedCanvas = scanner.highlightPaper(image);

Core Rules

1. Browser-first wins

  • Prefer the browser or browser-like path first because jscanify is strongest there.
  • Prefer CDN or local project dependency over native OpenCV builds.
  • If the user only needs one scan, choose the lowest-friction path.

2. Detect before you "enhance"

  • First run boundary detection on the original image.
  • Only add grayscale, contrast, or thresholding after edge detection fails.
  • Do not overprocess before trying the default extraction path.

3. Expect flat, visible borders

  • Best results come from one document on a contrasting background.
  • Top-down or near-top-down photos are safer than steep angles.
  • Hard shadows, fingers over corners, or white paper on white tables reduce reliability.

4. Preserve the original

  • Never overwrite the only copy of the input image.
  • Save the corrected export separately.
  • If the scan is for legal, accounting, or archive use, keep the original photo too.

5. Manual correction beats fake certainty

  • If auto-detection is clearly wrong, do not pretend it succeeded.
  • Ask for a better photo or switch to a manual-corner workflow.
  • Wrong corners produce worse output than no crop.

Common Traps

  • Busy backgrounds can confuse edge detection.
  • Low contrast document-on-table shots fail more often than users expect.
  • Glare can hide one full edge and make the crop collapse.
  • Very curved paper is not a normal document-scan case.
  • Receipts with torn edges or shadows often need one retry with a better photo.
  • OCR and document scanning are different jobs; scan first, OCR second.

Scope

This skill ONLY:

  • Chooses and applies a document-scanning workflow
  • Prioritizes jscanify by default
  • Produces cropped, perspective-corrected scan-style images

This skill NEVER:

  • Claims OCR accuracy improvements by itself
  • Recommends paid SDKs by default
  • Reimplements document detection from scratch unless the user explicitly wants that

External Endpoints

EndpointPurpose
https://docs.opencv.org/Load OpenCV.js in browser-first workflows
https://cdn.jsdelivr.net/Load jscanify without global install

Related Skills

Install with clawhub install <slug> if user confirms:

  • documents - General document handling after the scan is cleaned.
  • image - Extra image cleanup when the user needs post-processing beyond edge detection.
  • files - File organization, renaming, and export handling after scans are generated.

Feedback

  • If useful: clawhub star scanner
  • Stay updated: clawhub sync

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

97.66%
按下载量换算3,674

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills