eyeAsync static method

Future<Mat> eyeAsync(
  1. int rows,
  2. int cols,
  3. MatType type
)

Implementation

static Future<Mat> eyeAsync(int rows, int cols, MatType type) async {
  final p = calloc<cvg.Mat>();
  return cvRunAsync0<Mat>(
    (callback) => ccore.cv_Mat_eye(rows, cols, type.value, p, callback),
    (c) => c.complete(Mat.fromPointer(p)),
  );
}