VideoCaptureAsync extension

on

Methods

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({Mat? m}) Future<(bool, Mat)>

Static Methods

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.