Mat.fromPointer constructor

Mat.fromPointer(
  1. MatPtr mat, {
  2. bool attach = true,
  3. int? externalSize,
})

construct from pointer directly

Implementation

factory Mat.fromPointer(cvg.MatPtr mat, {bool attach = true, int? externalSize}) =>
    Mat._(mat, attach: attach, externalSize: externalSize);