It is easy to tile images in python opencv. In this tutorial, we will use an example to show you how to do.
1.Read an image
import numpy import cv2 img = cv2.imread('C:/Users/N/Desktop/Test.jpg')
2.Use np.tile() function to tile images
tile = numpy.tile(img,(2,3,1))
3.Display image
cv2.imshow('Tile', tile) cv2.waitKey(0) cv2.destroyAllWindows()
Run this code, you will get this image: