Hi
I would like to ask how to use firewire camera with opencv? My camera is progres speedxt core5. Normally it is with USB cable but when I was starting the driver installation on windows 7 x64 it was installed T1394bus driver (driver from thesycon). I have tried to open my camera with the standart code. After build execution there were no errors but in the line: imshow("wind1", frame); the program was stopped. I have checked the call stack and I saw that the program was stopped in >
ntdll.dll!776615de()
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
I have checked the code with a simple webcam and with a specialised usb ueye camera and everything was OK. Unfortunately with the firewire camera it was not possible to work. Could you please help me to resolve the problem. May be it will be necessary to use another software as directshow par example.
Here is my code:
include <opencv2\core\core.hpp>
include <opencv2\highgui\highgui.hpp>
include <opencv2\opencv.hpp>
include <opencv2\imgproc\imgproc.hpp>
include <iostream>
using namespace cv; using namespace std;
int main(){
VideoCapture cap(0);
cap.open(0);
if (false)
{
return -1;
}
namedWindow("wind1", 0);
Mat frame;
while(1)
{ cap>>frame; imshow("wind1", frame); int key = cvWaitKey(1); if (key == 27) break; } return 0; }