Keras adds virtually no overhead over torch actually… the torch backend numbers are much worse simply because Keras + torch is not compiled by default, whereas the native torch models were compiled with the best compilation config we found. Keras + torch has essentially the
OPEN SOURCE
-
Exploring local AI alternatives to cloud API dependencies
By
–
Yeah I've been defaulting to those because they're convenient, but I want to explore the other options – especially the ones I can run locally if I want as insurance against the API shutting down someday
-
Free OCR tool for PDFs and images with practical limitations
By
–
Yeah, I wrote about those limitations in my post https://
simonwillison.net/2024/Mar/30/oc
r-pdfs-images/
… It's not state-of-the-art, but it's aiming to be the most convenient possible (free) option for people who don't have anything better -
Expanding Tesseract.js Language Support in OCR Tool
By
–
Tesseract.js works with other languages, but I've not exposed that in my tool yet – I should do that!
-
textract-cli: Lightweight AWS Textract Command Line Wrapper
By
–
My other OCR project from yesterday: textract-cli, a tiny CLI wrapper around AWS's amazing but so-hard-to-use Textract API https://
github.com/simonw/textrac
t-cli
… Assuming you have AWS credentials configured: pipx install textract-cli
textract-cli image.jpeg > output.txt <5MB JPEG/PNGs only -
Signal addresses security bug reports through official channels
By
–
The ‘actual user’ has not shared debug logs or reached out to us either at support@signal.org or security@signal.org—two widely publicized channels—before blasting conjecture on Twitter. Meanwhile we’ve seen this behavior in other reports, looked into it & are working on a fix.
-
Ancient Open Source Libraries Power Modern AI Applications
By
–
Also neat is that the enabling libraries here – Tesseract.js and PDF.js – are both pretty old at this point: First commit to Tesseract.js was Jun 26, 2015 https://
github.com/naptha/tessera
ct.js/commit/906ce3cadbffaf5f7317a4418f282c4b78bf8385
… First to PDF.js was Apr 25, 2011 https://
github.com/mozilla/pdf.js
/commit/6dc1770bba7a417ce5664c0305469e5bb7ea76bd
… -
Tesseract.js and PDF.js: Decade-Old Libraries Still Relevant
By
–
I love that both the libraries I'm using here – Tesseract.js and PDF.js – are nearly ten years old!
-

Browser-based OCR tool using Tesseract.js and PDF.js
By
–
I built a new tool! It's a single page web app that runs OCR against images and PDFs entirely in your browser (no file upload needed) using Tesseract.js and PDF.js
— Simon Willison (@simonw) 30 mars 2024
You can drop files onto it, or you can click to select and open them (which works on Mobile Safari as well) pic.twitter.com/HVeFtEXNMmI built a new tool! It's a single page web app that runs OCR against images and PDFs entirely in your browser (no file upload needed) using Tesseract.js and PDF.js You can drop files onto it, or you can click to select and open them (which works on Mobile Safari as well)