Stitcher.create constructor

Stitcher.create({
  1. StitcherMode mode = StitcherMode.PANORAMA,
})

Creates a Stitcher configured in one of the stitching modes. https://docs.opencv.org/4.x/d2/d8d/classcv_1_1Stitcher.html#a308a47865a1f381e4429c8ec5e99549f

Implementation

factory Stitcher.create({StitcherMode mode = StitcherMode.PANORAMA}) {
  final ptr_ = calloc<cvg.Stitcher>();
  cvRun(() => cffi.Stitcher_Create(mode.index, ptr_));
  return Stitcher._(ptr_);
}