[tesseract-ocr] get font that Leptonica determines for current character

2022-09-24 Thread Fish Money
have some data, required to be trained with picture of chars then recognize chars :) I do not know the font name. Is there a possibility to get font name, that Leptonica determines for current character? Or I need to train it for unknown font as per below? C:\Users\66820\Desktop>tesseract e

[tesseract-ocr] Tesseract character recognition and C++

2022-09-24 Thread Fish Money
I read single characters with C++ and tesseract/leptonica. Below is chunk I use. is it possible to improve accuracy to use some special function, in case if I read only one character. Of course I have openCV mat with cropped image to fit the

[tesseract-ocr] environment variables issues

2022-09-24 Thread Fish Money
My TESSDATA_PREFIX is set to C:\tesseract-ocr\tessdata, but keep getting the error in text below. However, It still works after I created tessdatatessdata folder. Also I need to explicitly mention the path to batch.nochop & makebox and for other config files as well C:\tesseract-ocr\tessdata\t