duncantl / Rtesseract

Interface to tesseract OCR system.
12 stars 4 forks source link

`GenericVector` was removed in tesseract 5.0 #14

Open wes-brooks opened 2 years ago

wes-brooks commented 2 years ago

I had errors trying to install the Tesseract package, and traced it back to this change in tesseract v5.0:

Removed proprietary data types like GenericVector and STRING from public API

As a result, it is necessary to change STRING to std::string and GenericVector<STRING> to std::vector<std::string> throughout the Rtesseract code. I've done this and gotten a working install onto the fork of Rtesseract on the datalab-dev account. I will try to turn it into a Pull Request.