Expand description
不依赖 Python、PDFium 或推理运行库的基础契约。
Modules§
- document
- PDF 事实层的自有数据契约;不把原生阅读顺序误称为最终版面顺序。
- geometry
- 明确坐标系的仿射变换;所有运算拒绝非有限值,空交集保留为空矩形。
- ocr
- OCR 文字与四角契约;坐标单位由包含它的输出类型声明。
- pillow_
resize - Pillow 12.2 RGB8 resampling/reduce arithmetic. MIT-CMU attribution: licenses/PILLOW.txt.
- progress
- Shared tqdm-style presentation for terminals, IDEs and redirected stderr.
- resources
- Resource policy shared by the production pipeline and low-level diagnostics.
Structs§
- Error
- 不包含裸 FFI 句柄的错误。
- Limits
- 输入资源限制必须在打开原生库之前检查。
- Page
Range - 页范围使用从零开始的原始页码,结束位置不包含在结果中。
- Rect
- 有限、非反向的矩形;单位由所在页面坐标系声明。
Enums§
- Error
Code - 解析错误的稳定分类,调用方不应依靠错误文案分支。