fsor
April 13, 2011, 14:38:36
Hi,
I'm working on a C++ project in which I have to grab a frame from the camera and implement it into a GUI.
I'm using OpenCV for grabing frames and Qt Creator is my IDE, wich allows me to create a GUI easily. But I have some problems.
The FPS of my camera is setted by IC Capture 2.2 at 50 FPS (camera DFK 72AUCO2) in 640*480, but in my application I developped, I can't get any information about the framerate by using OpenCV functions and the display is really slow, I think it is about 10 FPS.
This isn't enough to do what I have to do, so, please, I would like to know:
-How can I set the FrameRate of my camera without using imaging source's functions? I just can't use them because I'm don't using visual C++ and the headers I add in my Qt project doesn't compile.
-Are the camera properties saved into a file in which I can Read/Write ? Or into some register key? How can I access to them whithout functions like setFPS or setFramerate?
I really thank you for your help and for your answers.
Best Regards,
fsor.
I'm working on a C++ project in which I have to grab a frame from the camera and implement it into a GUI.
I'm using OpenCV for grabing frames and Qt Creator is my IDE, wich allows me to create a GUI easily. But I have some problems.
The FPS of my camera is setted by IC Capture 2.2 at 50 FPS (camera DFK 72AUCO2) in 640*480, but in my application I developped, I can't get any information about the framerate by using OpenCV functions and the display is really slow, I think it is about 10 FPS.
This isn't enough to do what I have to do, so, please, I would like to know:
-How can I set the FrameRate of my camera without using imaging source's functions? I just can't use them because I'm don't using visual C++ and the headers I add in my Qt project doesn't compile.
-Are the camera properties saved into a file in which I can Read/Write ? Or into some register key? How can I access to them whithout functions like setFPS or setFramerate?
I really thank you for your help and for your answers.
Best Regards,
fsor.