Skip to content

feature(extract-python): implement LiteParsePipeline - #17

Merged
ClemDoum merged 1 commit into
mainfrom
feat(extract-python)/liteparse
Oct 20, 2026
Merged

ClemDoum merged 1 commit into
mainfrom
feat(extract-python)/liteparse

Conversation

@ClemDoum

@ClemDoum ClemDoum commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Description

Addresses ICIJ/datashare-python#116

Added a LiteParse backed CPU pipeline for fast CPU inference.

OCR is using Tesseract, the right language must be provided through config (for now, though passing language in the extract API should be the true solution).

Since liteparse doesn't support rotated scans, the parse fixes this by running tesseract OSD first on pages which deserves it (only pages without text). Then page orientation correction are forwarded to liteparse.

Changes

extract-python

Added

  • added the LiteParsePipeline

@ClemDoum ClemDoum self-assigned this Oct 20, 2026
@ClemDoum
ClemDoum marked this pull request as ready for review October 20, 2026 16:23
@ClemDoum
ClemDoum force-pushed the feat(extract-python)/liteparse branch 4 times, most recently from ae2b7e8 to 833350c Compare October 20, 2026 16:56
@ClemDoum
ClemDoum force-pushed the feat(extract-python)/liteparse branch from 833350c to 13b9fb8 Compare October 20, 2026 16:58
@ClemDoum
ClemDoum merged commit c823b27 into main Oct 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant