Stitcher.create constructor
Stitcher.create({
- 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.PtrStitcher>();
final status = _bindings.Stitcher_Create(mode.index, ptr_);
throwIfFailed(status);
return Stitcher._(ptr_.value);
}