setIdentityAsync function
SetIdentity initializes a scaled identity matrix. For further details, please see:
https://docs.opencv.org/master/d2/de8/group__core__array.html#ga388d7575224a4a277ceb98ccaa327c99
Implementation
Future<Mat> setIdentityAsync(InputOutputArray mtx, {Scalar? s}) async => cvRunAsync0(
(callback) => cffi.core_SetIdentity_Async(mtx.ref, s?.ref ?? Scalar.all(1).ref, callback),
(c) => c.complete(mtx),
);