letslego / andar

Automatically exported from code.google.com/p/andar
0 stars 0 forks source link

How to find the Frames per second(FPS) in AndAr? I want to display this number of frames display per second #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When the camera starts, I want to find the number of frames displayed in second

Thanks

Original issue reported on code.google.com by a.karuna...@gmail.com on 17 Sep 2010 at 1:35

GoogleCodeExporter commented 8 years ago
Is there any method on AndAR to draw the frames

Original comment by a.karuna...@gmail.com on 17 Sep 2010 at 2:00

GoogleCodeExporter commented 8 years ago
you can do a camera.getparameters in order to determine the available 
framerates. however andar uses a different approach. it will request a new 
frame each time the last frame was processed. currently there is now 
infrastructure to determine the effective FPS. You would implement it in the 
CameraPreviewHandler. Additionally there is no infrastructure to display text 
in the opengl window.

Original comment by tdomhan on 2 Oct 2010 at 11:25