-
public interface VideoCapture
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
VideoCapture.State
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_DEVICE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VideoCapture
device(String device)
VideoCapture
onEOS(Runnable eos)
VideoCapture
onError(Consumer<String> error)
VideoCapture
onReady(Runnable ready)
VideoCapture
play()
boolean
render(Consumer<PImage> renderer)
VideoCapture
requestFrameRate(double fps)
VideoCapture
requestFrameSize(int width, int height)
VideoCapture.State
state()
VideoCapture
stop()
-
-
-
Field Detail
-
DEFAULT_DEVICE
static final String DEFAULT_DEVICE
- See Also:
- Constant Field Values
-
-
Method Detail
-
device
VideoCapture device(String device)
-
play
VideoCapture play()
-
stop
VideoCapture stop()
-
state
VideoCapture.State state()
-
onReady
VideoCapture onReady(Runnable ready)
-
onError
VideoCapture onError(Consumer<String> error)
-
onEOS
VideoCapture onEOS(Runnable eos)
-
requestFrameSize
VideoCapture requestFrameSize(int width, int height)
-
requestFrameRate
VideoCapture requestFrameRate(double fps)
-
-