VideoCaptureAsync extension

on

Methods

grabAsync() Future<bool>
Grabs the next frame from video file or capturing device.
openAsync(String uri, {int apiPreference = CAP_ANY}) Future<bool>
Opens a video file or a capturing device or an IP video stream for video capturing with API Preference and parameters.
openIndexAsync(int index, {int apiPreference = CAP_ANY}) Future<bool>
Opens a camera for video capturing with API Preference and parameters.
readAsync() Future<(bool, Mat)>
releaseAsync() Future<void>

Static Methods

emptyAsync() Future<VideoCapture>
fromDeviceAsync(int device, {int apiPreference = CAP_ANY}) Future<VideoCapture>
fromFileAsync(String filename, {int apiPreference = CAP_ANY}) Future<VideoCapture>
Opens a video file or a capturing device or an IP video stream for video capturing with API Preference.