Click or drag to resize

CvArucoDrawAxis Method

Draw coordinate system axis from pose estimation.

Namespace:  OpenCvSharp.Aruco
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void DrawAxis(
	InputOutputArray image,
	InputArray cameraMatrix,
	InputArray distCoeffs,
	InputArray rvec,
	InputArray tvec,
	float length
)

Parameters

image
Type: OpenCvSharpInputOutputArray
input/output image. It must have 1 or 3 channels. The number of channels is not altered.
cameraMatrix
Type: OpenCvSharpInputArray
input 3x3 floating-point camera matrix
distCoeffs
Type: OpenCvSharpInputArray
vector of distortion coefficients (k1,k2,p1,p2[,k3[,k4,k5,k6],[s1,s2,s3,s4]]) of 4, 5, 8 or 12 elements
rvec
Type: OpenCvSharpInputArray
rotation vector of the coordinate system that will be drawn.
tvec
Type: OpenCvSharpInputArray
translation vector of the coordinate system that will be drawn.
length
Type: SystemSingle
length of the painted axis in the same unit than tvec (usually in meters)
See Also