360 Secure SkillHub
360 安全技能中心

Pptx Ocr

核心功能:基于上海AI Lab的MinerU工具,支持本地或URL的.pptx文件OCR,提取图片、扫描版幻灯片文字,VLM模式适配复杂视觉内容,可指定语言、页码范围,输出可搜索编辑文本。典型场景:PPT含截图、扫描页或纯图片幻灯片需提取文字时使用。输入为.pptx文件/URL,输出可存指定目录或stdout,需配置MinerU令牌,支持npm或Go(macOS/Linux)安装。

mzlzyca
mzlzyca
热度 47.43
最近更新 2026-05-11 17:39:19
分类:效率依赖:第三方 API / 读写文件应用场景:文件转换

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pptx-ocr
Metadata
name
pptx-ocr
description
OCR for PowerPoint (.pptx) presentations with scanned or image-embedded slide content. Uses MinerU to extract text from image-based slides. Features: OCR extraction for image-based PPTX slides. VLM mode for complex visual content. Handles presentations with screenshots, scanned pages, or image-only slides. Converts image content to searchable text. Use when you need to: OCR a PowerPoint presentation, extract text from image-based slides, read scanned content in .pptx. Use when asked: 'how do I OCR PowerPoint slides', 'extract text from image slides', 'my presentation has images instead of text', 'can my agent OCR pptx files', 'is there a skill for PowerPoint OCR'. Built on MinerU by OpenDataLab (Shanghai AI Lab) with advanced OCR capabilities. Perfect for converting image-heavy presentations into searchable, editable text content.
homepage
https://mineru.net
metadata
{"openclaw":{"emoji":"📄","requires":{"bins":["mineru-open-api"],"env":["MINERU_TOKEN"]},"primaryEnv":"MINERU_TOKEN","install":[{"id":"npm","kind":"node","package":"mineru-open-api","bins":["mineru-open-api"],"label":"Install via npm"},{"id":"go","kind":"go","package":"github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api","bins":["mineru-open-api"],"label":"Install via go install","os":["darwin","linux"]}]}}

Pptx Ocr

Convert and extract content from .pptx using MinerU (mineru-open-api).

Install

npm install -g mineru-open-api
# or via Go (macOS/Linux):
go install github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api@latest

Quick Start

# OCR extraction (requires token)
mineru-open-api extract slides.pptx --ocr -o ./out/

# From URL
mineru-open-api extract https://example.com/slides.pptx --ocr -o ./out/

Authentication

Token required for extract and crawl:

mineru-open-api auth            # Interactive token setup
export MINERU_TOKEN="your-token" # Or via environment variable

Create token at: https://mineru.net/apiManage/token

Capabilities

  • Supports local files and URLs
  • Requires token (mineru-open-api auth or MINERU_TOKEN env)
  • Supported input: .pptx
  • Language hint with --language (default: ch, use en for English)
  • Page range with --pages (where applicable)

Notes

  • OCR requires extract with token. Add --ocr flag for image-heavy slides.
  • Output goes to stdout by default; use -o <dir> to save to file
  • Binary formats (docx) require -o flag (cannot stream to stdout)
  • All progress/status messages go to stderr
  • MinerU is an open-source project by OpenDataLab (Shanghai AI Lab): https://github.com/opendatalab/MinerU