Hi everyone,
I am trying to understand what is a correct way to use Tesseract header files when using the upper-level Tesseract API.
Actually I want to minimize the number of includes as much as possible and to leave in my project
only really necessary upper-level headers.
In the comments to "apitypes.h" I am reading the following:
// The types used by the API and Page/ResultIterator can be found in:
// ccstruct/publictypes.h
// ccmain/resultiterator.h
// ccmain/pageiterator.h
// API interfaces and API users should be sure to include this file, rather
// than the lower-level one, and lower-level code should be sure to include
// only the lower-level file.
Does it mean that I need to add necessary includes into "apitypes.h" first, such as "baseapi.h"
and than use only this header? "apitypes.h" only includes "publictypes.h" for the moment,
which is surely not enough.
Do I need ccstruct, ccmain and ccutil include headers? All of them?
Thanky you very much in advance for your help,
Yuliana