-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
I think this would be an amazing feature. I often take screenshots or photos of text and it would be nice to be able to export it to text. Tesseract.js seems like a good choice and here is an electron example. It seems pretty simple to implement based on the electron example.
The training data is 22 MB in the electron example (or more/less depending on language support and best (eng: 12mb) vs fast (eng: 1.9mb)), though, so an optional download may be necessary if you think that unnecessarily bloats the installer.
I don't know how electron packages its dependencies, but it seems as easy as npm install tesseract.js
. Thanks for this amazing software!
edit: Hmm, maybe this should go to ckeditor. However, perhaps this can be added in the trilium app?