I learnt that The pi camera module does not work the same as the USB camera and VideoCapture cap(0)
doesn't work with pi camera module. I am using this wrapper to get frames from pi camera module to use them with OpenCV. Unfortunately, frame rate is too slow for my work because of the wrapper.
Is there faster way to get frames from pi camera module to use them with OpenCV C++ ?
How do you use pi camera module with OpenCV?