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

Block segmentation produce strange results #41

Open
VolkerHartmann opened this issue Jan 27, 2020 · 5 comments
Open

Block segmentation produce strange results #41

VolkerHartmann opened this issue Jan 27, 2020 · 5 comments

Comments

@VolkerHartmann
Copy link

VolkerHartmann commented Jan 27, 2020

OCR-D-SEG-BLOCK_0001.txt

I used this dataset: https://ocr-d-repo.scc.kit.edu/api/v1/dataresources/16568d42-57be-4367-a335-4687bc84953e/data/weigel_gnothi02_1618.ocrd.zip
And the following workflow:
ocrd-anybaseocr-binarize
ocrd-anybaseocr-deskew
ocrd-anybaseocr-crop
ocrd-anybaseocr-block-segmentation with model from https://cloud.dfki.de/owncloud/index.php/s/dgACCYzytxnb7Ey/download
For the first page I got the attached result with wrong reference.
Also the metadata entry is missing.

@mahmed1995
Copy link
Collaborator

Fixed in 7d3fffe

@kba
Copy link
Member

kba commented Jan 29, 2020

Does 7d3fffe really fix the issue? Looks like just a change to the log call.

@mahmed1995
Copy link
Collaborator

That was wrong commit. The correct commit is 49e183a

@VolkerHartmann
Copy link
Author

Now there are no regions found!?

@VolkerHartmann
Copy link
Author

Now it seems to work only for cropped images! Please update documentation. (Input file group: OCR-D-IMG -> OCR-D-IMG-CROP)

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

No branches or pull requests

3 participants