https://github.com/tesseract-ocr/tesseract/blob/bf7c134ba6958f2efdaace2fbeba31cad91394ce/include/tesseract/publictypes.h#L157-L178
Zdenko št 13. 1. 2022 o 7:00 Aditya Aggarwal <[email protected]> napísal(a): > Hi Everyone > I have come across the differnt PSM modes available in tesseract which are > quite easy to use from the terminal by specifying --psm 0-13. > I didnt find much documentation for the same in C++ API. I could find that > I need to use something like api->SetPageSegMode(tesseract::PSM_AUTO_OSD) > for psm 1. But my issue what is the syntax of other PSMs instead of > PSM_AUTO_OSD. To be particular I am looking for PSM 4 syntax. > > Thanks > Aditya Aggarwal > > -- > 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/13c0e1e7-db4a-43f8-b11b-43b5ad2e8f1an%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/13c0e1e7-db4a-43f8-b11b-43b5ad2e8f1an%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/CAJbzG8wBffrk4Tc9daGmcw3NWuf%3D4VB%3D7uxe%2BDfiUsrLAgoBhA%40mail.gmail.com.

