Konstantin Baierer

Results 183 issues of Konstantin Baierer

We have had an [ocrd-all-tool.json](https://ocr-d.de/js/ocrd-all-tool.json) for the website for a long time now, combining all the `tools` sections of all the OCR-D processors in ocrd_all. With https://github.com/OCR-D/ocrd_all/pull/362 https://github.com/OCR-D/ocrd_all/pull/379 we now...

When running `ocrd resmgr download '*'` in latest ocrd_all Docker image only some models are installed: find / |grep ocrd-resources /usr/local/share/ocrd-resources/ocrd-cis-ocropy-recognize /usr/local/share/ocrd-resources/ocrd-cis-ocropy-recognize/en-default.pyrnn.gz /usr/local/share/ocrd-resources/ocrd-cis-ocropy-recognize/LatinHist.pyrnn.gz /usr/local/share/ocrd-resources/ocrd-cis-ocropy-recognize/fraktur.pyrnn.gz /usr/local/share/ocrd-resources/ocrd-cis-ocropy-recognize/fraktur-jze.pyrnn.gz /usr/local/share/ocrd-resources/ocrd-kraken-segment /usr/local/share/ocrd-resources/ocrd-kraken-segment/blla.mlmodel /usr/local/share/ocrd-resources/ocrd-calamari-recognize /usr/local/share/ocrd-resources/ocrd-calamari-recognize/zpd-fraktur19 /usr/local/share/ocrd-resources/ocrd-calamari-recognize/zpd-fraktur19/2.ckpt.json...

bug

https://github.com/OCR-D/core/pull/974/files#r1140759640 > Well, among the recent changes @joschrew introduced `is_bashlib_processor`. Instead of trying to look inside – which is error-prone, and by OCR-D CLI we might even deal with pure...

![image](https://user-images.githubusercontent.com/273367/228527527-3b3673f2-d6a0-4b05-9421-3338e295ff73.png) @bertsky: > I am surprised that the normal stdout and stderr is simply thrown away here. Shouldn't we try to persist this (perhaps in the job of the database)?...

![image](https://user-images.githubusercontent.com/273367/228524499-e54de241-bc7d-441d-aacc-bd258cb53402.png) @tdoan2010: > This implementation requires that all supported processors must be installed on the same machine with Processing Server as well, which might not be the case. Maybe after...

> On October 2nd 2023, CircleCI will end-of-life the medium macOS resource. On this date, any jobs that run on the medium macOS resource will show an “invalid resource class”...

![image](https://user-images.githubusercontent.com/273367/228586427-0430a4dd-efb7-4404-9625-676467cf5310.png) @bertsky: > Why close here? These could be used for stopping. (In the Docker case, does it even work to recreate a CustomDockerClient via `create_docker_client` in `kill_hosts`?) @MehmedGIT: >...

> Should we extensively use pushd_popd instead of try ... catch ... finally os.chdir() pattern? Not without adapting `pushd_popd` first. However, I don't want to mess with that to not...

We should probably also add some basename tests with the dummy processor (like `test_mets_basename` and `test_ocrd_dummy.TestDummyProcessor` combined). Also, we have next to no tests for bashlib processing yet. BTW, before...

> Hard to test in core though. We neec a test with a moduledir processor that monkey-patches moduledir to a temp directory to verify. Tricky indeed, I've started on a...