Set the maker number in this code and run it:
(Marker generator courtesy of Ningxin Hu @ Intel)
Generate Marker
let markerId = 1; let markerImage = new cv.Mat(); let dictionary = new cv.Dictionary(cv.DICT_6X6_250); cv.drawMarker(dictionary, markerId, 200, markerImage, 1); cv.imshow("arucoCanvasOutput", markerImage); markerImage.delete(); dictionary.delete();