| [build-system] |
| requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"] |
| build-backend = "setuptools.build_meta" |
|
|
| [project] |
| name = "alpr-ocr" |
| dynamic = ["version"] |
| description = "Automatic License Plate Recognition (ALPR) system with customizable detector and OCR models" |
| readme = "README.md" |
| license = {text = "MIT"} |
| authors = [ |
| {name = "Japhari", email = ""} |
| ] |
| maintainers = [ |
| {name = "Japhari", email = ""} |
| ] |
| keywords = ["alpr", "ocr", "license-plate", "computer-vision", "gradio"] |
| classifiers = [ |
| "Development Status :: 3 - Alpha", |
| "Intended Audience :: Developers", |
| "Intended Audience :: Science/Research", |
| "License :: OSI Approved :: MIT License", |
| "Operating System :: OS Independent", |
| "Programming Language :: Python :: 3", |
| "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", |
| ] |
| requires-python = ">=3.9" |
| dependencies = [ |
| "fast-alpr[onnx]>=0.2.0", |
| "gradio>=4.44.0", |
| "opencv-python-headless", |
| "pillow", |
| "numpy", |
| ] |
|
|
| [project.optional-dependencies] |
| dev = [ |
| "pytest", |
| "black", |
| "flake8", |
| "mypy", |
| "pre-commit", |
| ] |
|
|
| [project.urls] |
| Homepage = "https://huggingface.co/spaces/Japhari/alpr-ocr" |
| Repository = "https://huggingface.co/spaces/Japhari/alpr-ocr" |
| Documentation = "https://huggingface.co/spaces/Japhari/alpr-ocr" |
| Issues = "https://huggingface.co/spaces/Japhari/alpr-ocr" |
|
|
| [project.scripts] |
| alpr-ocr = "app:main" |
|
|
| [tool.setuptools] |
| packages = ["app"] |
|
|
| [tool.setuptools.package-data] |
| "*" = ["*.md", "*.txt", "*.toml"] |
|
|
| [tool.black] |
| line-length = 88 |
| target-version = ['py39'] |
| include = '\.pyi?$' |
| extend-exclude = ''' |
| /( |
| # directories |
| \.eggs |
| | \.git |
| | \.hg |
| | \.mypy_cache |
| | \.tox |
| | \.venv |
| | build |
| | dist |
| )/ |
| ''' |
|
|
| [tool.pytest.ini_options] |
| testpaths = ["tests"] |
| python_files = ["test_*.py"] |
| python_classes = ["Test*"] |
| python_functions = ["test_*"] |
| addopts = "-v --tb=short" |
|
|