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 produces almost always empty pages #38

Open
wrznr opened this issue Jan 22, 2020 · 1 comment
Open

Block segmentation produces almost always empty pages #38

wrznr opened this issue Jan 22, 2020 · 1 comment

Comments

@wrznr
Copy link

wrznr commented Jan 22, 2020

I am running the following workflow on https://digital.slub-dresden.de/werkansicht/dlf/87237/1/(with https://digital.slub-dresden.de/data/kitodo/adrefudio_20253082Z_1907/adrefudio_20253082Z_1907_mets.xml):

  1. Cropping (ocrd-anybaseocr-crop)
  2. Binarization (ocrd-anybaseocr-binarize)
  3. Segmentation (ocrd-anybaseocr-block-segmentation)

For most pages, the block segmentation finds only a few and very often not any blocks. The blocks which are found do not correspond to a comprehensible segmentation. Often it is only the page number or some non-block. Consider for example
FILE_0039_BIN-IMG

The only “block” which is found by the block segmentation is:
FILE_0039_DFKIBS-IMG,DFKIBS-IMG-IMG_0

I would be very grateful if you could give me some hints how to improve this result. Maybe you could even try to process this book in your own environment to make sure that nothing is amiss with my setup.

@mjenckel
Copy link
Collaborator

from your 3 step processing I assume you used the block-segmentation on the binarized images? We noticed ourselves, that the performance becomes considerably worse on binarized images.
We will take a look at your particular example.
However, since I dont remember seeing very similar samples in the training data, there is also the possibility that the model can not generalize to this type of layout/data and some additional fine-tuning might be necessary.

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

2 participants