2

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.

mpromonet
  • 1,124
  • 1
  • 19
  • 38
user1671648
  • 21
  • 1
  • 2

1 Answers1

0

You can use this link as a base : https://thinkrpi.wordpress.com/2013/05/22/opencv-and-camera-board-csi/ for your dev.

It's a little bit old, but it's a good point of entry for openCV and RPi camera.