← 返回
效率工具

Screenshot Ocr

截图 OCR 识别工具。截图→自动识别文字→复制/保存,适合提取图片内容、表格数据、验证码。
截图 OCR 识别工具。截图→自动识别文字→复制/保存,适合提取图片内容、表格数据、验证码。
sxliuyu
效率工具 clawhub v1.0.0 1 版本 99266.6 Key: 无需
★ 2
Stars
📥 4,156
下载
💾 619
安装
1
版本
#latest

概述

Screenshot OCR 📷

截图自动识别文字,支持中文、英文、数字。

功能

  • 📷 截图识别(截屏或粘贴图片)
  • 🔤 高精度 OCR 识别
  • 📋 一键复制到剪贴板
  • 💾 保存为 TXT 文件
  • 📊 支持表格识别

使用方法

识别剪贴板图片

python3 scripts/ocr.py clipboard

识别图片文件

python3 scripts/ocr.py file screenshot.png

识别并保存

python3 scripts/ocr.py file screenshot.png --save result.txt

识别并复制

python3 scripts/ocr.py file screenshot.png --copy

依赖安装

# 安装 Tesseract(Linux)
sudo apt install tesseract-ocr tesseract-ocr-chi-sim

# macOS
brew install tesseract

# Windows
# 下载安装 https://github.com/UB-Mannheim/tesseract/wiki

示例

# 识别截图
python3 scripts/ocr.py clipboard

# 识别图片并复制
python3 scripts/ocr.py file ~/Desktop/1.png --copy

环境要求

  • Python 3
  • tesseract-ocr
  • pytesseract
  • pillow
pip install pytesseract pillow

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 00:53 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 274 📥 114,718
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,101
developer-tools

Docker Manager

sxliuyu
Docker 容器管理。查看、启动、停止、删除容器,监控资源使用,查看日志。适合运维和开发。
★ 1 📥 2,126