brooklyn22
Posts: 2
Joined: Tue Oct 15, 2013 10:03 am

Re: Capture raw image to memory buffer (C/C++)

Wed Oct 16, 2013 9:39 am

RpiName wrote:
brooklyn22 wrote:Could anyone help me with information/code for capturing a frame from camera and use it for further processing with OpenGL ES. I do not wish to use OpenCV.
I'm hoping for C++ camera library creation and linking it with OpenGL ES shaders.
Use Video4Linux2 to capture and the GPU for further processing. It's not the fastest way, but it's simple.

For the Video4Linux2 part:

API: http://linuxtv.org/downloads/v4l-dvb-apis/
Camera Driver: http://www.linux-projects.org/modules/s ... e&artid=14
Capture Example in C: http://linuxtv.org/downloads/v4l-dvb-ap ... ample.html
Thank you for the reply! Is there any other way to do this?
Actually I found this and found it good or? I'm new to this so might be wrong also.
http://thinkrpi.wordpress.com/2013/05/2 ... board-csi/

Return to “Camera board”