Discussion:
[tesseract-ocr] Tesseract to detect numbers with opencv (c++) and cmake on a raspberry pi
Adam Richards
2018-09-22 01:14:56 UTC
Permalink
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 tesseract-ocr+***@googlegroups.com.
To post to this group, send email to tesseract-***@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.
Zdenko Podobny
2018-09-22 07:04:37 UTC
Permalink
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
Post by Adam Richards
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
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 tesseract-ocr+***@googlegroups.com.
To post to this group, send email to tesseract-***@googlegroups.com.
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.
Adam Richards
2018-09-22 10:37:50 UTC
Permalink
Thank you Zdenko,

I am not overly familiar with how cmake works in compiling everything, I
followed through these
steps: https://docs.opencv.org/master/d7/d9f/tutorial_linux_install.html
and this tutorial:
to get
everything working with opencv. However I am not exactly sure how to
integrate in Tesseract with the same cmake commands.
Is there any useful tutorials or examples on how to use Tesseract with
cmake?
Post by Zdenko Podobny
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
Post by Adam Richards
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
<javascript:>.
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 tesseract-ocr+***@googlegroups.com.
To post to this group, send email to tesseract-***@googlegroups.com.
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/c15307de-0796-4719-a125-641bb6024f93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Adam Richards
2018-09-22 12:02:46 UTC
Permalink
I have managed to run the basic API example from the command line, however
I am now trying to incorporate it into my project.
I have added these lines to my CMakeLists.txt file:

find_package( Tesseract 3.04.01 REQUIRED )
include_directories(${Tesseract_INCLUDE_DIRS})
target_link_libraries(image ${Tesseract_LIBRARIES})

And when I try and make it I get this error:

"CMake Error at CMakeLists.txt:7 (find_package):
Could not find a package configuration file provided by "Tesseract" with
any of the following names:

TesseractConfig.cmake
tesseract-config.cmake

Add the installation prefix of "Tesseract" to CMAKE_PREFIX_PATH or set
"Tesseract_DIR" to a directory containing one of the above files. If
"Tesseract" provides a separate development package or SDK, be sure it has
been installed."

Should there be something else I have to install or do to make this work?
Post by Zdenko Podobny
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
Post by Adam Richards
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
<javascript:>.
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 tesseract-ocr+***@googlegroups.com.
To post to this group, send email to tesseract-***@googlegroups.com.
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/65bd7146-d7eb-4ecb-8c6c-8d40bc9344d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zdenko Podobny
2018-09-22 13:47:43 UTC
Permalink
How did you install tesseract?

Zdenko
Post by Adam Richards
I have managed to run the basic API example from the command line, however
I am now trying to incorporate it into my project.
find_package( Tesseract 3.04.01 REQUIRED )
include_directories(${Tesseract_INCLUDE_DIRS})
target_link_libraries(image ${Tesseract_LIBRARIES})
Could not find a package configuration file provided by "Tesseract" with
TesseractConfig.cmake
tesseract-config.cmake
Add the installation prefix of "Tesseract" to CMAKE_PREFIX_PATH or set
"Tesseract_DIR" to a directory containing one of the above files. If
"Tesseract" provides a separate development package or SDK, be sure it has
been installed."
Should there be something else I have to install or do to make this work?
Post by Zdenko Podobny
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
Post by Adam Richards
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
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
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/65bd7146-d7eb-4ecb-8c6c-8d40bc9344d7%40googlegroups.com
<https://groups.google.com/d/msgid/tesseract-ocr/65bd7146-d7eb-4ecb-8c6c-8d40bc9344d7%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 tesseract-ocr+***@googlegroups.com.
To post to this group, send email to tesseract-***@googlegroups.com.
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/CAJbzG8ymvTPP6LBh0wiyT1j1Le%2BS03SLfM6McCu%3DOw8_iWyWag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Adam Richards
2018-09-23 00:06:55 UTC
Permalink
Pretty sure I installed with just these commands:

