View Full Version : How to get the frame image...

12-28-2009, 12:32 PM
Hi all,

I am doing a project automated car by image processing.. my guide asked me to do it virtually using opengl and opencv on visual studio platform..

- i have to load my road map to scene..
- get image in front car..
- then process it using opencv n then move car accordingly..

i just started with opengl... how to get the image of current frame ie displaying in view...
indeed i placed camera by 'setEye' on the car.. now i have to get the image data to process it..

please can any one help me..

12-28-2009, 03:20 PM
If you're not too concerned with performance, glReadPixels will do the trick. Otherwise, look into PBOs and/or FBOs.


01-23-2010, 01:38 PM
Hi all..

I am using SGI Performer to render my simulation... i want to capture the frame image as JPEG... in program how would i do this...

thank you