#include
#include
#include
#include
#include
using namespace std;
using namespace cv;
int main()
{
std::string outText, imPath = "image.jpeg";
cv::Mat im = cv::imread(imPath, cv::IMREAD_GRAYSCALE);
cv::bitwise_not(im, im);
tesseract::TessBaseAPI* ocr = new tesseract::TessBaseAPI();
ocr-
1. Do not post code snittpet - provide full testing case for easy
replication
2. Provide details: which OS, which compiler, how did build/get tesseract,
which version... etc.
Zdenko
št 31. 12. 2020 o 20:53 Minseok Kim napísal(a):
> std::string outText, imPath = "image.jpeg";
> cv::Mat im = cv:
2 matches
Mail list logo