Skip to content

Optical-character recognition of degraded images (rotation, low-contrast) #280

Description

@kilodesodiq-arch

Problem Statement. OCR tests run on fixture images. Real field evidence arrives
rotated 90°, low-contrast, watermarked, low-res.

Technical Context.
app/ai-service/services/ocr.py and services/preprocessing.py.

Expected Outcome. A new regression dataset named regression_harness/dataset/degraded/
containing deliberately rotated/blurred samples. Test asserts ≥ 0.6 accuracy per the
preprocessing pipeline.

Acceptance Criteria.

  • New workflow ocr-regression.yml runs the degraded dataset.
  • 90% pass threshold.

Files or modules likely to be affected.
new app/ai-service/regression_harness/dataset/degraded/,
.github/workflows/ocr-regression.yml.

Difficulty. Medium
Estimated effort. M



Backlog item #72 from `docs/maintainer-issue-backlog.md.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions