ArUco Marker Detection The function of this code is to detect the ArUco Markers in pictures. When we detected the marker in the pictures, we generate a 3D cube with the same size of the marker on the top of it.