Complete the code to import the ArUco dictionary from OpenCV.
import cv2 aruco_dict = cv2.aruco.Dictionary_get(cv2.aruco.[1])
The DICT_4X4_50 is a common ArUco dictionary used for marker detection.
Complete the code to create an ArUco detector parameters object.
parameters = cv2.aruco.[1]()The correct method to create detector parameters is DetectorParameters_create().
Fix the error in the ArUco marker detection call.
corners, ids, rejected = cv2.aruco.[1](gray_image, aruco_dict, parameters=parameters)The correct function to detect markers is detectMarkers.
Fill both blanks to draw detected markers on the image.
cv2.aruco.[1](image, corners, ids, [2]=(0, 255, 0))
The function to draw markers is drawDetectedMarkers and the color parameter is borderColor.
Fill all three blanks to estimate pose of detected markers.
rvecs, tvecs, _ = cv2.aruco.[1](corners, markerLength=[2], cameraMatrix=[3], distCoeffs=None)
The function to estimate pose is estimatePoseSingleMarkers. The parameter for marker size is markerLength and the camera matrix parameter is cameraMatrix.
