Skip to main content

Module classification_visuals

Module classification_visuals 

Source
Expand description

图上字符候选与差分像素核验;不保存 PDFium 地址或 Python 对象。

Structs§

Candidates
独立候选框可在原页面和文本页关闭后继续消费,不携带原生对象地址。

Functions§

candidates
批量应用字符过滤、视觉裁剪与图像并集覆盖;未知可见性沿用参考的保守可见默认值。
painted_count
直接扫描每个像素区域,等价于 Pillow crop/getbbox,避免每字符创建图像对象。
python_space
精确使用 CPython 的空白集合,包含 Rust Unicode whitespace 未包含的控制分隔符。

Type Aliases§

Box4
Record
Visibility