drawFrameAxesAsync function

Future<void> drawFrameAxesAsync(
  1. Mat image,
  2. Mat cameraMatrix,
  3. Mat distCoeffs,
  4. Mat rvec,
  5. Mat tvec,
  6. double length, {
  7. int thickness = 3,
})

Draw axes of the world/object coordinate system from pose estimation.

For further details, please see: https://docs.opencv.org/4.11.0/d9/d0c/group__calib3d.html#gab3ab7bb2bdfe7d5d9745bb92d13f9564

Implementation

Future<void> drawFrameAxesAsync(
  Mat image,
  Mat cameraMatrix,
  Mat distCoeffs,
  Mat rvec,
  Mat tvec,
  double length, {
  int thickness = 3,
}) async {
  return cvRunAsync0(
    (callback) => ccalib3d.cv_drawFrameAxes(
      image.ref,
      cameraMatrix.ref,
      distCoeffs.ref,
      rvec.ref,
      tvec.ref,
      length,
      thickness,
      callback,
    ),
    (c) => c.complete(),
  );
}