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
Tesseract fails on line 123 when it attempts to call the debug method.
var Tesseract = require('tesseract.js');
var myImage = './screenshot_05.png';
Tesseract.detect(myImage)
.progress(function(message){
console.log('progress is: ', message)
});
~/code/tesseract_test $ node index.js
progress is: { status: 'loading tesseract core' }
progress is: { status: 'loaded tesseract core' }
progress is: { status: 'initializing tesseract', progress: 0 }
pre-main prep time: 67 ms
progress is: { status: 'initializing tesseract', progress: 1 }
progress is: { status: 'loading osd.traineddata', progress: 1 }
Number of blobs post-filtering = 91
Number of blobs to try = 91
/Volumes/HOME/Users/pj/code/tesseract_test/node_modules/tesseract.js/src/index.js:123
if(this._resolve.length === 0) console.debug(data);
^
TypeError: console.debug is not a function
at TesseractJob._handle (/Volumes/HOME/Users/pj/code/tesseract_test/node_modules/tesseract.js/src/index.js:123:43)
at TesseractWorker._recv (/Volumes/HOME/Users/pj/code/tesseract_test/node_modules/tesseract.js/src/index.js:71:21)
at ChildProcess.<anonymous> (/Volumes/HOME/Users/pj/code/tesseract_test/node_modules/tesseract.js/src/node/index.js:14:18)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at process.nextTick (internal/child_process.js:744:12)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
The text was updated successfully, but these errors were encountered:
node v6.8.1 supports:
Tesseract fails on line 123 when it attempts to call the debug method.
The text was updated successfully, but these errors were encountered: