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
Hi,
I try to use your script in NodeJs but I can't integrate a callback with it.
When I make OCRAD(canvas, {numeric: true}, function(){console.log("test")})
I have an error :
/home/john/ocrad.js:1
aughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}))}els
^
ReferenceError: window is not defined
at createWebWorkerFromString (/home/john/ocrad.js:43:34894)
Is it possible to call a callback after OCRAD's work is done with NodeJs ?
Thanks for your time
The text was updated successfully, but these errors were encountered:
Hi,
I try to use your script in NodeJs but I can't integrate a callback with it.
When I make OCRAD(canvas, {numeric: true}, function(){console.log("test")})
I have an error :
/home/john/ocrad.js:1
aughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}))}els
^
ReferenceError: window is not defined
at createWebWorkerFromString (/home/john/ocrad.js:43:34894)
Is it possible to call a callback after OCRAD's work is done with NodeJs ?
Thanks for your time
The text was updated successfully, but these errors were encountered: