Skip to content

Commit

Permalink
Fix build with opencv
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Dec 13, 2024
1 parent fdc60c7 commit a3d46f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ int main(int argc, const char **argv)
#if defined(VISP_HAVE_V4L2)
g.acquire(I);
#elif ((VISP_HAVE_OPENCV_VERSION < 0x030000) && defined(HAVE_OPENCV_HIGHGUI))|| ((VISP_HAVE_OPENCV_VERSION >= 0x030000) && defined(HAVE_OPENCV_VIDEOIO))
cap >> frame;
g >> frame;
vpImageConvert::convert(frame, I);
#endif

Expand Down

0 comments on commit a3d46f9

Please sign in to comment.