Skip to content

Expose failed OCR page numbers in parse results - #358

Closed
riz-adnan wants to merge 1 commit into
run-llama:mainfrom
riz-adnan:expose-ocr-failures
Closed

Expose failed OCR page numbers in parse results#358
riz-adnan wants to merge 1 commit into
run-llama:mainfrom
riz-adnan:expose-ocr-failures

Conversation

@riz-adnan

Copy link
Copy Markdown

Summary

  • Track OCR failures by 1-based page number
  • Return failed OCR pages in Rust, Python, Node, WASM, and JSON output
  • Include failed page numbers in fatal OCR errors

Testing

  • python -m compileall packages/python/liteparse
  • cargo fmt --all
  • cargo test ...

@logan-markewich

Copy link
Copy Markdown
Contributor

Failed results are supported with a continue_on_error option now, that should surface failed pages in the JSON

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.

2 participants