25 lines
520 B
TOML
25 lines
520 B
TOML
|
|
[project]
|
|
name = "ocr-pdf"
|
|
version = "0.1.0"
|
|
description = "Convert smartphone JPGs to auto-trimmed, deskewed OCRed PDF (English, typewritten)."
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
dependencies = [
|
|
"opencv-python>=4.9",
|
|
"numpy>=1.26",
|
|
"pytesseract>=0.3.10",
|
|
"pypdf>=5.0",
|
|
"Pillow>=10.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
ocr-pdf = "ocr_pdf:main"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=69"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.uv]
|
|
# You can pin python version or set custom indexes here if needed.
|