Skip to content

Commit

Permalink
Merge pull request #81 from dataiku/fix/add-tif
Browse files Browse the repository at this point in the history
Add support for tif extension
  • Loading branch information
mhham authored Apr 18, 2024
2 parents 2a0b13e + 46a632c commit 8d5dd3c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [Version 2.3.3](https://github.com/dataiku/dss-plugin-tesseract-ocr/releases/tag/v2.3.3) - Patch release - 2024-04

- Add support for .tif extension in OCR

## [Version 2.3.2](https://github.com/dataiku/dss-plugin-tesseract-ocr/releases/tag/v2.3.2) - Patch release - 2024-03

- Fix reading temporary file for pypandoc conversion
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "tesseract-ocr",
"version": "2.3.2",
"version": "2.3.3",
"meta": {
"label": "Text extraction and OCR",
"description": "Extract text from documents & images.",
Expand Down
2 changes: 1 addition & 1 deletion python-lib/text_extraction_ocr_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


class Constants:
OCR_TYPES = ["pdf", "jpg", "jpeg", "png", "tiff"]
OCR_TYPES = ["pdf", "jpg", "jpeg", "png", "tiff", "tif"]
PDF_MULTI_SUFFIX = "_pdf_page_"
FUNCTIONS_DEF = "functions_definition"
PIPELINE_DEF = "pipeline_definition"
Expand Down

0 comments on commit 8d5dd3c

Please sign in to comment.