File size: 504 Bytes
f66643d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""Scanned PDF translation pipeline - Stage A.

This package provides parsing and analysis for scanned (image-based) PDFs
using Surya for layout detection and OCR.

Main exports:
- PDFTypeDetector: Detect if PDF is scanned, digital, or mixed
- StageAParser and phase result objects: Main parser for Stage A processing
"""

from pdf2zh.parser.detector import PDFTypeDetector
from pdf2zh.parser.main import StageAParser

__all__ = [
    # Detector
    "PDFTypeDetector",
    # Parser
    "StageAParser",
]