--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/57177753-a4f5-4411-900b-ac88e1676fec%40googlegroups.com.
On Tue, Sep 3, 2019 at 4:28 PM Timothy Snyder <tc...@zips.uakron.edu> wrote:
10 seconds of investigation yielded an FAQ page from the repo explaining how tesseract.js maintains .traineddata files.
On Tue, Sep 3, 2019 at 4:21 PM Clint William Theron <theroncli...@gmail.com> wrote:
just give me clue!--
On Monday, September 2, 2019 at 11:07:20 PM UTC+2, Clint William Theron wrote:Correction:Hey. I started a Gitpod and build a tesseract.js app on a node.js server using this tutorial. I now want to use my own custom traineddata language file. How do I do that?Thanks
On Monday, September 2, 2019 at 1:04:45 AM UTC+2, Clint William Theron wrote:Hey. I started a Gitpod and build a tesseract.js app on a node.js server using this tutorial. I now want to use my own custom traineddata language file. I imagine I should copy my trained file somewhere in to the project but I'm not sure. I tried replacing the eng.traineddata file located in /tests/assets/traineddata/ but, in windows 10, that didn't work. What should I do? Any advice would be greatly appreciated.Thanks
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesser...@googlegroups.com.
const worker = new TesseractWorker({
corePath: '../../node_modules/tesseract.js-core/tesseract-core.wasm.js',
langPath: lang_path
});
worker.recognize(file,
'cus'
)
.progress(function(packet){
console.info(packet)
progressUpdate(packet)
})
.then(function(data){
console.log(data)
progressUpdate({ status: 'done', data: data })
})
<script src="/dist/tesseract.dev.js"></script>