본문으로 건너뛰기
Skillpedia
PDF, Word, 슬라이드12k · #11572

ocr-and-documents

하는 일

이 스킬은 일반 읽기로는 처리할 수 없는 스캔본과 이미지 기반 문서에서 텍스트를 뽑아냅니다. 종이 문서나 스캔 PDF의 텍스트를 되찾아야 하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓선택 가능한 텍스트가 없는 스캔 PDF를 검색 가능한 문서로 만들어야 할 때.
  • ✓문서를 찍은 사진이 있고 그 글자를 옮기고 싶을 때.
  • ✓복잡한 배치, 표, 수식이 있는 문서를 구조화된 텍스트로 바꿔야 할 때.

스킬 링크

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/ocr-and-documents/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/ocr-and-documents/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“선택할 수 있는 텍스트가 없는 이 계약서 스캔 PDF에서 텍스트를 추출해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 먼저 일반 추출을 시도하고, 더 무거운 레이아웃 도구 전에 가벼운 로컬 OCR 도구를 사용합니다. 업로드를 허용하지 않는 한 파일은 컴퓨터에 둡니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.
자주 묻는 질문

문서가 온라인 서비스로 전송되나요?

아닙니다. 스킬은 로컬 처리를 우선하며, 명시적으로 허용하지 않으면 비공개 문서를 업로드하지 않습니다.

OCR을 쓰지 말아야 할 때는 언제인가요?

텍스트 기반 PDF나 Word 파일처럼 일반 추출이 이미 작동하면 OCR이 필요하지 않습니다.

무거운 도구는 언제 쓰나요?

에이전트가 필요하다고 확인하고, 컴퓨터에 필요한 자원이 있는지 확인한 뒤에만 씁니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
12k
순위
#11572
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