Python 6.給圖片添加邊框(重複,複製,純色等) OpenCV

import cv2 import numpy as np from matplotlib import pyplot as plt BLUE = [255, 0, 0] img1 = cv2.imread('pic1.png', 1) # change the value of bgr b, g, r = cv2.split(img1) img2 = cv2.merge([r, g, b]) i
相關文章
相關標籤/搜索