public class CvSource extends VideoSource
VideoSource.Kind
m_handle
Constructor and Description |
---|
CvSource(java.lang.String name,
VideoMode.PixelFormat pixelFormat,
int width,
int height,
int fps) |
CvSource(java.lang.String name,
VideoMode mode) |
Modifier and Type | Method and Description |
---|---|
VideoProperty |
createProperty(java.lang.String name,
VideoProperty.Kind kind,
int minimum,
int maximum,
int step,
int defaultValue,
int value) |
void |
notifyError(java.lang.String msg) |
void |
putFrame(Mat image) |
void |
setConnected(boolean connected) |
void |
setDescription(java.lang.String description) |
void |
SetEnumPropertyChoices(VideoProperty property,
java.lang.String[] choices) |
enumerateProperties, enumerateSinks, enumerateSources, enumerateVideoModes, equals, free, getDescription, getHandle, getKind, getKindFromInt, getLastFrameTime, getName, getProperty, getVideoMode, hashCode, isConnected, isValid, setFPS, setPixelFormat, setResolution, setVideoMode, setVideoMode
public CvSource(java.lang.String name, VideoMode.PixelFormat pixelFormat, int width, int height, int fps)
public void notifyError(java.lang.String msg)
public void setConnected(boolean connected)
public void setDescription(java.lang.String description)
public VideoProperty createProperty(java.lang.String name, VideoProperty.Kind kind, int minimum, int maximum, int step, int defaultValue, int value)
public void SetEnumPropertyChoices(VideoProperty property, java.lang.String[] choices)