Ask Your Question
1

Scene text detection problem

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

ridzuan yunus gravatar image

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

berak gravatar image

Hi;

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)
        {
            er_tree_clean(child);
        }
        if (stat->crossings)
        {
            stat->crossings->clear();
            delete(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

Comments

1

could you add the exception for clarity ?

berak gravatar imageberak ( 2013-10-14 05:00:32 -0600 )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)"

Thanks

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

1 answer

Sort by ยป oldest newest most voted
2

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

lluisgomez gravatar image

There is a bugfix for this problem dated on Oct 29 '13 (this is after your question), see: https://github.com/Itseez/opencv/commits/master/modules/objdetect/src/erfilter.cpp

edit flag offensive delete link more

Question Tools

Stats

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

Seen: 1,271 times

Last updated: Nov 14 '13