OpenCV Tesseract Wrapper causes memory leak (Bug #4420)
Description
Hi,
Using opencv_text (opencv_contrib) library with Tesseract results in memory leaks, as according to the Tesseract API the char array returned by method GetUTF8Text() have to be deleted by the user. In the module:
file: opencv_contrib-master/modules/text/src/ocr_tesseract.cpp
line 143: output = string( tess.GetUTF8Text());
History
Updated by Vadim Pisarevsky over 9 years ago
- Category set to contrib/text
Updated by Lluis Gomez over 9 years ago
- Status changed from New to Done