| CvArucoDrawDetectedDiamonds Method (InputArray, Point2f, IEnumerableVec4i, Scalar) |
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,
Scalar borderColor
)
Public Shared Sub DrawDetectedDiamonds (
image As InputArray,
diamondCorners As Point2f()(),
diamondIds As IEnumerable(Of Vec4i),
borderColor As Scalar
)
public:
static void DrawDetectedDiamonds(
InputArray^ image,
array<array<Point2f>^>^ diamondCorners,
IEnumerable<Vec4i>^ diamondIds,
Scalar borderColor
)
static member DrawDetectedDiamonds :
image : InputArray *
diamondCorners : Point2f[][] *
diamondIds : IEnumerable<Vec4i> *
borderColor : Scalar -> unit
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
- 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. - borderColor
- Type: OpenCvSharpScalar
color of marker borders. Rest of colors (text color and first corner color) are calculated based on this one.
See Also