VecPoint2f.fromMat constructor
VecPoint2f.fromMat(
- Mat mat
Implementation
factory VecPoint2f.fromMat(Mat mat) {
final p = calloc<cvg.VecPoint2f>();
cvRun(() => ccore.cv_Mat_toVecPoint2f(mat.ref, p, ffi.nullptr));
return VecPoint2f.fromPointer(p);
}