graphics/py-olmocr 0.4.27_1 FreeBSD
PDF and image OCR toolkit using visual language models
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- graphics, python
Description
olmocr is a toolkit for converting PDFs and other image-based document formats into clean, readable, plain text format.
Features: * Convert PDF, PNG, and JPEG based documents into clean Markdown * Support for equations, tables, handwriting, and complex formatting * Automatically removes headers and footers * Convert into text with a natural reading order, even in the presence of figures, multi-column layouts, and insets * Efficient, less than $200 USD per million pages converted
Install
Binary package:
pkg install py312-olmocr
From the ports tree:
cd /usr/ports/graphics/py-olmocr/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-olmocr>0:graphics/py-olmocr
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 | - | 0.4.27_1 | - | - | - |
| FreeBSD:14:quarterly | - | 0.4.27_1 | n/a | - | - |
| FreeBSD:15:latest | - | 0.4.27_1 | n/a | - | - |
| FreeBSD:15:quarterly | - | 0.4.27_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | - | 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>0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 17
pdftoppm: graphics/poppler-utils${PYTHON_PKGNAMEPREFIX}bleach>0: www/py-bleach${PYTHON_PKGNAMEPREFIX}boto3>0: www/py-boto3${PYTHON_PKGNAMEPREFIX}cached-path>0: devel/py-cached-path${PYTHON_PKGNAMEPREFIX}filelock>0: sysutils/py-filelock${PYTHON_PKGNAMEPREFIX}ftfy>0: textproc/py-ftfy${PYTHON_PKGNAMEPREFIX}httpx>0: www/py-httpx${PYTHON_PKGNAMEPREFIX}lingua-language-detector>0: textproc/py-lingua-language-detector${PYTHON_PKGNAMEPREFIX}markdown2>0: textproc/py-markdown2${PYTHON_PKGNAMEPREFIX}markdownify>0: textproc/py-markdownify${PYTHON_PKGNAMEPREFIX}orjson>0: devel/py-orjson${PYTHON_PKGNAMEPREFIX}pillow>0: graphics/py-pillow${PYTHON_PKGNAMEPREFIX}pypdf>=5.2.0: print/py-pypdf${PYTHON_PKGNAMEPREFIX}pypdfium2>0: graphics/py-pypdfium2${PYTHON_PKGNAMEPREFIX}requests>0: www/py-requests${PYTHON_PKGNAMEPREFIX}smart-open>0: net/py-smart-open${PYTHON_PKGNAMEPREFIX}zstandard>0: archivers/py-zstandard
Test 1
${PYTHON_PKGNAMEPREFIX}pytest>0: devel/py-pytest
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 589
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/minizip
- archivers/py-brotli
- archivers/py-zopfli
- archivers/py-zstandard
- archivers/snappy
- archivers/zopfli
- archivers/zstd
- audio/flac
- audio/lame
- audio/libogg
- audio/libsndfile
- audio/libsoxr
- audio/libvorbis
- audio/mpg123
- audio/opus
- audio/pulseaudio
- audio/py-SoundFile
- audio/py-librosa
- audio/py-soxr
- audio/py-torchaudio
- audio/speexdsp
- audio/webrtc-audio-processing
- comms/py-pyserial
- converters/fribidi
- converters/libiconv
- converters/py-webencodings
- databases/arrow
- databases/gdbm
- databases/postgresql18-client
- databases/py-alembic
- databases/py-pyarrow
- databases/py-pyiceberg
- databases/py-pymongo
- databases/py-sqlalchemy20
- databases/py-sqlite3
- databases/py-sqlparse
- databases/sfcgal
- databases/spatialite
- databases/sqlite3
- devel/abseil
- devel/aws-c-common
- devel/aws-c-compression
- devel/aws-c-event-stream
- devel/aws-c-http
- devel/aws-c-io
- devel/aws-c-mqtt
- devel/aws-c-s3
- devel/aws-c-sdkutils
- devel/aws-checksums
- devel/aws-crt-cpp
- devel/aws-sdk-cpp
- devel/benchmark
- devel/binutils
- devel/boost-libs
- devel/crc32c
- devel/dbus
- devel/dbus-glib
- devel/gettext-runtime
- devel/gflags
- devel/glib20
- devel/googletest
- devel/grpc
- devel/hwloc2
- devel/icu
- devel/json-c
- devel/jsoncpp
- devel/level-zero
- devel/libdaemon
- devel/libdatrie
- devel/libedit
- devel/libepoll-shim
- devel/libevdev
- devel/libevent
- devel/libffi
- devel/libinotify
- devel/libltdl
- devel/libpciaccess
- devel/librttopo
- devel/libthai
- devel/libudev-devd
- devel/libunistring
- devel/libunwind
- devel/llvm12
- devel/llvm19
- devel/llvm22
- devel/ninja
- devel/npth
- devel/nspr
- devel/onetbb
- devel/oniguruma
- devel/orc
- devel/pcre2
- devel/pkgconf
- devel/protobuf
- devel/py-Automat
- devel/py-Jinja2
The first 100 are listed.
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| olmocr-0.4.27.tar.gz | 410438 | 7da74f37a3e987f966765503c59913c2268289c9ecb14b4c5f40c89a0e8e5393 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.