core icon indicating copy to clipboard operation
core copied to clipboard

Collection of OCR-related python tools and wrappers from @OCR-D

Results 215 core issues
Sort by recently updated
recently updated
newest added

![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: >...

The processor parameter validator overwrites the parameters of the passed object with defaults when missing. This seems to be the expected (from the written tests) and desired behavior to simplify...

Announced today: " Docker is sunsetting Free Team organizations". That means that https://hub.docker.com/u/ocrd "will be suspended on April 14, 2023 (11:59 pm UTC). Upgrade your subscription before April 14, 2023...

> 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 are currently blind in our process/profiling logger to any bashlib-based processors (which step ran and how much time was spent). Implementing this with bash is probably not so easy...

I've used @bertsky's/ocrd_tesserocr's page_update_higher_textequiv_levels() in ocrd_calamari and now also in the WIP ocrd_trocr. Could this be included in core to avoid the copies?

The ambiguity of `--parameter` (JSON string or filename) currently makes the behaviour very confusing if you pass a filename that does not exist (but is clearly not a JSON string...

The function `get_ocrd_tool_json(executable)` tries to load the ocr-d tool with a processor call. If the function is called with a non available processor (typo for example) then it is imo...

In preparation of fixing #930. Merely adds new specific test that fails for now. Draft for easier discussion...

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...