Langsung ke konten
Skillpedia
Analisis & spreadsheet8.3k Β· #12477

yao-ocr

Fungsinya

Skill ini membaca teks dari gambar hasil pindai dan berkas PDF, seperti faktur, kwitansi, dan tabel. Skill ini untuk orang yang perlu mengubah teks cetak atau tulisan tangan menjadi teks yang bisa diedit.

Kapan dipakai

  • βœ“Saat Anda memiliki faktur atau kwitansi hasil pindai dan memerlukan rinciannya dalam bentuk teks.
  • βœ“Saat sebuah PDF berupa hasil pindai dan Anda memerlukan teksnya agar bisa dicari atau diedit.
  • βœ“Saat sebuah tabel dalam gambar perlu diubah ke format yang bisa Anda olah.

Link skill

https://github.com/YaoApp/yao/blob/main/tools/skills/yao-ocr/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/YaoApp/yao/blob/main/tools/skills/yao-ocr/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œAmbil semua jumlah dan item baris dari faktur PDF hasil pindai ini sebagai tabel.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent mengirim gambar atau PDF ke mesin pengenalan teks, yang bisa berupa model visual atau layanan OCR tradisional. Hasilnya berupa teks biasa, tabel markdown, atau data terstruktur.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

OCR Tools

Two tools for optical character recognition, supporting both VLM-OCR (vision language models) and traditional OCR APIs (Baidu, Google, Azure, PaddleOCR).

ocr_recognize

Extract text from images or PDF files using OCR.

Basic usage (plain text output):

tai tool ocr_recognize --source /path/to/image.png

With URL:

tai tool ocr_recognize --source https://example.com/document.jpg

Table extraction as Markdown:

tai tool ocr_recognize --source /path/to/table.png --type table --output_format markdown

Invoice structured extraction:

tai tool ocr_recognize --source /path/to/invoice.pdf --type invoice --output_format json

With specific provider:

tai tool ocr_recognize --source /path/to/doc.png --provider baidu

VLM-OCR with custom prompt:

tai tool ocr_recognize --source /path/to/doc.png --provider llm:qwen-ocr --prompt "εͺζε–θ‘¨ζ ΌδΈ­ηš„ι‡‘ι’εˆ—"

PDF page range:

tai tool ocr_recognize --source /path/to/report.pdf --pages "1-5" --output_format markdown
Parameter Type Required Description
source string yes Image or PDF file path/URL to recognize
provider string no LLM connector ID (llm:xxx) or OCR settings key (baidu/paddleocr/google/azure). Auto-selects if omitted
type string no Recognition type (default: general). See type table below
output_format string no text (default), json (with coordinates/fields), or markdown (structured)
mode string no accurate (default, best quality) or standard (faster)
language string no Language hint (ISO 639-1, e.g. en, zh, ja). Auto-detected if omitted
prompt string no Custom instruction for VLM-OCR only, appended to system prompt. Ignored by traditional OCR
pages string no PDF page range, e.g. 1-5 or 1,3,7. All pages if omitted
extra JSON no Provider-specific parameters as a JSON object

Recognition types

Type Description Best output_format
general General text (default) text
table Table extraction markdown
handwriting Handwritten text text
document Document layout parsing markdown
invoice Invoice (VAT) json
receipt Receipt / ticket json
id_card ID card json
bank_card Bank card json
license Business license json
vehicle_license Vehicle license json
passport Passport json
license_plate License plate json

If the chosen provider does not support the requested type, it automatically degrades to general and annotates the response metadata with degraded_from. VLM-OCR supports all types via prompt adaptation.

ocr_providers

List available OCR providers and their supported recognition types.

tai tool ocr_providers

Returns a list of providers including VLM-OCR models (from LLM connectors with ocr capability) and traditional API providers (from OCR settings). Each entry includes id, name, type (vlm or traditional), and supported_types.

PDF support

Provider PDF Notes
Baidu yes pdf_file parameter
Azure yes Document Intelligence native support
PaddleOCR yes pdf + fileType=0
Google no
Pertanyaan umum

Format keluaran apa saja yang tersedia?

Teks biasa, tabel markdown, dan data terstruktur seperti JSON.

Bisakah saya memilih rentang halaman?

Bisa. Untuk PDF, Anda dapat memilih rentang halaman tertentu.

Apakah ini menangani tulisan tangan?

Skill mencantumkan dokumen tulisan tangan sebagai bagian yang dicakup, meskipun hasilnya bergantung pada mesin yang dipakai.

Detail

Deskripsi asli dari pembuat

OCR text recognition expert. ALWAYS invoke this skill when you need to extract text from images or PDFs β€” including invoices, receipts, ID cards, bank cards, business licenses, tables, handwritten documents, or any visual text content.

repo: YaoApp/yao

Popularitas

Bintang GitHub
8.3k
Peringkat
#12477
Lisensi
β€”
Diperbarui
19/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa