Are you sure you want to go to an external site to donate a monetary value?
WARNING: Some countries laws may supersede the payment processors policy such as the GDPR and PayPal. While it is highly appreciated to donate, please check with your countries privacy and identity laws regarding privacy of information first. Use at your utmost discretion.
I want to load and start this project via greasemonkey and using files from local example 'worker.js/eng.traineddata.gz/' but can't load can load only tesseract.js but can't make and startup working path core path
Load/Work On WebUI : http://tesseract.projectnaptha.com/
GitHub : https://github.com/naptha/tesseract.js
Issuse : https://github.com/naptha/tesseract.js/issues/217
// ==UserScript== // @name http://tesseract.projectnaptha.com/ // @namespace http://tesseract.projectnaptha.com/ // @description http://tesseract.projectnaptha.com/ // @require https://cdn.rawgit.com/naptha/tesseract.js/1.0.10/dist/tesseract.js // @require https://cdn.rawgit.com/naptha/tesseract.js/1.0.7/dist/worker.js // @require https://cdn.rawgit.com/naptha/tessdata/gh-pages/3.02/eng.traineddata.gz // @require https://cdn.rawgit.com/naptha/tesseract.js-core/0.1.0/index.js // @include * // @Version 1 // @grant none // ==/UserScript== window.Tesseract = Tesseract.create({ workerPath: 'file:///E:/Program%20Files%20(x86)/Mozilla%20Firefox/profile/profile.default/gm_scripts/tesseract.projectnaptha.com/worker.js', langPath: 'file:///E:/Program%20Files%20(x86)/Mozilla%20Firefox/profile/profile.default/gm_scripts/tesseract.projectnaptha.com/eng.traineddata.gz', corePath: 'file:///E:/Program%20Files%20(x86)/Mozilla%20Firefox/profile/profile.default/gm_scripts/tesseract.projectnaptha.com/index.js', }); Tesseract.recognize('base64 IMAGE').then(function(result){ alert(result.text) })
Re: @DarKZonEDZ:
Please remember to do a code fence around your code blocks. An example exists at this FAQ. One has been added to your comment so it is readable.
Thank you,
OUJS Admin
Firefox does not allow WebExtensions to have random access to the hard drive. Storage interfaces are tightly constrained for security reasons.