Have a look at wiki APIExample
<https://github.com/tesseract-ocr/tesseract/wiki/APIExample>.
And tesseract / tesseractmain.cpp
<https://github.com/tesseract-ocr/tesseract/blob/master/src/api/tesseractmain.cpp>
is just example how to use tesseract library... Tesseract is also possible
to build with cmake, so all you need is just to have a look at the code...

Zdenko


so 22. 9. 2018 o 8:49 Adam Richards <[email protected]> napĂ­sal(a):

> Hi I want to use Tesseract to detect numbers in a sudoku puzzle. I already
> have all my opencv c++ code that will produce a Mat for every cell with a
> number in it, to run this I am using Cmake to generate the code.
>
> I was just wondering how I can install, setup and use tesseract to read
> the numbers from each cell within this c++ code, as I can only work out how
> to run it from the command line.
>
> --
> 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/93a0d413-f0a2-41c4-8944-67c61b0a784f%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/93a0d413-f0a2-41c4-8944-67c61b0a784f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAJbzG8zvQS-M1gCSfUnLjg2a1hJ7Cmro78JULHc38YJDOV%3DLqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to