I am trying to use the raspberry pi camera module as the live video feed in my opencv code(c++). However, the pi camera module does not work the same as the USB camera. eg: for USB webcam:
VideoCapture cam(0);
cam >> captured_frame;
will simply return me the new frame which I can perform algorithms on.
I found some libraries/tutorials online, but most of them are for either C or python based program.
sudo modprobe bcm2835-v4l2
, you could access it like USB camera. – mpromonet Mar 08 '15 at 22:39