forked from DCGM/pero-ocr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (44 loc) · 1.12 KB
/
setup.py
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
#!/usr/bin/env python3
from setuptools import setup
def get_long_desc():
with open('README.md') as f:
return f.read()
setup(
name='pero-ocr',
version='0.5',
python_requires='>=3.6',
packages=[
'pero_ocr',
'pero_ocr/decoding',
'pero_ocr/document_ocr',
'pero_ocr/ocr_engine',
'pero_ocr/layout_engines',
],
install_requires=[
'numpy',
'opencv-python',
'lxml',
'scipy',
'numba',
'torch>=1.4',
'brnolm>=0.1.1',
'scikit-learn',
'scikit-image',
'tensorflow-gpu==1.15',
'shapely',
'pyamg',
'imgaug',
'arabic_reshaper',
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
url='https://github.com/DCGM/pero-ocr',
description='Toolkit for advanced OCR of poor quality documents',
long_description=get_long_desc(),
long_description_content_type='text/markdown',
author='Karel Benes',
author_email='ibenes@fit.vutbr.cz',
)