#Include for OCR

1 messages · Page 1 of 1 (latest)

zinc yarrow
#

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!

vocal vineBOT
#

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.

light hamlet
#

What compiler, mingw or msvc?

zinc yarrow
#

No idea... I'm on Visual Studio 22, I don't know if that can help you ^^"

light hamlet
#

Okay, that answers my question

#

How did you install ocr?

zinc yarrow
light hamlet
#

Why this and not the official one?

zinc yarrow
light hamlet
#

I would try the official one first

#

It seems vcpkg includes tesseract. Try it perhaps?

zinc yarrow
#

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

light hamlet
#

I think this would be easier to debug than installing ocr manually

#

Show the error?

zinc yarrow
#

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

light hamlet
#

did you do vcpkg install tesseract?

zinc yarrow
vocal vineBOT
#

@zinc yarrow Has your question been resolved? If so, type !solved :)

zinc yarrow
#

!solved