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.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
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 | Notes | |
|---|---|---|
| Baidu | yes | pdf_file parameter |
| Azure | yes | Document Intelligence native support |
| PaddleOCR | yes | pdf + fileType=0 |
| 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
Komentar
- β¦
Skill lain dari repositori ini
yao-agent
8.3kMembantu agent Anda mencantumkan agen di host Yao, mencari atau mengunduh kode agen, menerapkan perubahan, dan memeriksa daftar konektor model.
yao-audio
8.3kMembantu agent Anda mengubah ucapan dalam berkas audio, seperti rekaman rapat, menjadi teks tertulis, dan mendeteksi bahasanya jika Anda tidak menyebutkannya.
yao-board
8.3kMembantu agent Anda memeriksa papan kanban dan status tugas di platform Yao, sehingga ia melaporkan kemajuan proyek yang nyata, bukan tebakan.
yao-daemon
8.3kMembantu agent Anda memulai, memeriksa, memulai ulang, dan menghentikan layanan latar belakang yang berjalan lama, seperti server pengembangan, serta membaca keluarannya.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.