The task was to paste Aruco Markers on squares in a given image. The given image consisted of different shapes of different colours. Squares had to be identified in the image along with their colours. Aruco Markers had to be oriented appropriately and pasted on squares of specific colours as mentioned below:
Box Colour : Aruco Marker ID
Green : 1
Orange : 2
Black : 3
Pink-Peach : 4
Python
OpenCV for Python
numpy
cv2
cv2.aruco
math
The python script can be found as "AtulyaOpenCV.py" . The final image is "final.jpg"