VideoCapture.fromFile constructor

VideoCapture.fromFile(
  1. String filename, {
  2. int apiPreference = CAP_ANY,
})

Implementation

factory VideoCapture.fromFile(String filename, {int apiPreference = CAP_ANY}) {
  return VideoCapture.create(filename, apiPreference: apiPreference);
}