MpObjectDetectorDetectForVideo function

MpStatus MpObjectDetectorDetectForVideo(
  1. MpObjectDetectorPtr detector,
  2. MpImagePtr image,
  3. Pointer<MpImageProcessingOptions> options,
  4. int timestamp_ms,
  5. Pointer<MpFaceDetectorResult> result,
  6. Pointer<Pointer<Char>> error_msg,
)

Implementation

MpStatus MpObjectDetectorDetectForVideo(
  MpObjectDetectorPtr detector,
  MpImagePtr image,
  ffi.Pointer<MpImageProcessingOptions> options,
  int timestamp_ms,
  ffi.Pointer<MpObjectDetectorResult> result,
  ffi.Pointer<ffi.Pointer<ffi.Char>> error_msg,
) {
  return MpStatus.fromValue(
    _MpObjectDetectorDetectForVideo(detector, image, options, timestamp_ms, result, error_msg),
  );
}