Jump to content
Happy Holidays! Limited Staff Responses: 1/20 - 1/31 ×

Android Camera framerate


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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...