1 左右拼接(height要求一样)
import cv2
from google.colab.patches import cv2_imshow
img_left = cv2.imread("./left.jpg")
img_right = cv2.imread("./right.jpg")
img = cv2.hconcat([img_left, img_right])
cv2.imwrite("merge.jpg", img)
2 垂直拼接(width要求一样)
i[......]