MpImageSegmenterSegmentAsync function

MpStatus MpImageSegmenterSegmentAsync(
  1. MpImageSegmenterPtr segmenter,
  2. MpImagePtr image,
  3. Pointer<MpImageProcessingOptions> options,
  4. int timestamp_ms,
  5. Pointer<Pointer<Char>> error_msg,
)

Implementation

MpStatus MpImageSegmenterSegmentAsync(
  MpImageSegmenterPtr segmenter,
  MpImagePtr image,
  ffi.Pointer<MpImageProcessingOptions> options,
  int timestamp_ms,
  ffi.Pointer<ffi.Pointer<ffi.Char>> error_msg,
) {
  return MpStatus.fromValue(
    _MpImageSegmenterSegmentAsync(segmenter, image, options, timestamp_ms, error_msg),
  );
}