#include <opencv2/videoio.hpp> VideoCapture API backends identifier. Select preferred API for a capture object. To be used in the VideoCapture::VideoCapture() constructor or VideoCapture::open(). Note Backends are available only if they have been built with your OpenCV binaries.v4l2_camera¶ A basic sample application that connects to a camera using video for Linux (V4L2). The camera image can be seen in Sight. (You must add a window in Sight to see the image. See Windows Menu (Top Left) for more information.) Make sure to set a valid resolution in the configuration section in the application file.