Ask Your Question

Scene text detection problem

asked 2013-10-14 04:43:08 -0500

ridzuan yunus gravatar image

updated 2013-10-14 04:59:20 -0500

berak gravatar image


I just download the latest opencv 3.0 from the github and compiled it to visual studio 12. Then I run the scene text detection samples program (lsd_lines.cpp) in the samples/cpp folder. But i got an exception at below function (erfilter.cpp):

// recursively walk the tree and clean memory
void ERFilterNM::er_tree_clean( ERStat *stat )
        for (ERStat * child = stat->child; child; child = child->next)
        if (stat->crossings)
            stat->crossings = NULL;
        delete stat;

The documentation of scene text detection functioon can be found here:

I already tried with a few images, but the result is same.

Can somebody help me to solve this problem? Thanks.

edit retag flag offensive close merge delete



could you add the exception for clarity ?

berak gravatar imageberak ( 2013-10-14 05:00:32 -0500 )edit

Sorry for posting incomplete question.

I got this exception when I run the program: Unhandled exception at 0x00CBC909 (opencv_objdetect300d.dll) in TestTextDetection.exe: 0xC0000005: Access violation reading location 0xFEEEFF62.

and the program break at line "for (ERStat * child = stat->child; child; child = child->next)"


ridzuan yunus gravatar imageridzuan yunus ( 2013-10-14 09:24:08 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-11-14 05:26:09 -0500

lluisgomez gravatar image

There is a bugfix for this problem dated on Oct 29 '13 (this is after your question), see:

edit flag offensive delete link more

Question Tools


Asked: 2013-10-14 04:43:08 -0500

Seen: 1,169 times

Last updated: Nov 14 '13