public static interface WebcamUpdater.DelayCalculator
Modifier and Type | Method and Description |
---|---|
long |
calculateDelay(long snapshotDuration,
double deviceFps)
Calculates delay before the next image will be fetched from the webcam.
|
long calculateDelay(long snapshotDuration, double deviceFps)
snapshotDuration
- - duration of taking the last imagedeviceFps
- - current FPS obtained from the device, or -1 if the driver doesn't
support itCopyright © 2012-2018 Bartosz Firyn (SarXos). All Rights Reserved.