public class VideoCapture
extends java.lang.Object
Constructor and Description |
---|
VideoCapture() |
VideoCapture(int index) |
VideoCapture(java.lang.String filename) |
VideoCapture(java.lang.String filename,
int apiPreference) |
Modifier and Type | Method and Description |
---|---|
double |
get(int propId) |
boolean |
grab() |
boolean |
isOpened() |
boolean |
open(int index) |
boolean |
open(java.lang.String filename) |
boolean |
open(java.lang.String filename,
int apiPreference) |
boolean |
read(Mat image) |
void |
release() |
boolean |
retrieve(Mat image) |
boolean |
retrieve(Mat image,
int flag) |
boolean |
set(int propId,
double value) |
public VideoCapture()
public VideoCapture(int index)
public VideoCapture(java.lang.String filename)
public VideoCapture(java.lang.String filename, int apiPreference)
public double get(int propId)
public boolean grab()
public boolean isOpened()
public boolean open(int index)
public boolean open(java.lang.String filename)
public boolean open(java.lang.String filename, int apiPreference)
public boolean read(Mat image)
public void release()
public boolean retrieve(Mat image)
public boolean retrieve(Mat image, int flag)
public boolean set(int propId, double value)