Ask Your Question

Revision history [back]

Problem in running textdetection sample


I'm kinda new to OpenCV, and I'm trying to run text detection sample of OpenCV in cpp (textdetection.cpp). this file is in samples folder of OpenCV and all information about it is here I'm using Ubuntu 13.10 and I've built it with no errors. but when I run the code, I get this error:

Floating point exception (core dumped)

I could find out the problem occurs in erGrouping function in ERFilter. (modules/objdetect/src/erfilter.cpp LINE 2781)

I'm not sure if I'm doing something wrong or not, but it happens on every image I send as textdetection input.