Leptonica is an image processing library. For font guessing use appropriate tool: https://www.google.com/search?q=get+font+name+from+image&oq=get+font+name+from+image Tesseract 3.x is a very old and unsupported version. The current version is 5.2
Zdenko so 24. 9. 2022 o 20:35 Fish Money <fishmoneyp...@gmail.com> napĂsal(a): > 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 eng.exp0.tif eng.exp0 > C:\tesseract-ocr\tessdata\configs\box.train Tesseract Open Source OCR > Engine v3.02 with Leptonica APPLY_BOXES: Boxes read from boxfile: 19 Found > 19 good blobs. TRAINING ... Font name = UnknownFont Generated training data > for 1 words > > -- > You received this message because you are subscribed to the Google Groups > "tesseract-ocr" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to tesseract-ocr+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/7a531d50-0c48-42ce-bfde-f8c497ebb68an%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/7a531d50-0c48-42ce-bfde-f8c497ebb68an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8ypbgH1VZ2CxYbNa94N%2BPMAFQz3URG4gmDur2aA7x%2BsjQ%40mail.gmail.com.