ComfyUI Node
CV ArUco Detect Markers
Detects ArUco fiducial markers (cv2.aruco.ArucoDetector). Pick the dictionary the markers were printed from - it must match, or nothing is found. Outputs the four image corners of every marker and their integer ids. Finding no markers is a valid result (count = 0, empty arrays with the right dtype), never an error. Feed 'corners' into 'CV ArUco Draw Markers' to visualize, or into 'CV ArUco Board Pose' to recover the board's 3D pose for an augmented-reality overlay.
CV ArUco Detect Markers
- image
- corners
- ids
- count
◄dictionaryDICT_6X6_250►
Categoryimage/CV/features
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| image | NPARRAY,IMAGE | Image containing the markers (BGR or gray). Accepts a ComfyUI IMAGE/MASK directly (frame 0 of a batch) or an NPARRAY. Arithmetic ops (add, multiply, etc.) process the full IMAGE batch when both inputs have the same batch size. | |
| dictionary | COMBO | DICT_6X6_250 | ArUco dictionary the markers belong to. The NxN in the name is the marker's internal bit grid; the trailing number is the dictionary size. Must match the printed markers. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| corners | NPARRAY | Marker corners, (N, 4, 2) float32 in clockwise order starting top-left. Empty (0, 4, 2) when none found. |
| ids | NPARRAY | Marker ids, (N,) int32. Empty (0,) when none found. |
| count | INT | Number of markers detected. |