代码拉取完成,页面将自动刷新
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="trdg",
version="1.6.0",
description="TextRecognitionDataGenerator: A synthetic data generator for text recognition",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Belval/TextRecognitionDataGenerator",
author="Edouard Belval",
author_email="edouard@belval.org",
# Choose your license
license="MIT",
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
keywords="synthetic data text-recognition training-set-generator ocr dataset fake text",
packages=find_packages(exclude=["contrib", "docs", "tests"]),
include_package_data=True,
install_requires=[
"pillow>=7.0.0",
"numpy>=1.16.4,<1.17",
"requests>=2.20.0",
"opencv-python>=4.2.0.32",
"tqdm>=4.23.0",
"beautifulsoup4>=4.6.0",
"diffimg==0.2.3",
],
entry_points={
"console_scripts": [
"trdg=trdg.run:main"
],
},
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。