Ask Your Question

Crash's profile - activity

2016-03-26 11:40:36 -0600 received badge  Notable Question (source)
2014-11-25 12:23:49 -0600 received badge  Famous Question (source)
2014-09-24 10:32:17 -0600 received badge  Enlightened (source)
2014-09-24 10:32:17 -0600 received badge  Good Answer (source)
2014-07-10 03:23:13 -0600 received badge  Popular Question (source)
2014-05-03 01:55:42 -0600 received badge  Notable Question (source)
2014-03-14 18:57:01 -0600 received badge  Nice Answer (source)
2013-07-04 04:09:33 -0600 received badge  Popular Question (source)
2013-06-25 09:08:05 -0600 received badge  Self-Learner (source)
2013-05-20 10:59:50 -0600 received badge  Teacher (source)
2012-11-18 12:59:31 -0600 received badge  Scholar (source)
2012-11-18 12:59:27 -0600 received badge  Scholar (source)
2012-11-18 12:57:19 -0600 answered a question Program crashes during findContours() execution

Problem has been solved I decided to come back to VS 2010 and all work fine now without any mistakes( damn Microsoft) VS 2012 is a piece of raw crap

2012-11-18 07:09:38 -0600 commented answer Program crashes during findContours() execution

If you see the example there is a function cvtColor( src, src_gray, CV_BGR2GRAY ); It converts images to the gray color I've tried different images, but the result is always the same. The simpliest way I tried in brouser right click->save image->then attempt to open it via opencv...and program craches.

2012-11-18 06:26:06 -0600 answered a question opencv_core241d.dll missing

Send me the example of the command line parameters you a trying to send to main() if you wanna execute definitely this sample and I'll try run the code on my PC. if all be OK, we 'd understand where the problem might be/ I ask you do it 'cos I don't get their parameters pattern/

2012-11-18 05:47:41 -0600 answered a question LINK : fatal error LNK1104: cannot open file 'opencv_core242d.lib'

Yeah as I remember I had a similar troubles with that damn paths when installed OpenCv for the first time.

Try to write the correct paths into your property list. Don't forget, that prefix "d" is only for debug mode, so if you defined 'opencv_core242d.lib it would works only in Debug mode In my properties in VS 2012 I set

C/C++->General/Additional Include Directories:$(OPENCV_DIR)\include

Linker/Additional include Directories:$(OPENCV_DIR)\x86\vc10\lib

Linker/Input:

opencv_core243d.lib opencv_imgproc243d.lib opencv_highgui243d.lib opencv_ml243d.lib opencv_video243d.lib opencv_features2d243d.lib opencv_calib3d243d.lib opencv_objdetect243d.lib opencv_contrib243d.lib opencv_legacy243d.lib opencv_flann243d.lib

Here is a step-by-step video(maybe helps):http://www.youtube.com/watch?v=cgo0UitHfp8

2012-11-18 05:11:49 -0600 asked a question Program crashes during findContours() execution

Hello guys

I got a problem with finding contours in the image. I'm trying to run a simple example on VS 2012 from the official site(http://docs.opencv.org/doc/tutorials/imgproc/shapedescriptors/find_contours/find_contours.html)

But the program always crashes with the following error:

OpenCV Error: Assertion failed (0 <= contourIdx && contourIdx < (int)last) in un known function, file ......\src\opencv\modules\imgproc\src\contours.cpp, line 1810

I've tried different modes CV_RETR_TREE,CV_RETR_LIST,CV_RETR_CCOMP but in vain.

I've also tried the sample from opencv/samples/cpp/connected_components.cpp, but always got another kind of mistake:

OpenCV Error: Unsupported format or combination of formats ([Start]FindContours support only 8uC1 and 32sC1 images) in unknown function, file ......\src\openc v\modules\imgproc\src\contours.cpp, line 196

I checked my code many times and red all manuals I'd found...all suggested samples are almost the same I begin to suppose the problem might consist into Visual Studio 2012 Also I noticed that all official samples run on Linux I use OpenCV version 2.4.3

Any ideas?

2012-10-01 00:45:06 -0600 received badge  Student (source)
2012-09-30 10:30:41 -0600 answered a question msvcr100d.dll is missing (OpenCV 2.4.2, VisualStudio 2012)
2012-09-30 06:14:39 -0600 commented answer msvcr100d.dll is missing (OpenCV 2.4.2, VisualStudio 2012)

You Know Man I'm afraid that this MSVCR100D.dll is used only in VS 2010 and doesn't relate to VS 2012.

2012-09-30 05:14:42 -0600 received badge  Editor (source)
2012-09-30 04:49:19 -0600 asked a question msvcr100d.dll is missing (OpenCV 2.4.2, VisualStudio 2012)

Hello I downloaded and unzipped OpenCV-2.4.2.exe on my PC. Then created a new Win32 project in VS 2012, set all the Paths in Project properties, set the environmental variables in Win7. When I'm trying to start the program in debugging mode I get the "The program can't start because MSVCR100D.dll is missing from your computer. Try reinstalling the program to fix this problem".

Ok, I downloaded the MSVCR100D.dll and threw it in Windows/System32... But the problem still remains. What should I do to use OpenCV in VS 2012? I don't want to build the OpenCV libraries from scratch. Maybe is there another simpler way?

If somebody has the pre-built 2.4.2 for VS 2012 please give a link.