Hello, I am a beginner in C++, I have never used an external library downloaded by my hand. Problems, I want to use the Tesseract OCR library for a project that I first did on Python but which is not powerful enough ... Despite several hours of effort I can not access the include. If someone has a solution to install tessercat or other lib. I would be super grateful. Thank you!
#Include for OCR
1 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
What compiler, mingw or msvc?
No idea... I'm on Visual Studio 22, I don't know if that can help you ^^"
https://github.com/UB-Mannheim/tesseract
I downloaded this pre-compiled model
Why this and not the official one?
Because the official version is not compiled from what I understood from the few tutorials that there are ^^" It would not work or at least you have to compile it yourself https://github.com/tesseract-ocr/tessdata
I would try the official one first
It seems vcpkg includes tesseract. Try it perhaps?
I had already tried but my visual does not detect the vspkg stuff at all whereas normally it should because I put the path to the .exe correctly
Severity Code Description Project File Line Deletion Status Details
Error (active) E1696 cannot open source file "tesseract/baseapi.h" ConsoleApplication1 D:---DEV---\SC_APP\ILMACPP\ConsoleApplication1\ConsoleApplication1.cpp 2
did you do vcpkg install tesseract?
Yep but much higher in the powershell
But don't worry I finally succeeded ^^ Thanks for your time!
@zinc yarrow Has your question been resolved? If so, type !solved :)
!solved