-
Notifications
You must be signed in to change notification settings - Fork 128
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (91 loc) · 2.33 KB
/
pyproject.toml
File metadata and controls
100 lines (91 loc) · 2.33 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "openocr-python"
version = "0.1.5"
description = "Accurate and Efficient General OCR System"
readme = "QUICKSTART.md"
requires-python = ">=3.8"
license = {text = "Apache License 2.0"}
authors = [
{name = "OCR Team, FVL Lab", email = "784990967@qq.com"}
]
maintainers = [
{name = "OCR Team, FVL Lab", email = "784990967@qq.com"}
]
keywords = [
"ocr",
"optical character recognition",
"text detection",
"text recognition",
"document parsing",
"deep learning",
"computer vision"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"numpy",
"opencv-python",
"Pillow",
"pyyaml",
"tqdm",
"rapidfuzz",
"pyclipper",
"pydantic",
"shapely",
"huggingface-hub",
"modelscope",
"onnxruntime",
"PyMuPDF",
]
[project.optional-dependencies]
onnx-gpu = [
"onnxruntime-gpu",
]
pytorch = [
"torch",
"torchvision",
]
gradio = [
"gradio",
]
all = [
"torch",
"torchvision",
"gradio",
]
[project.urls]
Homepage = "https://github.com/Topdu/OpenOCR"
Documentation = "https://github.com/Topdu/OpenOCR/tree/main/docs"
Repository = "https://github.com/Topdu/OpenOCR"
"Bug Reports" = "https://github.com/Topdu/OpenOCR/issues"
[project.scripts]
openocr = "openocr.openocr:main"
[tool.setuptools]
packages = {find = {}}
include-package-data = true
[tool.setuptools.package-data]
"*" = ["configs/**/*.yml", "configs/**/*.yaml", "*.ttf"]
[tool.black]
line-length = 88
target-version = ['py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]