"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

Low Quality Image Frame

Hi,

I'm trying to get the current image that vuforia see using this code:

        const Vuforia::Image *imageGRAYSCALE = nil;

        Vuforia::Frame frame = state->getFrame();

        for (int i = 0; i < frame.getNumImages(); ++i) {

            const Vuforia::Image* image = frame.getImage(i);

            NSLog(@"FORMAT %i", image->getFormat());

            NSLog(@"%d %d", image->getWidth(), image->getHeight());

            if (image->getFormat() == 4) {//Vuforia::PIXEL_FORMAT->GRAYSCALE) {

//                NSLog(@"%d %d", image->getWidth(), image->getHeight());

                imageGRAYSCALE = image;

                break;

          

The problem is that the only format available is GRAYSCALE and the image width and height is 80x60, too low!

In the previous version of Vuforia (when was named QCAR) this code worked well and the quality was the real quality.

Is that a bug or I need to configurate something different?

 

Thanks

Please see the following thread:

https://developer.vuforia.com/forum/unity-extension-technical-discussion/imagepixelformatgrayscale-size