numpy>=1.24.0
Pillow>=10.0.0
pyclipper>=1.3.0
pymupdf<2.0,>=1.23.1
huggingface_hub>=0.20.0

[:(sys_platform != "linux" or platform_machine != "x86_64" or python_version < "3.10") and (sys_platform != "win32" or platform_machine != "AMD64" or python_version < "3.10")]
onnxruntime>=1.19.0

[:(sys_platform == "linux" and platform_machine == "x86_64" and python_version >= "3.10") or (sys_platform == "win32" and platform_machine == "AMD64" and python_version >= "3.10")]
onnxruntime-gpu>=1.19.0

[:sys_platform != "darwin"]
opencv-python-headless<4.12,>=4.10.0.84

[:sys_platform == "darwin" and (platform_machine != "x86_64" or python_version >= "3.13")]
opencv-python-headless==4.10.0.84

[:sys_platform == "darwin" and platform_machine == "x86_64" and python_version < "3.13"]
opencv-python-headless==4.9.0.80
numpy<2

[gpu]

[gpu:(sys_platform == "linux" and platform_machine == "x86_64" and python_version >= "3.10") or (sys_platform == "win32" and platform_machine == "AMD64" and python_version >= "3.10")]
onnxruntime-gpu[cuda,cudnn]>=1.21

[unwarp]
