Closed zuphilip closed 7 years ago
This is a problem with PBR, the templates folder isn't installed. Actually, when I tried now, I failed to install kraken locally, first due to some "git not installed" nonsense fixed with export PBR_VERSION
then with installation succeeding but w/o templates. So this is an issue with upstream kraken or my misunderstanding the install process. Fix is to install templates manually.
BTW: If you use /data
as the volume target, you won't need absolute paths since WORKDIR /data
.
docker run --rm -it -v ${PWD}:/data kraken-docker -i bw.png out.h
ocr segment ocr -h
Yeah, this works now. Thank you very much!
(I used now kbai/kraken instead of kbai/kraken-docker.)
(I used now kbai/kraken instead of kbai/kraken-docker.)
They are the same, both automatically update. Someone seems to be using the latter, so I'll keep it around.
I tried to output hocr and it did not work (also alto did not work), but txt seems to work fine. I already updated the submodule and rebuild the container, but this didn't change anything. Maybe this is a problem which is for reporting upstream, but I don't know that...
(The example is from the kraken/tests/resources directory.)