By vinrvrul
on Sun, 02/17/2019 - 05:25
I'm developing an application which will benefit from higher camera frame rate (~10 FPS), which is availble if the images I get are of 480p. However, I get 720p frames if I launch the application, and get 480p if I pause/resume it. I wanted to know how to keep the resolution lower at application start. For some reason, it also doesn't recognise any image targets in 720p, and works in 480p but with heavy jittering. I'm using this:
CameraDevice.Instance.SelectVideoMode(CameraDeviceMode.MODE_OPTIMIZE_SPEED); if (!CameraDevice.Instance.SetFocusMode(FocusMode.FOCUS_MODE_CONTINUOUSAUTO)) { CameraDevice.Instance.SetFocusMode(FocusMode.FOCUS_MODE_TRIGGERAUTO); }
I am updating this once in OnVuforiaStarted() and OnPaused().