cv.drawDetectedMarkers - MATLAB File Help
cv.drawDetectedMarkers

Draw detected markers in image

img = cv.drawDetectedMarkers(img, corners)
img = cv.drawDetectedMarkers(..., 'OptionName',optionValue, ...)

Input

Output

Options

Given an array of detected marker corners and its corresponding ids, this functions draws the markers in the image. The marker borders are painted and the markers identifiers if provided. Useful for debugging purposes.

See also