Add private local OCR comparison package

This commit is contained in:
OCR Team
2026-10-07 21:00:21 +02:00
commit 87a1d114da
15 changed files with 2044 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
[build-system]
requires = ["setuptools>=75", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "zulassung-ocr-compare"
version = "0.1.0"
description = "Local comparison of classic OCR and a document vision pipeline"
requires-python = ">=3.11,<3.13"
dependencies = [
"numpy>=2.0,<3",
"opencv-python-headless>=4.10,<6",
"pillow>=11,<13",
"starlette>=0.48,<0.51",
"uvicorn>=0.38,<0.39",
"paddleocr==3.7.0",
]
[project.optional-dependencies]
vision = ["paddleocr[doc-parser]==3.7.0"]
test = ["httpx>=0.28,<0.29"]
[tool.setuptools]
packages = ["ocr_compare"]
[tool.setuptools.package-data]
ocr_compare = ["*.html", "*.css", "*.js"]