9 comments

  • rickcarlino43 minutes ago
    Is Tesseract still the best choice for local OCR in 2026? I was always underwhelmed with its real-world performance.
  • kalinkochnev20 minutes ago
    Does anyone have suggestions on how I could OCR lots of handwritten math notes with diagrams? I have tons of PDFs waiting for me to manually type them myself and can't justify dedicating weeks to do it.
    • nshotton7 minutes ago
      you could try using a local vision model, like Mage-VL from microsoft. Its only a 5b model so its quite small for the capability it has.
  • Barbing6 hours ago
    <p><pre><code> “Pin a region once. Hit a hotkey on every page. Get the whole book as text.” </code></pre> Much better than the old definition of “region lock”, nice.<p>HN isn’t a fan of the generated readmes though, though vibed software (thoroughly used) can be all good.
    • thiagolima6 hours ago
      it can also auto paginate for you, no need to keep hitting the hotkey every page. It can paginate by hotkey, xy point on screen or selector.
      • Barbing5 hours ago
        But only you and your fingers (or voice!) can address that other glaring point that killed your other comments to the point only those of us with showdead in our settings will see them :)<p>OK yeah seemed tedious so figured that must’ve not been the only way [probably if you handwrite you could clear that up beforehand]
        • s3p43 minutes ago
          What other glaring point? I&#x27;m confused.
          • Barbing20 minutes ago
            &gt;HN isn’t a fan of the generated readmes though<p>&amp; the comment here <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49415857">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49415857</a> actually violated the guideline as noted by another here <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49417725">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49417725</a><p>Note since I last posted: looks like someone vouched for the comment posted by the account created at the same time as OP’s post, so no longer dead
  • tobinfekkes6 hours ago
    Also available natively to the OS (Windows) with PowerToys, if you want an alternative to a browser extension. One of the unsung heroes of that library.<p>Jury is still out on which is more trustworthy handling any personal data, Microsoft or Google. Neither.
    • agilob3 hours ago
      And Plasma Spectacle does it too
  • harsh_patel147 hours ago
    This is handy — I&#x27;ve hit this exact issue prepping documents for LLM context. How&#x27;s the accuracy on lower quality scans?
    • thiagolima6 hours ago
      Haven&#x27;t tested rough scans honestly — my own use is rendered text, the easy case, where it&#x27;s 93-95% confidence. I&#x27;ve been feeding it Kindle trading books into my finance app to compare strategies against my codebase, and an LLM is forgiving of the odd mangled word. Each page shows its confidence and a thumbnail of what was captured, so bad pages are obvious rather than silently wrong. Let me know how it does on low-quality scans if you try it.
  • shimonabi4 hours ago
    <a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;powertoys&#x2F;text-extractor" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;powertoys&#x2F;text-ext...</a>
  • jbverschoor4 hours ago
    Is this similar to CleanshotX?
  • thiagolima7 hours ago
    Half the context I want to give a model is locked inside something I can&#x27;t select from: a scanned book, a slide deck, a course viewer, a &quot;PDF&quot; that&#x27;s really page images. Copy-paste gets you nothing, and screenshotting 200 pages by hand isn&#x27;t a plan.<p>OCR It is a Chrome extension for that gap. You drag out a capture region once — the text block of the reader, say. After that, one hotkey per page screenshots that exact rectangle, OCRs it, and appends the result to a running transcript. Or start an auto-run and it captures, turns the page, and repeats until the document ends. Then Copy all, or Download .txt, and you have a file to paste into Claude or drop into an agent&#x27;s context.<p>Everything runs locally. Tesseract&#x27;s wasm build and the language data (~10 MB) are committed into the extension, so there are no network requests at all, no API key, and no host permissions at install — single captures ride on activeTab. The irony of an AI-adjacent tool that never talks to a server was not lost on me, but the pages you&#x27;re capturing are often exactly the ones you don&#x27;t want to ship to a third party.<p>Three things turned out more interesting than expected:<p>- MV3 service workers have no DOM and no Worker, so cropping and OCR live in an offscreen document.<p>- The next-page control is stored as a <i>point</i>, not a CSS selector. A point survives DOM re-renders and reaches into cross-origin iframes and shadow roots, which nothing the top frame can express does. Routing it was the fiddly part: window.screenX inside an iframe reports the browser window, not the frame, so frames locate themselves by walking same-origin ancestors, and across an origin boundary the parent hands the offset down by postMessage.<p>- The auto-run waits for each page&#x27;s OCR before turning. That&#x27;s what makes end-of-document detection work; a timer-based loop sails past the last page and fills your transcript with copies of it.<p>Limitations: Chrome&#x27;s own PDF viewer can&#x27;t be auto-advanced (it&#x27;s a plugin no extension can inject into, though capturing from it works fine); the region is a fixed rectangle on screen, so resizing or zooming mid-run breaks it; and accuracy tracks the source — crisp rendered text reads at 93-95% confidence, scans need cleanup before they&#x27;re worth feeding to anything.<p>Tests drive a real headless Chrome over CDP, which had its own surprises: Chrome 137+ ignores --load-extension, and headless can&#x27;t show the optional-permission prompt, so the suite installs a copy with the grant baked in plus a real toolbar click via Extensions.triggerAction to prove the ungranted path still works.<p>MIT, no build step: <a href="https:&#x2F;&#x2F;github.com&#x2F;thiagotigaz&#x2F;ocr-it" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;thiagotigaz&#x2F;ocr-it</a>
    • johndough3 hours ago
      <p><pre><code> Don&#x27;t post generated text or AI-edited text. HN is for conversation between humans. </code></pre> <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html</a>