text_extraction
text_extraction copied to clipboard
memory leak
I run the code, and it's perfect. But there is some memory leak in the function mser.
Thanks!
How can I build this code, I'm using Visual Studio 2010 and openCV 2.4.9 (openCV2).
Thanks !!!
I run the project in ubuntu then has this problem terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid Aborted (core dumped)
Do you meet the same problems? And how to solve it
is the memory leak related to the fact that the condition priority == 256 is never reached? because that if statement is never evaluated to true and the method never ends.
Dear Weslesun and lluisgomez
please specify how to build this code. how to run it