1
Good guys. I have this mistake :
Adaptedtemplates != NULL:Error:Assert failed:in file .. /Classify/adaptmatch.cpp, line 190 index.js:8 Uncaught abort() at Error At na (https://c Dn. rawgit.com/naptha/Tesseract.js-core/0.1.0/index.js:36:26) At object.ka [as abort] (https:/ /c Dn. rawgit.com/naptha/Tesseract.js-core/0.1.0/index.js:511:108) at _abort (h ttps://Cdn.rawgit.com/naptha/Tesseract.js-core/0.1.0/index.js:377:173) at $L (h ttps://Cdn.rawgit.com/naptha/Tesseract.js-core/0.1.0/index.js:387:55709) at jpa (h ttps://Cdn.rawgit.com/naptha/Tesseract.js-core/0.1.0/index.js:392:22274) at lt (h ttps://Cdn.rawgit.com/naptha/Tesseract.js-core/0.1.0/index.js:391:80568) at Mt (h ttps://Cdn.rawgit.com/naptha/Tesseract.js-core/0.1.0/index.js:391:80700) At array.BS (h ttps://Cdn.rawgit.com/naptha/Tesseract.js-core/0.1.0/index.js:391:69011) at bp (h ttps://Cdn.rawgit.com/naptha/Tesseract.js-core/0.1.0/index.js:387:110121) at jt (h ttps://Cdn.rawgit.com/naptha/Tesseract.js-core/0.1.0/index.js:391:80280) If this abort() is Unexpected, build with -s ASSERTIONS=1 which can Give more information.
I am creating langPath and applying it as follows.
window.Tesseract = Tesseract.create({
langPath: '/app/modules/teste/tessdata/'
})
Tesseract.recognize(file, {
lang: 'Inconsolata',
tessedit_char_whitelist: '0123456789',
langPath : '/app/modules/teste/tessdata/'
})
.progress(function(packet){
console.info(packet)
console.log('é aqui? ^');
progressUpdate(packet)
})
.then(function(data){
console.log(data)
console.log('ou aqui aqui? ^')
progressUpdate({ status: 'done', data: data })
});
The folder is with permission. I don’t know what might be wrong Someone ?
Ben coming to Stack Overflow, please specify better what you are doing, share part of your code that causes the error.. abs.
– Thiago Loureiro
I changed the question there see if you can help me
– Alef Lourenço