numpy<3,>=2
pillow<13,>=12
opencv-python<5,>=4.10
rapidocr==3.5.0
transformers==4.55.4
tokenizers==0.21.4

[cpu]
onnxruntime<1.30,>=1.20

[dev]
ruff>=0.8
build>=1.2
twine>=5.0

[directml]

[directml:platform_system == "Windows"]
onnxruntime-directml<1.30,>=1.20

[gpu]
onnxruntime-gpu<1.30,>=1.27

[gpu-cu12]
onnxruntime-gpu<1.27,>=1.21

[openvino]

[openvino:platform_system == "Windows" or platform_system == "Linux"]
onnxruntime-openvino<1.30,>=1.20

[pandoc]
pypandoc>=1.15
