"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

How to access current image?

Can't find a way to get QCAR::Image from Camera instance?

[QUOTE=stridefrodo]Can't find a way to get QCAR::Image from Camera instance?[/QUOTE] In the Open GL view of your app, there'll be a call back: // *** QCAR will call this method on a single background thread *** - (void)renderFrameQCAR Within the call back the state is retrieved when initialisi

stridefrodo

Tue, 08/02/2011 - 21:11

Thanks a lot for your response. The image held by frame is a color image or b&w? I got buffer width and height 480 and 360 respectively and 720 as stride? It means there are two bytes per pixel? Thanks again for your help.

Within the Image object documentation look for the method getFormat() returning enum type QCAR::PIXEL_FORMAT, which specifies the following pixel encoding types. UNKNOWN_FORMAT - Unknown format - default pixel type for undefined images RGB565 - A color pixel stored in 2 bytes using 5 bits f