[Floating point exception: 8]/[textdetection.cpp]/[OpenCV 3.0]
Hello, I am trying to run textdetection.cpp, everything compiles good with
g++ textdetection.cpp -Wall -o main -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_objdetect
Now, when I am trying to run code, i get this error:
$:cpp sdqwerty$ ./main scenetext03.jpg
./main
Demo program of the Extremal Region Filter algorithm described in
Neumann L., Matas J.: Real-Time Scene Text Localization and Recognition, CVPR 2012
Extracting Class Specific Extremal Regions from 9 channels ...
(...) this may take a while (...)
Floating point exception: 8
Using:
- mac os Mavericks
- $:cpp sdqwerty$ g++ -v Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86_64-apple-darwin13.2.0 Thread model: posix
- opencv from : https://github.com/Itseez/opencv
Anyone has a same problem ?
"Floating point exception" does not come from the opencv codebase
Yes, this is C error, but I didn't change nothing in example, just trying to run it. I would like to know if someone has a same error running this example on Mavericks.
runs fine on win here
Thank you, berak.
I reinstalled openCV libraries with an older submission (end of April) and error disappeared. So there is some error related to erGrouping method in newer submits.
aww. probably worth making an issue
http://code.opencv.org/issues/3728
probably needs a bit more detail ;)
i.e you told us, that it worked with a previous version
I don't know exactly which submission created a bug and I am really new in openCV.
hey, no prob. ;)