Ask Your Question

Beowulf's profile - activity

2014-06-07 18:46:44 -0600 asked a question ANN - Artificial Neural Network training

I know that is possible to save a trained ANN into a file using CvFileStorage, but I really don't like the way that CvFileStorage saves the training, then I was wondering: Is that possible to retrieve the informations of a training and save it in a custom way?

Thanks in advance.

2014-06-07 18:23:33 -0600 commented answer cv::findContours finds more than one contour

The real problem with dilate or erosion is that I have a set of different images and once applied dilate or erosion it doesn't work as expected in some other images. - It's a loop that goes inside of a folder scanning all the images inside and apply the effects.

2014-06-07 18:18:46 -0600 received badge  Supporter (source)
2014-06-05 09:34:24 -0600 received badge  Editor (source)
2014-06-05 09:33:33 -0600 asked a question cv::findContours finds more than one contour

I'm trying to find contours in an image, but the cv::findContours finds more than one contour.

cv::findContours(image.clone(), contours, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_SIMPLE);

And the result:

1

What I want to find:

2

How can I increase the precision of the cv::findContours in order to find what I want?

Thanks.

2014-06-04 22:18:30 -0600 commented question Qt5 + OpenCV 2.4.9 cv::imshow error

Yes, I do, the last version: 5.3.

2014-05-31 10:37:56 -0600 received badge  Student (source)
2014-05-29 20:44:56 -0600 received badge  Organizer (source)
2014-05-29 20:42:31 -0600 asked a question Qt5 + OpenCV 2.4.9 cv::imshow error

Hello you all, I compiled the OpenCV statically, using CMake, with the option WITH_QT.

Everything seems to be working, but when I try to use the cv::imshow I got that error:

window_QT.cpp:-1: error: undefined reference to `_imp___ZN5QTest10keyToAsciiEN2Qt3KeyE'

C:\opencv\install\x86\mingw\staticlib/libopencv_highgui249.a(window_QT.cpp.obj):window_QT.cpp:(.text$_ZN8CvWindow13keyPressEventEP9QKeyEvent+0x16): undefined reference to `_imp___ZN5QTest10keyToAsciiEN2Qt3KeyE'

.pro:

// ...

INCLUDEPATH += C:\\opencv\\install\\include

LIBS += -L"C:\\opencv\\install\\x86\\mingw\\staticlib"
LIBS += -lopencv_highgui249 -lopencv_imgproc249 -lopencv_ml249 -lopencv_core249
LIBS += -llibjpeg -llibtiff -llibpng -llibjasper -lIlmImf -lzlib

I tried everything, and nothing.

main.cpp:

// ...
cv::Mat image = cv::imread("image.png");
cv::imshow("My Image", image);

How can I solve this? Thanks in advance.