Search Unity

Can't change camera resolution

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

  1. Bierrobot

    Bierrobot

    Joined:
    Oct 13, 2017
    Posts:
    8
    Hello,

    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 (https://store.google.com/sg/product/pixel_2_xl_specs), 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.
  2. haratiank2

    haratiank2

    Joined:
    Feb 16, 2020
    Posts:
    1
    have you found any solution?
     
  3. Sika_MC

    Sika_MC

    Vuforia

    Joined:
    Jul 17, 2019
    Posts:
    96
    Hi,

    Unfortunately you are not able to modify the resolution, this is achievable only via the SelectVideoMode.
    My understanding is that for pixel 2XL when selecting Quality you will get 1920x1080.
    Hope this helps.
    Vuforia Engine Support