hwp_pdf_clone
Converts native or scanned Korean PDFs into editable HWP/HWPX documents, reconstructing tables, images, and layout for visual similarity.
Instructions
PDF (native 또는 스캔 한국어) 를 편집 가능한 HWP/HWPX 로 복원합니다. (v0.7.4.4) native PDF 는 PyMuPDF get_text("dict") 로 bbox + 폰트 직접 추출, 스캔 PDF 는 PaddleOCR (lang=korean, ~150MB 모델 최초 자동 다운로드) + opencv 전처리 (deskew + denoise + threshold). hybrid PDF 는 페이지별 자동 dispatch. 제목 감지, 표 재구성 (pdfplumber find_tables), 이미지 임베딩 (page.get_images + extract_image), 2-column 감지 경고, 4-component fidelity score (text/page/layout/structure). 출력은 원본과 시각적으로 유사한 클론 (픽셀 단위 일치 아님).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | PDF clone 옵션 | |
| pdf_path | Yes | 원본 PDF 경로 (절대 또는 상대) | |
| output_path | Yes | 출력 HWP/HWPX 경로 (.hwp 또는 .hwpx, 확장자에 따라 형식 결정) |