·local-ocr
#

local-ocr

用于 AI 代理的本地 OCR 管道,具有自动旋转、倾斜校正以及通过 ocrmypdf 和 Tesseract 生成可搜索 PDF 的功能。

23安装·1热度·@baphomet480

安装

$npx skills add https://github.com/baphomet480/claude-skills --skill local-ocr

如何安装 local-ocr

通过命令行快速安装 local-ocr AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/baphomet480/claude-skills --skill local-ocr
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:baphomet480/claude-skills。

SKILL.md

查看原文

Robust Optical Character Recognition (OCR) pipeline driven by ocrmypdf and tesseract. Handles scanned PDFs, rotated image inputs, and raw text extraction securely and locally without external APIs.

Why not GPU via PyTorch/EasyOCR? The ocrmypdf tool is the industry standard for producing searchable PDFs. It leverages tesseract for pixel-accurate text placement. A pure-CPU pipeline is leaner (avoids a 1.5GB PyTorch payload) and reliably embeds text exactly where it appears in the scanned image.

Produces a standard, layered PDF. If you give it an image, it wraps it in a PDF. If you give it a scanned PDF, it adds the invisible text layer.

用于 AI 代理的本地 OCR 管道,具有自动旋转、倾斜校正以及通过 ocrmypdf 和 Tesseract 生成可搜索 PDF 的功能。 来源:baphomet480/claude-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/baphomet480/claude-skills --skill local-ocr
分类
#文档处理
认证
收录时间
2026-03-09
更新时间
2026-03-10

Browse more skills from baphomet480/claude-skills

快速解答

什么是 local-ocr?

用于 AI 代理的本地 OCR 管道,具有自动旋转、倾斜校正以及通过 ocrmypdf 和 Tesseract 生成可搜索 PDF 的功能。 来源:baphomet480/claude-skills。

如何安装 local-ocr?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/baphomet480/claude-skills --skill local-ocr 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/baphomet480/claude-skills