Python OpenCV TypeError: Layout of the output array img is incompatible with cv

参考Python Opencv根据点来填充区域写出如下代码: # -*- coding:utf-8 -*- __author__ = 'ShawDa' import cv2 import numpy as np img = np.full((512, 512, 1), 255) points = [[1, 142],[142, 142],[142, 300],[1, 142]] res =
相关文章
相关标签/搜索