unity-game-engineaugmented-realityvuforia

How to increase Vuforia camera resolution?


I have a project that requires Vuforia to use the highest camera resolution possible for detection and tracking irregardless of final FPS. But I only get the resolution 1280 x 720 on Samsung Galaxy S23.

I have searched this question for answer in the Vuforia forums and found something such as "At present there is no way to increase the camera resolution.", and also "there is no specific solution to this; on certain devices the camera resolution is limited". These answers were from a long time ago. Is there a way to set the resolution of the Camera with Vuforia now? Thanks in advance.


Solution

  • There is no direct way to set the camera resolution. Instead, the Vuforia Engine has camera modes that you can set to adjust the image quality over performance. Use SetCameraMode(CameraMode.MODE_OPTIMIZE_QUALITY) for a higher resolution and image quality.

    See Working with Camera in Unity or the API library.

    Hope it helps,