isOpened property
bool
get
isOpened
Returns true if video capturing has been initialized already.
If the previous call to VideoCapture constructor or VideoCapture::open() succeeded, the method returns true. https://docs.opencv.org/4.x/d8/dfe/classcv_1_1VideoCapture.html#aa6480e6972ef4c00d74814ec841a2939
Implementation
bool get isOpened {
return cvRunArena<bool>((arena) {
final p = arena<ffi.Int>();
cvRun(() => cvideo.VideoCapture_IsOpened(ref, p));
return p.value != 0;
});
}