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

Tesseract in Hypercube does not support JP2 files #298

Closed
alxp opened this issue Oct 18, 2022 · 1 comment · Fixed by Islandora-Devops/isle-buildkit#292
Closed

Tesseract in Hypercube does not support JP2 files #298

alxp opened this issue Oct 18, 2022 · 1 comment · Fixed by Islandora-Devops/isle-buildkit#292

Comments

@alxp
Copy link
Contributor

alxp commented Oct 18, 2022

This was a side-issue that I found while investigating Islandora/islandora#903

Steps to reproduce:

On fresh install of ISLE-DC development branch as of 2022-10-17:

  1. Create an object with model Page
  2. Add a Media of type File and upload a TIFF file, checking 'Original File' in Media Use.
  3. Add an object with model Page
  4. Add a Media of type File and upload a JP2 file, checking 'Original File' in Media Use.

Expected behaviour:

Both objects should have an Extracted Text media containing the text embedded in the respective images.

Actual result:

The media with a TIFF file has thumbnail, service file, FITS file and Extracted Text
The media with the JP2 has thumbnail, service file and FITS file but no Extracted Text.

This error shows up in the Hypercube logs:

[2022-10-18 15:00:35] crayfish.cmd_execute_service.ERROR: Process exited with non-zero code. {"exit_code":1,"stderr":"Error in pixReadMemJp2k: function not present\nError in pixReadMem: jp2k: no pix returned\nError during processing.\n"} []
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 a pull request may close this issue.

2 participants