Skip to content

franken_ocr

CPU-only OCR engine in Rust for documents, charts and sheet music, no GPU or Python

Permissive (OSI) · MIT AI-native

Listed by , founder & editor

70

Health

Active

Overview

Stars

350

Last commit

15 days ago

Nov 2026

Repository age

5 months

since Jun 2026

Latest version

v0.10.0

Nov 2026

Contributors

–

1 active in 90 days

Releases

22

last 12 months

Language

Rust

franken_ocr is a Rust library and single-binary command line tool, focr, that runs OCR vision-language models on the CPU. It needs no Python, CUDA, general ML framework or GPU at inference. Model weights are installed separately with focr pull, and after that it works offline.

It runs a small set of hand-ported models. Baidu Unlimited-OCR is the default for document pages, GOT-OCR2 handles structured formats, SmolVLM2 handles image description and visual question answering, OneChart pulls data from charts, and Polyphonic-TrOMR converts scanned sheet music into MusicXML. Checkpoints are converted to custom int8 .focrq artifacts and run through kernels written for each model's shapes. SIMD topics include AVX512 and NEON.

Release binaries cover macOS (Apple Silicon and Intel), Linux (x86-64 and ARM64) and Windows (x86-64 and ARM64), at roughly 13 to 17 MB each. It is MIT licensed. It suits people who want local OCR instead of a cloud OCR service.

Who it's for

Developers embedding OCR in CI or agent hosts

A single binary with no GPU or Python stack is easy to ship to machines that lack a usable GPU.

Skip if: You already run a GPU stack and want the reference Python implementation.

Privacy-minded users digitizing documents offline

After weights are pulled, inference runs locally without sending pages anywhere.

Skip if: You need a polished graphical app rather than a command line tool.

Musicians converting scanned scores

The music task turns full sheet-music pages or staff crops into MusicXML.

Skip if: You need broad, proven notation coverage from a mature desktop scanner.

The problem it solves

Strong document OCR models usually need Python and CUDA, which is heavy to ship and awkward on laptops, CI runners and edge boxes without a GPU. This project runs them on the CPU from one small binary.

Strengths

  • Single binary with no Python, CUDA, FFI at inference or GPU
  • Release binaries for macOS, Linux and Windows on x86-64 and ARM64
  • Five models: document OCR, structured formats, VQA, charts and sheet music
  • Release assets are verified by SHA256 on install
  • MIT license

Trade-offs

  • Project started in 2026 and has one recent contributor
  • The Unlimited-OCR artifact is about 4.16 GB to download
  • Release does not claim a three-party signed certificate
  • Hand-ported models cover only a small, fixed set

Self-host franken_ocr

Self-hostable
No (desktop or local app)

Quick start

curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/franken_ocr/main/install.sh | bash

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free?

Yes. It is released under the MIT license.

Does it need a GPU?

No. It runs on the CPU and needs no CUDA, Python or ML framework.

Which platforms are supported?

Release binaries exist for macOS on Apple Silicon and Intel, Linux on x86-64 and ARM64, and Windows on x86-64 and ARM64.

Does it work offline?

Yes, once you have installed model weights with focr pull, inference is offline.

Similar tools in OCR and text recognition

Kaku

OCR and text recognition

Android Japanese dictionary that reads kanji on screen with OCR, for learners reading raw

242 46 5 years ago Dormant BSD-3-Clause

QuickSnip

OCR and text recognition

Screen snipping and OCR tool for Wayland desktops running Quickshell

169 7 26 days ago Active MIT

TeX Match

OCR and text recognition

Offline desktop tool for finding LaTeX symbols by drawing them

161 30 5 years ago Dormant MIT

notion-ocr

OCR and text recognition

Command-line tool that adds searchable OCR text beneath images in Notion pages

148 4 6 years ago Dormant BSD-3-Clause

paddleocr-local

OCR and text recognition

Local document workbench that turns PDFs, images and Office files into editable Markdown

142 33 23 days ago Slowing Apache-2.0

OCR (Tesseract)

OCR and text recognition

Android OCR service that other apps call through Intents, using Tesseract or ML Kit

86 17 2 years ago Dormant Apache-2.0