Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
py-olmocr PDF and image OCR toolkit using visual language models
0.4.27_1 graphics Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.4.27_1Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-04-08 02:48:05
Last Update: 2026-06-26 20:47:44
Commit Hash: d12e352
Also Listed In: python
License: APACHE20
WWW:
https://olmocr.allenai.org/
https://github.com/allenai/olmocr
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
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}olmocr>0:graphics/py-olmocr@${PY_FLAVOR}
To install the port: #
cd /usr/ports/graphics/py-olmocr/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/py-olmocr
  • pkg install py312-olmocr
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-olmocr listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-olmocr
Package flavors (<flavor>: <package>) #
  • py312: py312-olmocr
distinfo: #
TIMESTAMP = 1775589887 SHA256 (olmocr-0.4.27.tar.gz) = 7da74f37a3e987f966765503c59913c2268289c9ecb14b4c5f40c89a0e8e5393 SIZE (olmocr-0.4.27.tar.gz) = 410438

Packages (timestamps in pop-ups are UTC): #
py312-olmocr
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest-0.4.27_1---
FreeBSD:14:quarterly-0.4.27_1---
FreeBSD:15:latest-0.4.27_1n/a-n/a
FreeBSD:15:quarterly-0.4.27_1n/a-n/a
FreeBSD:16:latest--n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools>0 : devel/py-setuptools@py312
  2. py312-wheel>0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. py312-pytest>0 : devel/py-pytest@py312
  2. python3.12 : lang/python312
Runtime dependencies: #
  1. pdftoppm : graphics/poppler-utils
  2. py312-bleach>0 : www/py-bleach@py312
  3. py312-boto3>0 : www/py-boto3@py312
  4. py312-cached-path>0 : devel/py-cached-path@py312
  5. py312-filelock>0 : sysutils/py-filelock@py312
  6. py312-ftfy>0 : textproc/py-ftfy@py312
  7. py312-httpx>0 : www/py-httpx@py312
  8. py312-lingua-language-detector>0 : textproc/py-lingua-language-detector@py312
  9. py312-markdown2>0 : textproc/py-markdown2@py312
  10. py312-markdownify>0 : textproc/py-markdownify@py312
  11. py312-orjson>0 : devel/py-orjson@py312
  12. py312-pillow>0 : graphics/py-pillow@py312
  13. py312-pypdf>=5.2.0 : print/py-pypdf@py312
  14. py312-pypdfium2>0 : graphics/py-pypdfium2@py312
  15. py312-requests>0 : www/py-requests@py312
  16. py312-smart-open>0 : net/py-smart-open@py312
  17. py312-zstandard>0 : archivers/py-zstandard@py312
  18. py312-pytorch>0 : misc/py-pytorch@py312
  19. py312-transformers>=4.57.3 : misc/py-transformers@py312
  20. py312-vllm>=0.11.2 : misc/py-vllm@py312
  21. py312-cryptography>=48.0.0,1<49,1 : security/py-cryptography@py312
  22. python3.12 : lang/python312
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
graphics_py-olmocr
USES: #
python
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/o/olmocr/
  2. https://pypi.org/packages/source/o/olmocr/
Collapse this list.

Number of commits found: 3 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.4.27_1
26 Jun 2026 20:47:44
commit hash: d12e35275486b108361f9ba0a773d611cc6a3c0ecommit hash: d12e35275486b108361f9ba0a773d611cc6a3c0ecommit hash: d12e35275486b108361f9ba0a773d611cc6a3c0ecommit hash: d12e35275486b108361f9ba0a773d611cc6a3c0e files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
graphics/py-olmocr: Fix USE_PYTHON=cryptography usage

Approved by:	portmgr (blanket)
With hat:	python
0.4.27_1
02 May 2026 12:32:48
commit hash: 7ddc6804bf4163c0a1960be8259a42f6ab0d9ef3commit hash: 7ddc6804bf4163c0a1960be8259a42f6ab0d9ef3commit hash: 7ddc6804bf4163c0a1960be8259a42f6ab0d9ef3commit hash: 7ddc6804bf4163c0a1960be8259a42f6ab0d9ef3 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
*: Bump PORTREVISION on Poppler's consumers
0.4.27
08 Apr 2026 02:45:26
commit hash: c61790d933741f0db49e7715d3a4fe64e689b945commit hash: c61790d933741f0db49e7715d3a4fe64e689b945commit hash: c61790d933741f0db49e7715d3a4fe64e689b945commit hash: c61790d933741f0db49e7715d3a4fe64e689b945 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
graphics/py-olmocr: New port: PDF and image OCR toolkit using visual language
models

Number of commits found: 3