“I have OpenCV code using cvCreateCameraCapture and cvQueryFrame. Can I use it with the Raspberry Pi Camera? Well yes, read on to know how.” …

Based on information on this blog, Emil Valkov wrote an API, very similar to OpenCV, to directly use Raspberry Cam thru raspiCamCvCreateCameraCapture, raspiCamCvQueryFrame,  RaspiCamCvCapture. (instead of cvCreateCameraCapture, cvQueryFrame and CvCapture)

All information are on his blog  (https://robidouille.wordpress.com/2013/10/19/raspberry-pi-camera-with-opencv/)

Thank you Emil for this nice and usefull API, it will help many developers to write simpler code 🙂