Log in or register to post comments

Improve camera view

January 22, 2011 - 2:49am #1

Hi everybody!

I'm curious about the camera/openGL view: Is there a way to improve its quality? Compared to the preinstalled camera app of my Desire, the visual appeal of the camera footage I'm getting from my AR app (building on the ol' ImageTargets) is not that good.

I would perfectly understand if the camera quality of ImageTargets has to be throttled due to performance reasons, but it would be ace if somebody could give me a hint on how to improve the quality of my camera view.

Cheers!

Re: Improve camera view

January 22, 2011 - 1:20pm #2

Try playing around with the CameraDevice selectVideoMode method. You can set this to MODE_DEFAULT, MODE_OPTIMIZE_SPEED, or MODE_OPTIMIZE_QUALITY. Optimize quality will give you the best image quality, at a performance cost. It still isn't as good as the camera app on the device though, you simply couldn't draw at that resolution and do all the other AR magic :)

In the ImageTargets.cpp file, look for QCAR::CameraDevice::getInstance().selectVideoMode.

- Kim

Log in or register to post comments