sudo apt install tesseract-ocr
sudo apt install libtesseract-dev

When I check the tesseract -v I get this:
tesseract 3.04.01
leptonica-1.74.1
libgif 5.1.4 : libjpeg 6b (libjpeg-turbo 1.5.1) : libpng 1.6.28 : libtiff
4.0.8 : zlib 1.2.8 : libwebp 0.5.2 : libopenjp2 2.1.2
Post by Zdenko Podobny
How did you install tesseract?
Zdenko
Post by Adam Richards
I have managed to run the basic API example from the command line,
however I am now trying to incorporate it into my project.
find_package( Tesseract 3.04.01 REQUIRED )
include_directories(${Tesseract_INCLUDE_DIRS})
target_link_libraries(image ${Tesseract_LIBRARIES})
Could not find a package configuration file provided by "Tesseract" with
TesseractConfig.cmake
tesseract-config.cmake
Add the installation prefix of "Tesseract" to CMAKE_PREFIX_PATH or set
"Tesseract_DIR" to a directory containing one of the above files. If
"Tesseract" provides a separate development package or SDK, be sure it has
been installed."
Should there be something else I have to install or do to make this work?
Post by Zdenko Podobny
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
Post by Adam Richards
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
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
<javascript:>.
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/65bd7146-d7eb-4ecb-8c6c-8d40bc9344d7%40googlegroups.com
<https://groups.google.com/d/msgid/tesseract-ocr/65bd7146-d7eb-4ecb-8c6c-8d40bc9344d7%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 tesseract-ocr+***@googlegroups.com.
To post to this group, send email to tesseract-***@googlegroups.com.
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/ebc2089a-7526-4850-924e-fc3633d79845%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zdenko Podobny
2018-09-23 15:00:18 UTC
Permalink
Can you check if TesseractConfig.cmake macros are included in these
packages?

Zdenko
Post by Adam Richards
sudo apt install tesseract-ocr
sudo apt install libtesseract-dev
tesseract 3.04.01
leptonica-1.74.1
libtiff 4.0.8 : zlib 1.2.8 : libwebp 0.5.2 : libopenjp2 2.1.2
Post by Zdenko Podobny
How did you install tesseract?
Zdenko
Post by Adam Richards
I have managed to run the basic API example from the command line,
however I am now trying to incorporate it into my project.
find_package( Tesseract 3.04.01 REQUIRED )
include_directories(${Tesseract_INCLUDE_DIRS})
target_link_libraries(image ${Tesseract_LIBRARIES})
Could not find a package configuration file provided by "Tesseract" with
TesseractConfig.cmake
tesseract-config.cmake
Add the installation prefix of "Tesseract" to CMAKE_PREFIX_PATH or set
"Tesseract_DIR" to a directory containing one of the above files. If
"Tesseract" provides a separate development package or SDK, be sure it has
been installed."
Should there be something else I have to install or do to make this work?
Post by Zdenko Podobny
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
Post by Adam Richards
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
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
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/65bd7146-d7eb-4ecb-8c6c-8d40bc9344d7%40googlegroups.com
<https://groups.google.com/d/msgid/tesseract-ocr/65bd7146-d7eb-4ecb-8c6c-8d40bc9344d7%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
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/ebc2089a-7526-4850-924e-fc3633d79845%40googlegroups.com
<https://groups.google.com/d/msgid/tesseract-ocr/ebc2089a-7526-4850-924e-fc3633d79845%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 tesseract-ocr+***@googlegroups.com.
To post to this group, send email to tesseract-***@googlegroups.com.
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/CAJbzG8wS%2BOk%2B2fBuUDjY%3DJDwM5wXX2rMr1jpEEPH2%2B3YHq%2ByBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Adam Richards
2018-09-23 22:24:32 UTC
Permalink
I did a search on the Pi and it couldn't find A TesseractConfig.cmake file anywhere.

Where should it be exactly?

