You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A version that can run offline would be fantastic. It would be a tiny bit tricky to get versions of PDF.js and Tesseract.js (and their supporting files) that work like that, but it should absolutely be possible.
Ideally offer this as a zip file for people to download and run locally.
Could it be done such that it works from opening a HTML file in a browser, rather than needing a localhost web server? I don't think that works right now, but it may be possible with a bit more thought or some weird bundler magic.
The text was updated successfully, but these errors were encountered:
It would be a tiny bit tricky to get versions of PDF.js and Tesseract.js (and their supporting files) that work like that
Chrome -> Network tab -> save as HAR -> use a tool to extract HAR -> files
Firefox -> Network tab -> save as HAR -> use a tool to extract HAR -> files
{Browser} -> Network tab -> save as HAR -> use a tool to extract HAR -> files
Then link to those files.
I Think I must be missing something here. Is this like polyfill.js where the remote CDN is detecting the browser and serving slightly altered payloads?
Currently https://tools.simonwillison.net/ocr loads assets from a CDN.
A version that can run offline would be fantastic. It would be a tiny bit tricky to get versions of PDF.js and Tesseract.js (and their supporting files) that work like that, but it should absolutely be possible.
Ideally offer this as a zip file for people to download and run locally.
Could it be done such that it works from opening a HTML file in a browser, rather than needing a
localhost
web server? I don't think that works right now, but it may be possible with a bit more thought or some weird bundler magic.The text was updated successfully, but these errors were encountered: