This project contains sample OpenCV application code as well as V4L2 helper library to access camera devices in OpenCV. This code helps to achieve high framerates from cameras in OpenCV. This project gives better results than the VideoCapture class in OpenCV. This source code is only compatible in Linux.
This enables user to switch resolutions in between.
Though, it has to be noted that the helper API to switch resolutions has not been tested yet. Hence it is commented.