# Generated by makepkg 7.1.0
# Sat Aug  8 23:56:09 UTC 2026
pkgbase = python-rapidocr
	pkgdesc = Cross-runtime OCR library
	pkgver = 3.9.2
	pkgrel = 1
	url = https://github.com/RapidAI/RapidOCR
	arch = any
	license = Apache-2.0
	makedepends = python-build
	makedepends = python-installer
	makedepends = python-setuptools
	depends = python>=3.8
	depends = python-pyclipper>=1.2.0
	depends = python-opencv>=4.5.1.48
	depends = python-numpy>=1.19.5
	depends = python-numpy<3.0.0
	depends = python-six>=1.15.0
	depends = python-shapely>=1.7.1
	depends = python-yaml
	depends = python-pillow
	depends = python-tqdm
	depends = python-omegaconf
	depends = python-requests
	depends = python-colorlog
	optdepends = python-onnxruntime: Recommended runtime
	optdepends = python-onnxruntime-cpu: Faster than GPU-accelerated onnxruntime (https://github.com/microsoft/onnxruntime/issues/13198)
	optdepends = python-openvino: Supported runtime
	optdepends = python-paddlepaddle: Supported runtime
	optdepends = python-pytorch: Supported runtime
	source = https://github.com/RapidAI/RapidOCR/archive/v3.9.2.tar.gz
	source = https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/v3.9.2/onnx/PP-OCRv6/det/PP-OCRv6_det_small.onnx
	source = https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/v3.9.2/onnx/PP-OCRv4/cls/ch_ppocr_mobile_v2.0_cls_mobile.onnx
	source = https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/v3.9.2/onnx/PP-OCRv6/rec/PP-OCRv6_rec_small.onnx
	source = pyproject.toml.patch
	b2sums = cf5a1b6bd85802bb194777e58a53f20791713630226b76dcd22110c3155a97e6cc37f427a1e88907bd5ed49577bcf410a1b08bf048de7c0b39a97e423d3e6953
	b2sums = 22409f1a00b806c03ceefa0a75bb6c43950e7627f33348944ac769a71b9ee8caa6d3142021a56e0a668a13f9ac14fb3486257293397a1c4c32494ca422b25f82
	b2sums = f0c251313ce88e8ce74ebc995e3d7488541727ac9d242db4089bef7c131b0a8d59e7a322b592f5f07e5702e8d58e232510103f18438b5cb8cbfbb285cd3290a6
	b2sums = 267c40f15280dcfac6930ef69d3106c950c425c1af76c776eedda4fbba7133676b9490f503a212fe73b97f2fd87808430f49bfc6ffda1eadc1f940d0b2a6a84a
	b2sums = 06fdefd3dd0357eec4b82c84ee12369231c2182e005f4b2053077377014fb538981a5b0fb48fa1b53352b736866a86a2fb3367fcc65ba9f283bd796bd5f252d3

pkgname = python-rapidocr
