Working mechanism of framerates

asked 2018-02-28 00:19:41 -0600

Kira gravatar image

Hello Everyone,

Currently i am interfacing a camera which operates at frame rate 120 fps at resolution of 640*480 I am using Opencv to interface the camera.I haven't set any parameter for the camera so inorder to get the frame rate i am using the following link and which gives me 30fps. https://www.learnopencv.com/how-to-fi...

So various question comes to me which i am not able to get the answers correctly. 1. What is the difference between the framerate of the hardware camera and my software program. 2. Can i call the frame rate captured by the software as the framerate of the camera. 3. If frame rate of the camera is different so how can i sync both the frame rates. 4. Exactly how does video capture works.

New to opencv so need to get clarity before proceeding. Thanks.

edit retag flag offensive close merge delete

Comments

I don't think there is an answer to your question but many are possible. When you use videocapture you can add a parameter for apipreference

If you want to control your hardware you should use driver api. Then you can send frame to ffmpeg using Videocapture

LBerger gravatar imageLBerger ( 2018-02-28 02:27:19 -0600 )edit