This commit is contained in:
Thomas BONNIER 2024-11-29 14:46:01 +01:00
parent ee764361f5
commit ec30c914e8
1 changed files with 1 additions and 1 deletions

View File

@ -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");