| 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
)
Public Shared Sub DrawDetectedDiamonds (
image As InputArray,
diamondCorners As Point2f()(),
Optional diamondIds As IEnumerable(Of Vec4i) = Nothing
)
public:
static void DrawDetectedDiamonds(
InputArray^ image,
array<array<Point2f>^>^ diamondCorners,
IEnumerable<Vec4i>^ diamondIds = nullptr
)
static member DrawDetectedDiamonds :
image : InputArray *
diamondCorners : Point2f[][] *
?diamondIds : IEnumerable<Vec4i>
(* Defaults:
let _diamondIds = defaultArg diamondIds null
*)
-> 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 (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