Skip to content

test(ocr): add degraded regression dataset + improve rotation/low-contrast OCR#359

Open
AgilityB wants to merge 2 commits into
ChainForgee:mainfrom
AgilityB:Optical-character-recognition-of-degraded-images
Open

test(ocr): add degraded regression dataset + improve rotation/low-contrast OCR#359
AgilityB wants to merge 2 commits into
ChainForgee:mainfrom
AgilityB:Optical-character-recognition-of-degraded-images

Conversation

@AgilityB

Copy link
Copy Markdown
Contributor

Key files:

Dataset: app/ai-service/regression_harness/dataset/degraded/
ground_truth.json (deliberately degraded samples)
documents/ contains all referenced PNG variants
Preprocessing: app/ai-service/services/preprocessing.py (CLAHE contrast normalization)
OCR: app/ai-service/services/ocr.py (rotation/orientation sweep 0/90/180/270)
CI: .github/workflows/ocr-regression-degraded.yml (runs degraded suite; enforces pass_ratio>=0.9 and accuracy>=0.6)

closes #280

Copy link
Copy Markdown
Contributor

Hi 👋 Appreciate this PR! The CI is flagging a failing check — could you take a peek at the failed job and push a fix? Happy to help if you need a hand 🙏

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.

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

2 participants