As I said, use OpenCV first to produce the Otsu-thresholded image - OCV has a C++ library.
http://stackoverflow.com/questions/17141535/how-to-use-the-otsu-threshold-in-opencv With the resulting image, provide that to Tesseract programmatically. https://github.com/tesseract-ocr/tesseract/wiki/APIExample Google is your friend. On 7 July 2016 at 12:35, Mitesh Kalal <[email protected]> wrote: > How can i do adaptive thresholding in tesseract using c++ code? Also how > can i give the input? > > -- > 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 post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/tesseract-ocr. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/3cff5bd5-4c50-4579-b06c-ca97f4e4fc1f%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAORW5vjK8qcD7ygwU0x0cZ6-%3D7KYV6xg4BA0eaSFtxpFOK%3D0KQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

