I have a question. I get no video from the camera that is connected with firewire. ordinary web camera works properly
I work with opencv3.0.0 and VS12. there is no error, as if the program does not see the camera with VS10 and Opencv231 everything goes without problem
what could be the problem?
#include "opencv2/opencv.hpp"
using namespace cv;
int main()
{
int c;
Mat img;
VideoCapture cap(0);
while (true)
{
cap >> img;
if(img.empty()){
continue; } //or break; depending on your application/preferene
Mat edges;
cvtColor(img, edges, CV_BGR2GRAY);
Canny(edges, edges, 10, 100);
imshow("Canny", edges); //края
imshow("Norm", img); //обычное видео с камеры
c=waitKey(1);
if(c==27) // ESC закрыть окно
break;
}
return 0;
}