[][src]Function opencv::aruco::draw_axis

pub fn draw_axis(
    image: &mut dyn ToInputOutputArray,
    camera_matrix: &dyn ToInputArray,
    dist_coeffs: &dyn ToInputArray,
    rvec: &dyn ToInputArray,
    tvec: &dyn ToInputArray,
    length: f32
) -> Result<()>
👎 Deprecated:

use cv::drawFrameAxes

Draw coordinate system axis from pose estimation

Parameters

  • image: input/output image. It must have 1 or 3 channels. The number of channels is not altered.
  • cameraMatrix: input 3x3 floating-point camera matrix inline formula
  • distCoeffs: vector of distortion coefficients inline formula of 4, 5, 8 or 12 elements
  • rvec: rotation vector of the coordinate system that will be drawn. (see also: Rodrigues).
  • tvec: translation vector of the coordinate system that will be drawn.
  • length: length of the painted axis in the same unit than tvec (usually in meters)

Given the pose estimation of a marker or board, this function draws the axis of the world coordinate system, i.e. the system centered on the marker/board. Useful for debugging purposes.

Deprecated: use cv::drawFrameAxes