silviodelgado70
Posts: 41
Joined: Sun Dec 01, 2013 10:36 pm

Questions about Picam

Sat Jun 14, 2014 1:09 pm

I have been working with sources of raspistill and raspivid, trying to get an image from raspi-camera to opencv. I'm aplying OpenGL shader to preprocess the image, and then I use glReadPixels to get the rendered image to OpenCV. My code is still in development of course, and I have a lot of questions. So if anyone out there could help me, please answer the ones you can.

1- What are the differences between the three ports of camera component?
2- Is 30 the max frame rate of the camera preview port?
3- Which of the three ports outputs is the best choice to be passed to OpenGL?
4- Is it possible to make multiple shader passes? Can I render to a texture to use it again in rendering but with other shader?
5- Is there a way to avoid using glReadPixels to get the rendered image to OpenCV (I mean render to shared memory for example)?

silviodelgado70
Posts: 41
Joined: Sun Dec 01, 2013 10:36 pm

Re: Questions about Picam

Mon Jul 28, 2014 7:25 pm

I have answered some of my own questions but i need help.
Can someone give me a link to an example of rendering with multiple shader passes using opengles in rpi?

lagurus
Posts: 48
Joined: Wed Aug 07, 2013 8:02 am

Re: Questions about Picam

Thu Jul 31, 2014 10:52 am

silviodelgado70 wrote:I have answered some of my own questions but i need help.
Can someone give me a link to an example of rendering with multiple shader passes using opengles in rpi?
Try to look at https://github.com/lagurus/userland_bgs.

silviodelgado70
Posts: 41
Joined: Sun Dec 01, 2013 10:36 pm

Re: Questions about Picam

Thu Jul 31, 2014 12:45 pm

lagurus wrote:
silviodelgado70 wrote:I have answered some of my own questions but i need help.
Can someone give me a link to an example of rendering with multiple shader passes using opengles in rpi?
Try to look at https://github.com/lagurus/userland_bgs.
This is very good stuff. Thank you very much, I really apreciate it.

Return to “Camera board”