Log in or register to post comments

Reduce Camera Feed Latency on Gear VR?

March 14, 2016 - 5:04pm #4

Any tips on how to reduce the latency of vuforias camera feed on the Gear VR? I'm comparing the Vuforia AR/VR unity sample to the Gear VR Camera Pass-Through app and the performance difference is huge. Moving around with Vuforia Camera Feed is almost nauseatingly slow compared to Gear VR's built in Pass-Through app.

Reduce Camera Feed Latency on Gear VR?

March 15, 2016 - 9:51am #3

Could you verify that the AR-VR sample is running at 60fps (and not 30fps) ?

 

You can measure the frame rate with a script like the following:

using UnityEngine;
using System.Collections;
 
public class FPS : MonoBehaviour
{
	float deltaTime = 0.0f;
 
	void Update()
	{
		deltaTime += (Time.deltaTime - deltaTime) * 0.1f;
		float fps = 1.0f / deltaTime;
		string text = string.Format("{0:0.0} fps)", fps);
		Debug.Log(text);
	}
}

 

 

Reduce Camera Feed Latency on Gear VR?

March 16, 2016 - 2:21pm #2

Yes, it looks like the sample is running at 60fps. The latency is probably not nearly as noticeable unless you compare the Vuforia app to the Gear VR's Passthrough mode side by side. (Try viewing one then immediately start viewing the other). You'll notice that the Gear VR's is significantly more refined and more robust to faster head movements. I'm wondering if that same or similar level of performance is achievable with Vuforia? 

Reduce Camera Feed Latency on Gear VR?

March 22, 2016 - 8:50am #1

Vuforia applies additional processing to the camera’s image frames in order to support the detection and tracking needed for AR apps. This processing imposes a slight delay on the rendering of the frame and may be noticeable when compared against a pass-through mode that doesn’t process the camera image

Log in or register to post comments