Ask Your Question

Auradrummer's profile - activity

2013-10-10 11:35:06 -0600 asked a question Impossible to open camera Code::blocks c++

Hello guys, I'm trying OpenCV by three days and still no success capturing my webcam. My system is: - Maxprint USB Webcam. - Windows XP - C/ C++ with Code::Blocks IDE.

My program crashes with error 0xc00000005 if I do one of things: - instantiate any VideoCapture class (even if not initialize it) - call the cvCreateCameraCapture, if I decide to use C.

Any idea?

2013-10-08 07:57:21 -0600 asked a question VideoCapture class cannot initialize

Hello Masters, I'm very newbie in OpenCV. I'm trying to capture image from webcam. But, if I "declare" an VideoCapture object, my program crashes instantly. This is my code:

#include "opencv2/opencv.hpp"
#include <stdio.h>
using namespace cv;
int main()
{
    printf("Trying...");
    VideoCapture cap;
    printf("done");
}

My system is with Windows XP SP2. Not a good machine too. Not found anything like this yet...