Closed josef821 closed 3 years ago
when run this command in new version : kraken -i w3.png image.txt ocr --lines lines.json it will show this error . this command was working in older version : Error: no such option: --lines
Yes, this option has been removed in the 3.0 branch as it didn't work with multiple input files. You can now feed in explicit segmentation just like raw images through the ALTO/PageXML input. Unfortunately, I haven't found the time yet to move the output -a/-y/-x switches from the ocr subcommand to the main cli driver to also allow direct XML output with the segment subcommand, so you'd have to do the transformation yourself if you want to use it in this manner.
hi. i still have problem in this case :( i try to recognition one character in image with --lines but it still not working. in tesseract can set PSM ( Page Segmentation Mode ) to recognize one character. can you help me to solve this problem in kraken? one character recognition will be useful in tables cell recognition.
when run this command in new version : kraken -i w3.png image.txt ocr --lines lines.json it will show this error . this command was working in older version : Error: no such option: --lines