summaryrefslogtreecommitdiff
path: root/src/text_recognizer/datasets/__init__.py
blob: a3af9b1263f9baeb60ba9e0885c7245c044ce32d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
"""Dataset modules."""
from .emnist_dataset import EmnistDataset, Transpose
from .emnist_lines_dataset import (
    construct_image_from_string,
    EmnistLinesDataset,
    get_samples_by_character,
)
from .iam_dataset import IamDataset
from .iam_lines_dataset import IamLinesDataset
from .iam_paragraphs_dataset import IamParagraphsDataset
from .util import (
    _download_raw_dataset,
    compute_sha256,
    DATA_DIRNAME,
    download_url,
    EmnistMapper,
    ESSENTIALS_FILENAME,
)

__all__ = [
    "_download_raw_dataset",
    "compute_sha256",
    "construct_image_from_string",
    "DATA_DIRNAME",
    "download_url",
    "EmnistDataset",
    "EmnistMapper",
    "EmnistLinesDataset",
    "get_samples_by_character",
    "IamDataset",
    "IamLinesDataset",
    "IamParagraphsDataset",
    "Transpose",
]