How to open external camera instead of PC camera? [closed]
Hello,
I am doing camera calibration for external logitech camera using this file.
I am changing cameraId in source code to 1,
int mode = DETECTION;
int cameraId = 1;
vector<vector<Point2f> > imagePoints;
But after compiling, when I run calibration.exe in command line, it is not opening external camera but again opening PC camera.
am I missing something here to add in source code?
thanks.
how exactly do you call the program ? (it probably got overwritten by sme param / config item)
did you make an independant check, if
VideoCapture(1)
does the expected ?It is not working.
But instead of that I have used this tutorial, link text by setting parameters in in_VID5.xml file and I got calibration data.
what is not working, dear ?
VideoCapture(1)