Langsung ke konten
Skillpedia
PDF, Word & slide12k · #11572

ocr-and-documents

Fungsinya

Skill ini mengekstrak teks dari hasil pindai dan dokumen berbasis gambar yang tidak bisa dibaca dengan cara biasa. Skill ini untuk orang yang dokumen kertas atau PDF hasil pindainya perlu teksnya dipulihkan.

Kapan dipakai

  • ✓Saat Anda punya PDF hasil pindai dan membutuhkan teksnya sebagai dokumen yang bisa dicari.
  • ✓Saat Anda punya foto dokumen dan ingin kata-katanya disalin.
  • ✓Saat dokumen dengan tata letak kompleks, tabel, atau rumus harus diubah menjadi teks terstruktur.

Link skill

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/ocr-and-documents/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/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/ocr-and-documents/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

“PDF hasil pindai kontrak ini tidak punya teks yang bisa dipilih. Bisakah Anda mengekstrak teksnya untuk saya?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent pertama-tama mencoba ekstraksi biasa, lalu memakai alat OCR lokal yang lebih ringan sebelum alat tata letak yang lebih berat. Agent menjaga file Anda tetap di komputer kecuali Anda mengizinkan unggahan.

Konten teknis (SKILL.md asli)

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

OCR and scanned documents

Use this Skill when ordinary document extraction fails because the source is scanned, image-based, or layout-heavy.

Start here

Call skill_view for this Skill and use its returned baseDirectory. Helpers live in <baseDirectory>/scripts.

Prefer local processing. Do not upload a private document to an external OCR service unless the user explicitly authorizes that transfer.

Choose the lightest path

  1. Normal extraction first. For PDFs, try the bundled pdf Skill. For .docx, use docx. Do not OCR born-digital text.
  2. A few scanned pages. Render pages with the pdf Skill and inspect images using view_image; transcribe only the requested pages.
  3. Text-oriented scanned PDF. Try extract_pymupdf.py; this is the lighter local path.
  4. Complex layout, tables, math, or many scanned pages. Use extract_marker.py only after confirming the need and checking resources.

Helpers

python3 <baseDirectory>/scripts/extract_pymupdf.py input.pdf -o extracted.md
python3 <baseDirectory>/scripts/extract_marker.py --check
python3 <baseDirectory>/scripts/extract_marker.py input.pdf -o extracted.md

Run helpers with terminal_exec, using python3 as the command and arguments as an array. Use --help for exact options.

extract_pymupdf.py requires PyMuPDF:

python3 -m pip install pymupdf

Its --markdown mode additionally requires pymupdf4llm.

extract_marker.py uses marker-pdf, which can require several gigabytes of packages and model downloads. Never install it automatically. Check available disk space and ask the user before installing or downloading large models.

URLs

If the source is a URL, first use an available browser or HTTP tool to identify whether it points to HTML or a document. Download only the requested document, respect authentication and access boundaries, and then process the local copy. Do not assume a specific web tool exists.

Verification

  • Preserve reading order, page references, headings, tables, footnotes, and confidence caveats.
  • Compare extracted text against representative rendered pages with view_image.
  • Mark uncertain characters and fields instead of guessing.
  • For tables, verify column alignment and numeric values separately.
  • Return both the extracted artifact path and the original source/page mapping when possible.
Pertanyaan umum

Apakah dokumen saya akan dikirim ke layanan online?

Tidak. Skill ini lebih memilih pemrosesan lokal dan tidak mengunggah dokumen pribadi kecuali Anda mengizinkannya secara eksplisit.

Kapan OCR tidak perlu dipakai?

Untuk PDF atau berkas Word berbasis teks, ketika ekstraksi biasa sudah berhasil, OCR tidak diperlukan.

Kapan alat yang lebih berat dipakai?

Hanya setelah agent memastikan alat itu diperlukan dan memeriksa bahwa komputer memiliki sumber daya untuknya.

Detail

Deskripsi asli dari pembuat

Extract and structure text from scanned PDFs and document images with a local-first OCR workflow, layout-aware fallbacks, and explicit heavyweight dependency controls.

repo: EKKOLearnAI/ekko-studio

Popularitas

Bintang GitHub
12k
Peringkat
#11572
Lisensi
—
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa