ArucoInvokeDetectMarkers Method |
http://www.emgu.com
Performs marker detection in the input image. Only markers included in the specific dictionary are searched. For each detected marker, it returns the 2D position of its corner in the image and its corresponding identifier. Note that this function does not perform pose estimation.
Namespace:
Emgu.CV.Aruco
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static void DetectMarkers(
IInputArray image,
Dictionary dict,
IOutputArrayOfArrays corners,
IOutputArray ids,
DetectorParameters parameters,
IOutputArrayOfArrays rejectedImgPoints = null
)
Public Shared Sub DetectMarkers (
image As IInputArray,
dict As Dictionary,
corners As IOutputArrayOfArrays,
ids As IOutputArray,
parameters As DetectorParameters,
Optional rejectedImgPoints As IOutputArrayOfArrays = Nothing
)
public:
static void DetectMarkers(
IInputArray^ image,
Dictionary^ dict,
IOutputArrayOfArrays^ corners,
IOutputArray^ ids,
DetectorParameters parameters,
IOutputArrayOfArrays^ rejectedImgPoints = nullptr
)
static member DetectMarkers :
image : IInputArray *
dict : Dictionary *
corners : IOutputArrayOfArrays *
ids : IOutputArray *
parameters : DetectorParameters *
?rejectedImgPoints : IOutputArrayOfArrays
(* Defaults:
let _rejectedImgPoints = defaultArg rejectedImgPoints null
*)
-> unit
Parameters
- image
- Type: Emgu.CVIInputArray
input image - dict
- Type: Emgu.CV.ArucoDictionary
indicates the type of markers that will be searched - corners
- Type: Emgu.CVIOutputArrayOfArrays
Vector of detected marker corners. For each marker, its four corners are provided, (e.g VectorOfVectorOfPointF ). For N detected markers, the dimensions of this array is Nx4. The order of the corners is clockwise. - ids
- Type: Emgu.CVIOutputArray
vector of identifiers of the detected markers. The identifier is of type int (e.g. VectorOfInt). For N detected markers, the size of ids is also N. The identifiers have the same order than the markers in the imgPoints array. - parameters
- Type: Emgu.CV.ArucoDetectorParameters
marker detection parameters - rejectedImgPoints (Optional)
- Type: Emgu.CVIOutputArrayOfArrays
contains the imgPoints of those squares whose inner code has not a correct codification. Useful for debugging purposes.
See Also