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
ValueError thrown due to shape inconsistence (empty page) #40
Comments
Dear Clemens just check it out. |
@vahidrezanezhad Can this be closed? 0f09f4a says it's resolved. (If you had included |
Please don't close just yet @mikegerber, I opened this and still need to verify the fix works! |
That's why I asked :) |
I have now tested the fix against three different images that threw the error before, and can confirm all of them were processed successfully with the fix, so will close. |
(@mikegerber but in fact I did miss 0f09f4a also closed #30, which should have been two separate commits @vahidrezanezhad ) |
Maybe I did indeed close this too early...while most images that threw above error before are now processing OK, I still do get this exception for e.g. this image: https://digital.staatsbibliothek-berlin.de/werkansicht?PPN=PPN687049385&PHYSID=PHYS_0024&DMDID=
|
Can confirm this has been fixed for the images here with 4c498fc. |
For this empty page, I get a
ValueError
when applyingsbb-textline-detector
via my_ocrd_workflow.Ideally the output should be a PAGE-XML file with no region/textlines.
The text was updated successfully, but these errors were encountered: