Releases: OCR-D/core
Releases · OCR-D/core
v2.55.1
v2.55.0
Added:
/workflowendpoint that can handleocrd processworkflows and distribute jobs page-wise across workers, #1083, #1105, #1108, #1109
Changed:
- METS Server: Make sockets world-readable and -writable, #1098, #1099
- METS Server: Implement find_files support for
local_filenameandurl, #1100 - Logging: consistent logger names derived from
ocrd., #1101 - Logging: consistent logging across the packages, including
ocrd_network, #1101 ..page range operator: allow single-page ranges, #1106, #1107
v2.54.0
Added:
- METS Server: providing concurrent additional access to the METS file for parallel processing, #966
- Web API: Cache jobs in the processing server with an optional callback once processed, #1069
- Web API: Lock pages output file groups of a workspace to prevent simultaneous non-additive access to workspaces, #1069
- Web API: Support job dependency for caching complete fully-deterministic workflows, #1069
- Web API: Processing server will start all ready requests, not just the first one, #1069
- Web API: Workers will create on demand, retry attempts configurable via
OCRD_NETWORK_WORKER_QUEUE_CONNECT_ATTEMPTS, #1093 ocrd_utils.configto collect all configuration based on environment variables in one place, #1081- Processor CLI: Warn if a given page ID cannot be found in METS, #1088, #1089
Changed:
- Processors now have
workerandserversubcommands, with separate --help, for starting processing worker/processor server, #1087 - Move
tf_disable_interactive_logs(to silence keras/tensorflow print statements) toocrd_utils.loggingand do not call on module-level, #1090, #1091 - 🔥 We do now properly distinguish between original and local-file FLocat, original URL will not be changed for downloads anymore, #323, #1079
- 🔥 logging has been streamlined to be better usable as a library, #1080
v2.53.0
Fixed:
WorkspaceValidator: make the check for consistency ofpc:Page[@pcGtsId]andmets:file[@ID]optional with themets_fileid_page_pcgtsidskip flag, #1066ocrd resmgr download: usebasediras an arg and not a kwarg, #1078
Changed:
WorkspaceValidator: Download files temporarily/on-demand, #1066ocrd-* --versionnow prints only the version of the processor without noise or core version, #1068
Added
- Environement variables to control optional retries and timeouts for downloading files:
- Environment variables used throughout core are now documented in README and
ocrd --help, #1073 - Web API:
--create-queueoption to on-demand create RabbitMQ for processing workers, #1075 - Web API:
--queue-connec-attemptsto retry connection to RabbitMQ in case server is not yet running, #1075
v2.52.0
Added:
make deps-cuda: Makefile target to set up a working CUDA installation, both for native and Dockerfile.cuda, #1055- Implementation of the Standalone Processor Server module, #1030
ocrd_utils.guess_media_typeto consistently try to determine media type from a file name, #1045
Changed:
- Refactoring the Network CLI, all network module CLI are in
ocrd_networknow, #1030 - The Processing Server uses
ocrd-all-tool.jsonfile, removing local processor install dependencies, #1030 - Overall improvement and refactoring of the
ocrd_networkpackage, #1030 - Optionally skip deployment of mongodb and rabbitmq to make external usage/management possible, #1048
page_from_filenow also accepts a (str) file path in addition toOcrdFile, #1045- packaging: install/uninstall in correct build order, use
python -m buildinstead ofpython setup.py sdist bdist_wheel, #1051
Removed:
- Obsolete travis CI configuration removed, #1056
- Support for end-of-life python versions 3.5 and 3.6, #1057
Fixed:
v2.51.0
Changed:
core cudaDocker: CUDA base image working again, based onocrd/corenotnvidia/cudain a separateDockerfile.cuda, #1041core-cudaDocker: adopt #1008 (venv under /usr/local, as in ocrd_all, instead of dist-packages), #1041core-cudaDocker: use conda (micromamba) for CUDA toolkit, and nvidia-pyindex for CUDA libs – instead of nvidia/cuda base image, #1041- more robust workaround for shapely#1598, #1041
Removed:
v2.50.0
v2.49.0
v2.48.1
v2.48.0
Changed:
- 🔥 ocrd.run_processor / ocrd.processor.get_processor: rm unnecessary ocrd_tool kwarg #998, #1009
- chdir into workspace directory for both cached and uncached
get_processor, #972, 987 - 🔥 new CUDA base image 20.04, support CUDA runtime 11/12, not 10, #1014
Fixed:
make install: do not update opencv-python-headless or numpy for python<= 3.6, #1014