working
This commit is contained in:
parent
ee764361f5
commit
ec30c914e8
|
|
@ -17,7 +17,7 @@ int main(int argc, char** argv)
|
|||
for (int j = 0; j < boardSize.width; ++j)
|
||||
obj.push_back(cv::Point3f(j, i, 0));
|
||||
|
||||
cv::VideoCapture cap(0);
|
||||
cv::VideoCapture cap(0, cv::CAP_V4L2);
|
||||
if (!cap.isOpened())
|
||||
{
|
||||
ROS_ERROR("Unable to open camera");
|
||||
|
|
|
|||
Loading…
Reference in New Issue