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
相关文章
相关标签/搜索