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