We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can i use tesseract parameters like -psm 0? I use this method textract.fromFileWithPath(filePath, {tesseract: { lang:"chi_sim", psm: 0 } }
-psm 0
textract.fromFileWithPath(filePath, {tesseract: { lang:"chi_sim", psm: 0 } }
Textract only recognizes the 'lang' options. Looking at the source file images.js it seems only the language options is regarded.
if ( options.tesseract && options.tesseract.lang ) { cmd += ' -l ' + options.tesseract.lang; }
Am I missing something or is this a bug?
The text was updated successfully, but these errors were encountered:
I would classify it as a missing feature. :)
Sorry, something went wrong.
7ba404a
Fixed and published as 2.1
2.1
No branches or pull requests
How can i use tesseract parameters like
-psm 0
?I use this method
textract.fromFileWithPath(filePath, {tesseract: { lang:"chi_sim", psm: 0 } }
Textract only recognizes the 'lang' options. Looking at the source file images.js
it seems only the language options is regarded.
if ( options.tesseract && options.tesseract.lang ) { cmd += ' -l ' + options.tesseract.lang; }
Am I missing something or is this a bug?
The text was updated successfully, but these errors were encountered: