Ask Your Question

Revision history [back]

Scene text detection problem

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.

click to hide/show revision 2
No.2 Revision

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

berak gravatar image

Scene text detection problem

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.