graphics/py-rapidocr 3.9.2 FreeBSD
OCR toolkit using PaddleOCR models with ONNX Runtime
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
8852f79ac0- License
- APACHE20
- Categories
- graphics, python
- Package size
- 336.0 KiB, 1983.1 KiB installed
Description
RapidOCR provides the text detection and recognition models of PaddleOCR converted to ONNX, so they can be run without the PaddlePaddle framework. ONNX Runtime, OpenVINO, MNN, PaddlePaddle and PyTorch are supported as inference engines.
Detection locates the text boxes in an image, recognition reads the text inside them. Models for Chinese, English, Japanese, Korean and further languages are fetched on demand.
Install
Binary package:
pkg install py312-rapidocr
From the ports tree:
cd /usr/ports/graphics/py-rapidocr/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-rapidocr>0:graphics/py-rapidocr
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.9.2 | 3.9.2 | - | - | 3.9.2 |
| FreeBSD:14:quarterly | 3.9.2 | 3.9.2 | n/a | - | 3.9.2 |
| FreeBSD:15:latest | 3.9.2 | 3.9.2 | n/a | - | - |
| FreeBSD:15:quarterly | 3.9.2 | 3.9.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.9.2 | 3.9.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 11
${PYTHON_PKGNAMEPREFIX}colorlog>0: devel/py-colorlog${PYTHON_PKGNAMEPREFIX}numpy>=1.19.5: math/py-numpy${PYTHON_PKGNAMEPREFIX}omegaconf>0: devel/py-omegaconf${PYTHON_PKGNAMEPREFIX}pillow>0: graphics/py-pillow${PYTHON_PKGNAMEPREFIX}pyclipper>=1.2.0: math/py-pyclipper${PYTHON_PKGNAMEPREFIX}pyyaml>0: devel/py-pyyaml${PYTHON_PKGNAMEPREFIX}requests>0: www/py-requests${PYTHON_PKGNAMEPREFIX}shapely>=1.7.1: devel/py-shapely${PYTHON_PKGNAMEPREFIX}six>=1.15.0: devel/py-six${PYTHON_PKGNAMEPREFIX}tqdm>0: misc/py-tqdm${PYTHON_SITELIBDIR}/cv2/__init__.py: graphics/opencv
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 157
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/minizip
- archivers/zstd
- converters/fribidi
- converters/libiconv
- databases/postgresql18-client
- databases/sfcgal
- databases/spatialite
- databases/sqlite3
- devel/binutils
- devel/boost-libs
- devel/boost-python-libs
- devel/gdcm
- devel/gettext-runtime
- devel/gflags
- devel/glib20
- devel/glog
- devel/icu
- devel/json-c
- devel/libedit
- devel/libffi
- devel/libinotify
- devel/libltdl
- devel/libpciaccess
- devel/librttopo
- devel/libudev-devd
- devel/libunistring
- devel/libunwind
- devel/npth
- devel/nspr
- devel/opencl
- devel/orc
- devel/pcre2
- devel/pkgconf
- devel/py-colorlog
- devel/py-olefile
- devel/py-omegaconf
- devel/py-packaging
- devel/py-pyyaml
- devel/py-shapely
- devel/py-six
- devel/readline
- dns/libidn2
- dns/libpsl
- dns/py-idna
- ftp/curl
- graphics/gd
- graphics/gdal
- graphics/gdk-pixbuf2
- graphics/geos
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libavif
- graphics/libdrm
- graphics/libexif
- graphics/libgeotiff
- graphics/libgphoto2
- graphics/libimagequant
- graphics/libyuv
- graphics/opencv
- graphics/openexr
- graphics/openjpeg
- graphics/openjph
- graphics/png
- graphics/poppler
- graphics/poppler-data
- graphics/proj
- graphics/py-pillow
- graphics/tiff
- graphics/webp
- lang/gcc14
- lang/python312
- lang/python315
- lang/tcl86
- math/Imath
- math/ceres-solver
- math/gmp
- math/libtommath
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- math/py-pyclipper
- math/qhull
- math/suitesparse-amd
- math/suitesparse-camd
- math/suitesparse-ccolamd
- math/suitesparse-cholmod
- math/suitesparse-colamd
- math/suitesparse-config
- math/suitesparse-cxsparse
- math/suitesparse-spqr
- misc/hwdata
The first 100 are listed.
Required by 17
- textproc/py-docling
- textproc/py-docling-agent
- textproc/py-docling-analysis-framework
- textproc/py-docling-cvat-tools
- textproc/py-docling-demo
- textproc/py-docling-enhanced-onnx
- textproc/py-docling-eval
- textproc/py-docling-glm-ocr
- textproc/py-docling-graph
- textproc/py-docling-haystack
- textproc/py-docling-hierarchical-pdf
- textproc/py-docling-langchain
- textproc/py-docling-litellm-picture-description
- textproc/py-docling-ocr-mistral
- textproc/py-docling-ocr-onnxtr
- textproc/py-docling-sdg
- www/immich-ml
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| RapidAI-RapidOCR-v3.9.2_GH0.tar.gz | 2.180973e+06 | 0342bb616322661038eec54e6d14935a09e13fd0bcfecc7d8c3faf16e34fa805 |