Jump to content

Android Camera framerate


pcasanova

Recommended Posts

Hi!

I'm testing Hand tracking SDK for android using Unity plugin.

My device is a Samsung S7 with gear VR headset. 

I was wondering if the SDK provides any function to check what framerate is rear camera working at.  There's some lag between head movement and hands tracking and i'm curious about how many FPS is the camera working at. 
Would it be possible to force camera to work at 30 fps or something similar??

 

Thanks in advance.

Pablo

@zzy

Link to comment
Share on other sites

Hi @pcasanova

On Android, hand tracking should be running at 30 fps, including time for waiting new camera frame, calculate hand results, and return results to c# interface.

If "GestureProvider.UpdatedInThisFrame" is true, it means a new frame is calculated. You can record the time of last frame and calculate the FPS.

Even if running at 30 fps, the latency is <33ms. But it might still feel lagging in VR, since the rendering is happening at 60 or more FPS.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...