2

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?

1 Answer 1

0

try using sudo moprobe bcm2835-v4l2, and then try your code with the (0) as the Device ID, if it did not work try another ID. if you are using the code for image processing(face detection , face recognition etc.) then you have to deal with delays and little frame per second .

good luck

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.