-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (34 loc) · 980 Bytes
/
Copy pathsetup.py
File metadata and controls
35 lines (34 loc) · 980 Bytes
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
from setuptools import setup
setup(
name="platerec",
version="0.0.3",
packages=["platerec"],
include_package_data=True,
url="https://github.com/pstwh/platerec",
keywords="plate, ocr, read, alpr",
package_data={"platerec": ["artifacts/*.onnx", "artifacts/*.json"]},
python_requires=">=3.5, <4",
install_requires=[
"pillow==10.4.0",
"opencv-python-headless==4.10.0.84",
"platedet==0.0.2",
],
extras_require={
"cpu": [
"onnxruntime==1.20.1",
],
"gpu": [
"onnxruntime-gpu==1.20.1",
],
},
entry_points={
"console_scripts": [
"platerec=platerec.cli:main",
"platerec-video=platerec.inference_video:main",
"platerec-image=platerec.inference_image:main",
],
},
description="Read license plates",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
)