Search Unity

ARFoundation uses zoomed in version of front face camera

Discussion in 'AR' started by timbokoppers, Feb 4, 2020.

  1. timbokoppers

    timbokoppers

    Joined:
    Nov 14, 2016
    Posts:
    71
    Hi,

    The ARBackgroundCamera show the front face camera for Face Tracking. But the FOV or viewport is different then when using the same camera in another (non-unity) app. See the attached screenshots.

    I guess it has something to do with the projection matrix or display matrix to align everything correctly on all devices. But is there a way to show the full camera image, even if is not the same as the screen aspect ratio?
     

    Attached Files: