camelot
camelot copied to clipboard
Frequency is interval
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 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.
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.