File size: 859 Bytes
86c7b91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
36
37
38
39
40
41
42
43
44
[project]
name = "ocr-bench"
version = "0.1.0"
description = "OCR model evaluation toolkit — VLM-as-judge with per-dataset leaderboards"
readme = "README.md"
authors = [
    { name = "Daniel van Strien", email = "davanstrien@gmail.com" }
]
requires-python = ">=3.11"
dependencies = [
    "datasets>=4.0.0",
    "huggingface-hub",
    "numpy",
    "openai",
    "pillow",
    "rich",
    "scipy",
    "stamina",
    "structlog",
    "tqdm",
]

[project.scripts]
ocr-bench = "ocr_bench.cli:main"

[project.optional-dependencies]
viewer = ["fastapi>=0.115", "uvicorn[standard]>=0.32", "jinja2>=3.1", "python-multipart>=0.0.9"]

[build-system]
requires = ["uv_build>=0.9.27,<0.10.0"]
build-backend = "uv_build"

[tool.ruff]
line-length = 100

[tool.ruff.lint]
select = ["E", "F", "I", "UP"]

[dependency-groups]
dev = [
    "pytest>=9.0.2",
    "ty>=0.0.17",
]