1 | initial version |
OpenCV supports video camera access through V4l, V4l2 and gstreamer. Check that some of them are enabled in cmake before library build.
There is simple sample starter_video.cpp that takes file name or device number (0, 1, etc) from command line and show its content in a window. It helps you to check camera.