10 ms·
Show HN: Local-first fast CPU image to text for screenshots, PDFs, webpages
- vivzkestrel 3mo ago- how well do you think this ll work with code? i mean take code screenshots and convert it into actual code for vscode
- mrkn1 3mo agoJust ran textsnap "https://i.ytimg.com/vi/LBNDfxjEYlA/maxresdefault.jpg" and got this $('.count').each(function () { $('this').prop('Counter', 0).animate({ Counter: $('this').text() }, { duration: 4000, easing: 'swing', step: 'function (now) { $('this").text(Math.ceil(now)); } }); });
- garrett2558 3mo agoVery cool, I'm building my own local-first product as well
- mrkn1 3mo agothank you! what is it about?
- abstract257 3mo agoCurious how it does on multi-page scanned PDFs vs. single screenshots? The ORT vision/decoder split is the part that usually makes or breaks CPU VLM OCR...
- krunck 3mo agoI had to extract the image from a PDF for it to work. Then run it on each page image extracted.
- abstract257 3mo agoThanks
- BIGFOOT_EXISTS 3mo agoNow this is legit cool, keep up the great work.
- mrkn1 3mo agothank you!
- kouru225 3mo agoRoman alphabet only or does this work with other alphabets?
- mrkn1 3mo ago109 languages, including other alphabets.
- monosma 3mo agoWhat was the reason for adopting PaddleOCR? Can other OCR models be used as well?
- mrkn1 3mo agoNo reason other than their Q4 model working reasonably well and fast on my CPU laptop. Should work with any ONNX VLM model
- KetoManx64 3mo agoWhat's the performance like compared to tesseract? I don't see tesseract mentioned anywhere in the readme, which is surprising considering that's the number one tool most go to for Image > text OCR.
- mrkn1 3mo agoNo rigorous eval, and I love Tesseract. Here's the example that motivated me to build textsnap (which is in the github's README), parsed with Tesseract: https://imgur.com/a/i2eQra8 https://imgur.com/a/i2eQra8
- KetoManx64 3mo agoVery noticable difference and the exact issue I run repeatedly with tesseract! Definitely going to try dropping textsnap into my scripts now. Thanks!!
- lavaman131 3mo agoThis is awesome! Been needing something like this for some research paper diagrams I've been indexing.
- nabertronic 3mo ago[dead]