-
Notifications
You must be signed in to change notification settings - Fork 7
Deprecated in 2.15.0
With releases 2.11.0 and 2.15.0, some constructs in the ocrd workspace
command line interface have been deprecated. They will remain available until the next major release 3.x of OCR-D/core when they will be removed for good. We therefore encourage you to update your scripts and documentation according to the changes described here.
NOTE: This document uses the long-form options for clarity, you can always use -m
instead of --mets
and -d
instead of --directory
.
NOTE: There are sensible defaults for both --directory
(current working directory) and --mets
(mets.xml
). If your current working directory is a workspace directory, you can call all commands without either:
-
ocrd workspace -d $PWD -m mets.xml validate
->ocrd workspace validate
-
ocrd workspace -d . -m mets.xml init
->ocrd workspace init
- etc.
ocrd workspace
no longer supports the --mets-basename
option. An option --mets
is introduced that can be used instead:
-
ocrd workspace --mets-basename foo.xml init
->ocrd workspace --mets foo.xml init
The DIRECTORY
argument to ocrd workspace init
has been removed. Use the --directory
option instead:
-
ocrd workspace init DIRECTORY
->ocrd workspace --directory DIRECTORY init
The second argument to ocrd workspace clone
, WORKSPACE_DIR
has been removed. Use the --directory
option instead:
-
ocrd workspace clone METS_URL WORKSPACE_DIR
->ocrd workspace --directory WORKSPACE_DIR clone METS_URL
The METS_URL
argument to ocrd workspace validate
has been removed. Use the --directory
/--mets
options instead:
-
ocrd workspace validate /path/to/mets.xml
->ocrd workspace --mets /path/to/mets.xml validate
-
ocrd workspace validate /path/to/mets.xml
->ocrd workspace --directory /path/to validate
Welcome to the OCR-D wiki, a companion to the OCR-D website.
Articles and tutorials
- Running OCR-D on macOS
- Running OCR-D in Windows 10 with Windows Subsystem for Linux
- Running OCR-D on POWER8 (IBM pSeries)
- Running browse-ocrd in a Docker container
- OCR-D Installation on NVIDIA Jetson Nano and Xavier
- Mapping PAGE to ALTO
- Comparison of OCR formats (outdated)
- A Practicioner's View on Binarization
- How to use the bulk-add command to generate workspaces from existing files
- Evaluation of (intermediary) steps of an OCR workflow
- A quickstart guide to ocrd workspace
- Introduction to parameters in OCR-D
- Introduction to OCR-D processors
- Introduction to OCR-D workflows
- Visualizing (intermediate) OCR-D-results
- Guide to updating ocrd workspace calls for 2.15.0+
- Introduction to Docker in OCR-D
- How to import Abbyy-generated ALTO
- How to create ALTO for DFG Viewer
- How to create searchable fulltext data for DFG Viewer
- Setup native CUDA Toolkit for Qurator tools on Ubuntu 18.04
- OCR-D Code Review Guidelines
- OCR-D Recommendations for Using CI in Your Repository
Expert section on OCR-D- workflows
Particular workflow steps
Workflow Guide
- Workflow Guide: preprocessing
- Workflow Guide: binarization
- Workflow Guide: cropping
- Workflow Guide: denoising
- Workflow Guide: deskewing
- Workflow Guide: dewarping
- Workflow Guide: region-segmentation
- Workflow Guide: clipping
- Workflow Guide: line-segmentation
- Workflow Guide: resegmentation
- Workflow Guide: olr-evaluation
- Workflow Guide: text-recognition
- Workflow Guide: text-alignment
- Workflow Guide: post-correction
- Workflow Guide: ocr-evaluation
- Workflow Guide: adaptation-of-coordinates
- Workflow Guide: format-conversion
- Workflow Guide: generic transformations
- Workflow Guide: dummy processing
- Workflow Guide: archiving
- Workflow Guide: recommended workflows