Search Unity

Can't change camera resolution

Discussion in 'Vuforia' started by Bierrobot, Feb 26, 2018.

  1. Bierrobot


    Oct 13, 2017

    I am building an AR app on my Pixel 2 XL, and in order to improve tracking at a distance, I would like to increase the camera resolution and FPS that Vuforia uses for tracking.

    The Pixel 2 XL camera can be 720p,1080p and 4K at various fps (, but when I query CameraDevice.Instance.GetCameraImage the images I get are only 720p.

    To modify the resolution, I tried to use the function SelectVideoMode(MODE_OPTIMIZE_QUALITY) but it doesn't seem to work, and I only found old documentation about this topic.

    Is there a way to set the resolution and fps of the Camera with Vuforia?

    Thanks for your help.
    Sami_AlEsh likes this.