Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   USB Camera FPS low (http://www.chiefdelphi.com/forums/showthread.php?t=154245)

mananb 25-01-2017 17:14

USB Camera FPS low
 
My team is having an issue with the FPS on Microsoft Lifecam 3000. When we first start the robot, the fps is at 30. However, after running the code a few times, the fps drops down to around 7. We have tried all the standard stuff: rebooting, checking the code for objects that may not have been garbage collected, etc. but haven't been able to find a solution. We also don't know whether it is problem in the roboRIO, the RAM, the camera, or the network. Does anybody know a possible solution?

Thanks

billbo911 25-01-2017 17:54

Re: USB Camera FPS low
 
So many questions need to be answered before we can point you in the right direction:

What language are you programming your robot in?
Are you processing images, or just displaying them?
If processing, how and where?
At what resolution are you acquiring images?
Do you have compression set, and if so, to what level?
Are you using bandwidth limiting on the radio?
Are you even using the radio?

There are more, but this is a start.

mananb 27-01-2017 14:08

Re: USB Camera FPS low
 
What language are you programming your robot?
We are programming in java

Are you processing images, or just displaying them?
If processing, how and where?
We are processing the images using GRIP. This is most likely the problem.

At what resolution are you acquiring images?
We are using 320 by 240

Do you have compression set, and if so, to what level?
We don't have a compression set.

Are you using bandwidth limiting on the radio?
We are using the default settings, don't know if this has a bandwidth limit.

Are you even using the radio?
Yes.

We are programming in java.

RoboChair 27-01-2017 14:38

Re: USB Camera FPS low
 
That only equates to a frame "latency" of 143ms, if you are doing vision processing ask yourself if you really need more than that. Less frames means less that you have to process or transmit.


All times are GMT -5. The time now is 07:11.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi