I wanted to use the full set of PSM options especially 1. Why is there only a limited set of parameters available?
|
const psm = this.getNodeParameter('options.psm', 0, 'SINGLE_BLOCK') as 'SINGLE_BLOCK' | 'SINGLE_COLUMN' | 'SINGLE_LINE' | 'SINGLE_WORD' | 'SPARSE_TEXT'; |
Wanted to use option 3 from here...
tesseract-ocr/tesseract#1651 (comment)
Full list explained here too:
https://pyimagesearch.com/2021/11/15/tesseract-page-segmentation-modes-psms-explained-how-to-improve-your-ocr-accuracy/
I wanted to use the full set of PSM options especially 1. Why is there only a limited set of parameters available?
n8n-nodes-tesseractjs/nodes/TesseractNode/TesseractNode.node.ts
Line 313 in 031c1c6
Wanted to use option 3 from here...
tesseract-ocr/tesseract#1651 (comment)
Full list explained here too:
https://pyimagesearch.com/2021/11/15/tesseract-page-segmentation-modes-psms-explained-how-to-improve-your-ocr-accuracy/