I would like to call kraken recognition from code and get hocr. However, just calling kraken --hocr -i image.png image.txt binarize segment ocr --reorder will initialize model on each image recognition. Also it will create file when I need pipe.
Kraken code with click is too tricky for reverse-engineering.
I would like to call kraken recognition from code and get hocr. However, just calling
kraken --hocr -i image.png image.txt binarize segment ocr --reorder
will initialize model on each image recognition. Also it will create file when I need pipe.Kraken code with click is too tricky for reverse-engineering.