iflytek-pdf-image-ocr SKILL.md skillA

iflytek-pdf-image-ocr from iflytek/ifly-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add iflytek/ifly-skills/iflytek-pdf-image-ocr@git:20260617.388181a

Pins git:20260617.388181a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
iflytek/ifly-skills
Path
skills/iflytek-pdf-image-ocr/SKILL.md
Versions recorded
1
Latest version
git:20260617.388181a, committed Jun 17, 2026
Size
10,460 bytes
Repository stars
214
License
Apache-2.0

ifly-pdf-image-ocr skill supporting both image OCR (AI-powered LLM OCR) and PDF document recognition. Use when user asks to OCR images, extract text from images/PDFs, convert PDF to Word/Markdown, or perform any OCR tasks on images or PDFs. Supports multi-language text extraction, document layout understanding, and various output formats.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# ifly-pdf-image-ocr

AI-powered OCR service for images and PDF documents using iFlytek's advanced recognition APIs.

## Quick Start

### Image OCR (LLM OCR)

```bash
# OCR an image and extract text
python3 scripts/image_ocr.py /path/to/image.jpg

# Save result to file
python3 scripts/image_ocr.py /path/to/image.jpg -o output.txt

# Specify output format
python3 scripts/image_ocr.py /path/to/image.jpg --format json
python3 scripts/image_ocr.py /path/to/image.jpg --format markdown
```

### PDF OCR

```bash
# Convert PDF to Word (default)
python3 scripts/pdf_ocr.py document.pdf

# Convert PDF to Markdown
python3 scripts/pdf_ocr.py document.pdf --format markdown

# Convert PDF to JSON
python3 scripts/pdf_ocr.py document.pdf --format json

# From public URL
python3 scripts/pdf_ocr.py --pdf-url "https://example.com/doc.pdf" --format word
```

## Setup

### API Credentials

Get credentials from [iFlytek Open Platform](https://console.xfyun.cn/):

**For Image OCR:**
- **APP_ID**: Application ID
- **API_KEY**: API key for authentication
- **API_SECRET**: API secret for signing requests

**For PDF OCR:**
- **APP_ID**: Application ID
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add iflytek/ifly-skills/iflytek-pdf-image-ocr@sha256:005463900075e09b

The line at the top of this page pins the label git:20260617.388181a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xvnvegsn74anvzca.svg)](https://markdownregistry.com/a/art_xvnvegsn74anvzca)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jun 17, 2026.

versioncommittedcommitsizeaudit
git:20260617.388181a latest2026-06-17 388181a 10,460 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10460 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

iflytek/ifly-skills · 214 stars · license Apache-2.0 · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xvnvegsn74anvzca
GET https://markdownregistry.com/api/v1/resolve?ref=iflytek/ifly-skills/iflytek-pdf-image-ocr
GET https://markdownregistry.com/api/v1/blob/005463900075e09b3cdee1c8d71f6669a65637fd23e4d578adeca707cf656d1b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from iflytek/ifly-skills

animated-sketch-diagram SKILL.md skill
iflytek/ifly-skills · skills/animated-sketch-diagram/SKILL.md · 生成"黑墨手绘涂鸦"风格的动画架构图/流程图:米色纸面、针管笔墨线、极淡水洗色块、简笔涂鸦图标、序号章、连线上的流动圆点动画、图标微动效。产出单文件自包含动画 HTML(SVG+CSS),可一键导出无缝循环…
git:20260720.c57c7f4 · audit A · 214 stars
iflytek-contract-intelligence-review SKILL.md skill
iflytek/ifly-skills · skills/iflytek-contract-intelligence-review/SKILL.md · Use when user asks to review contracts, detect contract risks, or perform compliance checks. 合同智能审核 -…
git:20260617.388181a · audit A · 214 stars
iflytek-hyper-tts SKILL.md skill
iflytek/ifly-skills · skills/iflytek-hyper-tts/SKILL.md · Use when user asks to synthesize speech, convert text to audio, or read text aloud. 讯飞超拟人语音合成 -…
git:20260922.0515799 · audit A · 214 stars
iflytek-image-understanding SKILL.md skill
iflytek/ifly-skills · skills/iflytek-image-understanding/SKILL.md · Use when user asks to analyze an image, describe image contents, or answer questions about a picture. iFlytek Image…
git:20260617.388181a · audit A · 214 stars
iflytek-ocr-invoice SKILL.md skill
iflytek/ifly-skills · skills/iflytek-ocr-invoice/SKILL.md · Use when user asks to recognize invoices, extract receipt data, or OCR bills and tickets. Recognize and extract…
git:20260922.0515799 · audit A · 214 stars
iflytek-speed-transcription SKILL.md skill
iflytek/ifly-skills · skills/iflytek-speed-transcription/SKILL.md · Ultra-fast speech transcription using iFLYTEK Speed Transcription API. Transcribe audio files (WAV/PCM/MP3) up to 5…
git:20260922.0515799 · audit A · 214 stars
iflytek-text-proofread SKILL.md skill
iflytek/ifly-skills · skills/iflytek-text-proofread/SKILL.md · iFlytek Official Document Proofreading (公文校对) — detect and correct errors in Chinese text including typos, punctuation…
git:20260617.388181a · audit A · 214 stars
iflytek-translate SKILL.md skill
iflytek/ifly-skills · skills/iflytek-translate/SKILL.md · iFlytek Machine Translation (机器翻译) — translate text between Chinese, English, Japanese, Korean, French, Spanish…
git:20260922.0515799 · audit A · 214 stars
iflytek-video-translate SKILL.md skill
iflytek/ifly-skills · skills/iflytek-video-translate/SKILL.md · Use when user asks to translate videos, dub video content, or localize videos into other languages. Translate videos…
git:20260922.0515799 · audit A · 214 stars
iflytek-voiceclone-tts SKILL.md skill
iflytek/ifly-skills · skills/iflytek-voiceclone-tts/SKILL.md · Use when user asks to clone a voice, train a custom voice model, or synthesize speech with a cloned voice. iFlytek…
git:20260617.388181a · audit A · 214 stars

Every file in iflytek/ifly-skills

Browse by kind, by grade A, or by owner.