Closed ir-fuel closed 8 years ago
If I only want to recognise digits I need to run tesseract with the digits parameter. I see no way of passing it. Running the code with digits:true in the options structure doesn't work.
digits
digits:true
Ok, found it (after looking in the sources)
I had to do:
var options = { l: 'eng', psm: 6, binary: '/usr/local/bin/tesseract', config:["digits"] };
If I only want to recognise digits I need to run tesseract with the
digits
parameter. I see no way of passing it. Running the code withdigits:true
in the options structure doesn't work.