Tesseract uses leptonica for handling images and it uses Leptonica PIX format internally [1] E.g. You need to convert QPixmap/QImage to PIX.
[1] https://github.com/DanBloomberg/leptonica/blob/master/src/pix.h Zdenko ut 31. 5. 2022 o 8:14 Ahmad Anis <[email protected]> napĂsal(a): > Hi, Just wanted to ask, can tesseract process(and work well) with QPixmap > format, or should we do some changes in the format before passing it to > tesseract. > > Thanks. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/f0b485ec-fc9b-4035-852a-a51be0f04473n%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/f0b485ec-fc9b-4035-852a-a51be0f04473n%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xxD%2BYqofBs7HW2oLEHPe1UJQXuXTSCGgE81V%2Bv1QxPWA%40mail.gmail.com.

