camelot icon indicating copy to clipboard operation
camelot copied to clipboard

Frequency is interval

Open netAction opened this issue 12 years ago • 2 comments

The frequency parameter is not for the frequency but for the interval in seconds.

What I tried was setting the frequency to 30Hz. I need every single frame to detect a fast blinking light. This does not work as the camera seems to be busy for nearly one second when shooting a single frame.

netAction avatar Dec 21 '12 15:12 netAction

@netAction frequency should indeed be rename to interval in a future version.

Looks like you're trying to achieve high FPS which is currently not really possible due to the slow nature of process spawning. That being said, it could be tweaked to add support for the fswebcam --loop parameter which should be better at handling higher fps.

pdeschen avatar Dec 21 '12 16:12 pdeschen

Now I know why you called it "frequency". It has the same wrong label in fswebcam. fswebcam takes only whole seconds as loop param so this does not help.

netAction avatar Dec 21 '12 20:12 netAction