Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TIFF processing. Add tests to prevent regression in OCR for gif, jpg, jp2, tiff, webp #587

Merged
merged 6 commits into from
Feb 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typos
  • Loading branch information
catileptic committed Feb 22, 2024
commit 7842d615589df4421a93cad7bd52ebeab30d42c3
4 changes: 2 additions & 2 deletions tests/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def test_ingest_on_svg(self):
self.assertEqual(entity.first("processingStatus"), self.manager.STATUS_SUCCESS)

def test_tesseract_ocr_regression(self):
"""This test is meant to catch a regresion in the OCR behaviour
descrbed in this PR: https://github.com/alephdata/ingest-file/pull/585"""
"""This test is meant to catch a regression in the OCR behaviour
described in this PR: https://github.com/alephdata/ingest-file/pull/585"""

test_data = {
"jpeg": {
Expand Down
Loading