Should it automatocally come with Tesseract or do I need to download or add it?
--
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+***@googlegroups.com.
To post to this group, send email to tesseract-***@googlegroups.com.
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/64319e95-3c44-49bb-8e8e-8650a17f8a8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zdenko Podobny
2018-09-24 06:45:31 UTC
Permalink
This means that your tesseract packages were build with autotools and they
did not includes cmake support.
So you need to set your Tesseract_INCLUDE_DIRS and Tesseract_LIBRARIES
manually...

Zdenko
Post by Adam Richards
I did a search on the Pi and it couldn't find A TesseractConfig.cmake file anywhere.
Where should it be exactly?
Should it automatocally come with Tesseract or do I need to download or add it?
--
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
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/64319e95-3c44-49bb-8e8e-8650a17f8a8a%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 tesseract-ocr+***@googlegroups.com.
To post to this group, send email to tesseract-***@googlegroups.com.
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/CAJbzG8x49KkU2fNHqmA7Cfu9PzfgkW1_xkrv98%2BztEsWat0S7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Adam Richards
2018-09-24 06:56:05 UTC
Permalink
Thank you Zdenko,

How exactly would I do this? Is it just entering the directory directly into the cmakelists.txt file?

Is there an easy way to find the location of these directories?
--
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+***@googlegroups.com.
To post to this group, send email to tesseract-***@googlegroups.com.
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/9f1cbe2b-370e-4a4e-b2e1-5b3c9ef4e0a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Adam Richards
2018-09-26 12:38:41 UTC
Permalink
Hi Zdenko,

Sorry, I'm just still unsure how exactly to get this working? What should I
be doing to set my Tesseract_INCLUDE_DIRS and Tesseract_LIBRARIES
manually...

Any further help you could provide would be appreciated,

thanks,
Adam
Post by Zdenko Podobny
This means that your tesseract packages were build with autotools and they
did not includes cmake support.
So you need to set your Tesseract_INCLUDE_DIRS and Tesseract_LIBRARIES
manually...
Zdenko
Post by Adam Richards
I did a search on the Pi and it couldn't find A TesseractConfig.cmake file anywhere.
Where should it be exactly?
Should it automatocally come with Tesseract or do I need to download or add it?
--
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
<javascript:>.
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/64319e95-3c44-49bb-8e8e-8650a17f8a8a%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 tesseract-ocr+***@googlegroups.com.
To post to this group, send email to tesseract-***@googlegroups.com.
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/ff3a4ab9-69a3-463a-bf98-8a4190e327c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Zdenko Podobny
2018-09-26 13:44:52 UTC
Permalink
Just goole for help. There are plenty examples. e.g.
https://stackoverflow.com/questions/24570916/add-external-libraries-to-cmakelist-txt-c

Zdenko
Post by Adam Richards
Hi Zdenko,
Sorry, I'm just still unsure how exactly to get this working? What should
I be doing to set my Tesseract_INCLUDE_DIRS and Tesseract_LIBRARIES
manually...
Any further help you could provide would be appreciated,
thanks,
Adam
Post by Zdenko Podobny
This means that your tesseract packages were build with autotools and
they did not includes cmake support.
So you need to set your Tesseract_INCLUDE_DIRS and Tesseract_LIBRARIES
manually...
Zdenko
Post by Adam Richards
I did a search on the Pi and it couldn't find A TesseractConfig.cmake file anywhere.
Where should it be exactly?
Should it automatocally come with Tesseract or do I need to download or add it?
--
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
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/64319e95-3c44-49bb-8e8e-8650a17f8a8a%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
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/ff3a4ab9-69a3-463a-bf98-8a4190e327c1%40googlegroups.com
<https://groups.google.com/d/msgid/tesseract-ocr/ff3a4ab9-69a3-463a-bf98-8a4190e327c1%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 tesseract-ocr+***@googlegroups.com.
To post to this group, send email to tesseract-***@googlegroups.com.
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/CAJbzG8x%3DXfQDguHXshQSA_eyV-dmYp1infMw8g4Dd3uxe29-Ng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...