Re: [tesseract-ocr] Tesseract works in debug, but not release build

2020-12-31 Thread Minseok Kim
#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-

Re: [tesseract-ocr] Tesseract works in debug, but not release build

2020-12-31 Thread Zdenko Podobny
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: