| CvArucoDrawMarker Method |
Draw a canonical marker image
Namespace:
OpenCvSharp.Aruco
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void DrawMarker(
Dictionary dictionary,
int id,
int sidePixels,
OutputArray mat,
int borderBits = 1
)
Public Shared Sub DrawMarker (
dictionary As Dictionary,
id As Integer,
sidePixels As Integer,
mat As OutputArray,
Optional borderBits As Integer = 1
)
public:
static void DrawMarker(
Dictionary^ dictionary,
int id,
int sidePixels,
OutputArray^ mat,
int borderBits = 1
)
static member DrawMarker :
dictionary : Dictionary *
id : int *
sidePixels : int *
mat : OutputArray *
?borderBits : int
(* Defaults:
let _borderBits = defaultArg borderBits 1
*)
-> unit
Parameters
- dictionary
- Type: OpenCvSharp.ArucoDictionary
dictionary of markers indicating the type of markers - id
- Type: SystemInt32
identifier of the marker that will be returned. It has to be a valid id in the specified dictionary. - sidePixels
- Type: SystemInt32
size of the image in pixels - mat
- Type: OpenCvSharpOutputArray
output image with the marker - borderBits (Optional)
- Type: SystemInt32
width of the marker border.
See Also