diff options
Diffstat (limited to 'text_recognizer/metadata/iam.py')
-rw-r--r-- | text_recognizer/metadata/iam.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/text_recognizer/metadata/iam.py b/text_recognizer/metadata/iam.py new file mode 100644 index 0000000..6995f83 --- /dev/null +++ b/text_recognizer/metadata/iam.py @@ -0,0 +1,9 @@ +import text_recognizer.metadata.shared as shared + +RAW_DATA_DIRNAME = shared.DATA_DIRNAME / "raw" / "iam" +METADATA_FILENAME = RAW_DATA_DIRNAME / "metadata.toml" +DL_DATA_DIRNAME = shared.DATA_DIRNAME / "downloaded" / "iam" +EXTRACTED_DATASET_DIRNAME = DL_DATA_DIRNAME / "iamdb" + +DOWNSAMPLE_FACTOR = 2 # if images were downsampled, the regions must also be +LINE_REGION_PADDING = 8 # add this many pixels around the exact coordinates |