<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>OCR on arun.zechariah</title><link>https://zech.in/tags/ocr/</link><description>Recent content in OCR on arun.zechariah</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://zech.in/tags/ocr/index.xml" rel="self" type="application/rss+xml"/><item><title>Testing OCRia-nano-1: Document OCR That Runs in the Browser</title><link>https://zech.in/posts/ocria-nano-in-browser-ocr-demo/</link><pubDate>Tue, 01 Dec 2026 00:00:00 +0000</pubDate><guid>https://zech.in/posts/ocria-nano-in-browser-ocr-demo/</guid><description>&lt;p&gt;I&amp;rsquo;ve set up a Hugging Face Space to try out &lt;a href="https://huggingface.co/llamaindex/OCRia-nano-1" class="external-link" target="_blank" rel="noopener"&gt;OCRia-nano-1&lt;/a&gt;, LlamaIndex&amp;rsquo;s small (8.1M-parameter) document-parsing model:&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;&lt;a href="https://huggingface.co/spaces/ajzack/ocria-nano-demo" class="external-link" target="_blank" rel="noopener"&gt;ajzack/ocria-nano-demo&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;The interesting part is that everything runs &lt;strong&gt;client-side&lt;/strong&gt;. The Space is a static HTML/JS page that uses &lt;a href="https://www.npmjs.com/package/@llamaindex/liteparse-wasm" class="external-link" target="_blank" rel="noopener"&gt;@llamaindex/liteparse-wasm&lt;/a&gt;, so the OCR happens in your browser through WebAssembly. Documents never leave your device. That matters for work like ours, where scanned clinical or administrative documents can&amp;rsquo;t be uploaded to a third-party server.&lt;/p&gt;&#10;&lt;h2 id="what-it-does"&gt;&#10; What it does&#10; &lt;a class="heading-link" href="#what-it-does"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Input:&lt;/strong&gt; a PDF or an image (PNG, JPG, TIFF, WebP)&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Output:&lt;/strong&gt; Markdown (with tables, headings and lists), plain text, or JSON with per-line bounding boxes and confidence scores&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Visual overlays:&lt;/strong&gt; detected text lines on each page, colour-coded by OCR confidence, plus layout blocks (headings, paragraphs, tables, lists)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="footprint"&gt;&#10; Footprint&#10; &lt;a class="heading-link" href="#footprint"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;The models are tiny by current standards. They download from the model repo on first use and are checked against SHA-256 hashes:&lt;/p&gt;</description></item></channel></rss>