-
Notifications
You must be signed in to change notification settings - Fork 21
/
pyproject.toml
62 lines (53 loc) · 1.42 KB
/
pyproject.toml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[build-system]
requires = [ "setuptools>=61" ]
[project]
name = "pero-ocr"
version = "0.7.0"
description = "Toolkit for advanced OCR of poor quality documents"
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE"}
keywords = ["OCR", "Layout analysis", "handwriting recognition"]
authors = [
{email = "[email protected]", name = "Michal Hradiš"}
]
maintainers = [
{email = "[email protected]", name = "Karel Beneš"}
]
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
dependencies = [
"numpy",
"opencv-python",
"lxml",
"lmdb",
"levenshtein",
"scipy",
"numba",
"torch>=2.0.1",
"torchvision>=0.15.2",
"brnolm>=0.3.0",
"scikit-learn",
"scikit-image",
"shapely",
"safe-gpu>=1.5.1",
"pyamg",
"imgaug",
"arabic_reshaper",
]
[project.urls]
homepage = "https://pero.fit.vutbr.cz/"
repository = "https://github.com/DCGM/pero-ocr"
[tool.setuptools]
include-package-data = false
[tool.setuptools.package-dir]
"pero_ocr" = "pero_ocr"
"pero_ocr.user_scripts" = "user_scripts"
[project.scripts]
compare-page-xml-texts = "pero_ocr.user_scripts.compare_page_xml_texts:main"
merge-ocr-results = "pero_ocr.user_scripts.merge_ocr_results:main"
parse-folder = "pero_ocr.user_scripts.parse_folder:main"
select-embed-id = "pero_ocr.user_scripts.select_embed_id:main"