【发布时间】:2019-03-12 08:19:09
【问题描述】:
我正在尝试通过 colab 中的 imshow 功能显示图像。它给了我类型错误。我也尝试通过 cv2 显示它。还是没有运气! :(
# Load in Grayscale
img = cv2.imread('stairs.jpg', 0)
# The underlying representation is a numpy array!
print(type(img))
plt.imshow(img)
plt.show()
【问题讨论】:
标签: python