How to retrieve specific lines of text using Tesseract in C++?

61 Views Asked by At

I'm trying to build a project that uses tesseract to pull the title of a Magic card from an image. Currently I've got the first example from https://tesseract-ocr.github.io/tessdoc/Examples_C++.html to work, but the example that I'm actually interested in GetComponentImages_example does not work.

I'm getting the error that pointer to incomplete class type "Box" and "Boxa" is not allowed. I've installed both leptonica and Tesseract through vcpkg, and the folder with the libraries is included in additional library directories for the project. I've tried creating new projects as well as reinstalling both tesseract and leptonica

0

There are 0 best solutions below