numpy>=1.21
opencv-python>=4.5.0
Pillow>=8.0.0
shapely>=1.8
pydantic>=2.0
anytree<3,>=2.13
PyYAML>=6.0
tqdm>=4.60
packaging>=21

[cpu]

[cpu:sys_platform != "emscripten"]
onnxruntime>=1.16

[dev]
torch>=1.13
torchvision>=0.14
onnx>=1.12
onnxscript
onnxsim>=0.4
transformers<6,>=4.38
tokenizers<1,>=0.15
scikit-image>=0.19
numba>=0.56
gdown>=4.4
torch-optimizer>=0.1
evaluate>=0.4
jiwer>=2.2
matplotlib>=3.3
albumentations>=1.0
tensorboard>=2.4
pandas>=1.3.0
pytest>=7
pytest-cov>=4
black>=22
flake8>=5
isort>=5.10
mypy>=0.991
sphinx>=5
sphinx-rtd-theme>=1
numpydoc>=1.5
sphinx-autodoc-typehints>=1.24
sphinxcontrib-mermaid>=0.9
build>=0.8
setuptools>=61
wheel
twine>=4

[fast]

[fast:sys_platform != "emscripten"]
numba>=0.56

[gdrive]

[gdrive:sys_platform != "emscripten"]
gdown>=4.4

[gpu]

[gpu:sys_platform != "emscripten"]
onnxruntime-gpu>=1.16

[silicon]

[silicon:sys_platform != "emscripten"]
onnxruntime>=1.16

[trocr]
tokenizers<1,>=0.15

[trocr-cuda]
tokenizers<1,>=0.15
torch>=2.0

[web]
