Skip to content

Integrate OCRS backend and bundle Rust extension#118

Open
manykarim wants to merge 8 commits into
mainfrom
codex/investigate-replacing-tesseract-with-ocrs
Open

Integrate OCRS backend and bundle Rust extension#118
manykarim wants to merge 8 commits into
mainfrom
codex/investigate-replacing-tesseract-with-ocrs

Conversation

@manykarim

Copy link
Copy Markdown
Owner

Summary

  • add a Rust ocrs_py crate, Python adapter, and build hook so the packaged wheel ships the compiled OCRS engine and exposes it via DocTest.ocrs_adapter
  • update DocumentRepresentation, VisualTest, configuration defaults, and Robot acceptance assets to target OCRS while keeping the legacy "tesseract" name as a deprecated alias
  • refresh developer docs and pytest fixtures/tests to cover the new adapter, provide deterministic stubs when the engine/models are unavailable, and skip image-heavy suites when codecs or sample PDFs are missing

Testing

  • poetry run pytest

https://chatgpt.com/codex/tasks/task_e_68dbb6e3aad48331bfab4f6cfb14f424

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
9 Security Hotspots

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant