学渣笔记:opencv-python识别图像
import cv2
import numpy as np
引入cv2和numpy包
def stackImages(scale, imgArray):
rows = len(imgArray)
cols = len(imgArray[0])
rowsAvailable = isinstance(imgArray[0], list)
width = imgArray[0][0].shape[1]
height = imgArray[0][0].shape[0]
原创
2021-04-15 21:00:05 ·
764 阅读 ·
3 评论