Click or drag to resize

CvArucoDrawDetectedDiamonds Method (InputArray, Point2f, IEnumerableVec4i)

Draw a set of detected ChArUco Diamond markers.

Namespace:  OpenCvSharp.Aruco
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void DrawDetectedDiamonds(
	InputArray image,
	Point2f[][] diamondCorners,
	IEnumerable<Vec4i> diamondIds = null
)

Parameters

image
Type: OpenCvSharpInputArray
input/output image. It must have 1 or 3 channels. The number of channels is not altered.
diamondCorners
Type: OpenCvSharpPoint2f
positions of diamond corners in the same format returned by detectCharucoDiamond(). (e.g std::vector<std::vector<cv::Point2f>>). For N detected markers, the dimensions of this array should be Nx4. The order of the corners should be clockwise.
diamondIds (Optional)
Type: System.Collections.GenericIEnumerableVec4i
vector of identifiers for diamonds in diamondCorners, in the same format returned by detectCharucoDiamond() (e.g. std::vector<Vec4i>). Optional, if not provided, ids are not painted.
See Also