How do I change the dimension of an image from 3D matrix to 2D matrix in python?

后端 未结 0 1169
孤城傲影
孤城傲影 2020-12-28 10:08

I have an image:

labels = cv2.imread("/Users/vaibhavsaxena/Desktop/corn1 copy.png")
labels.shape
(1528, 1518, 3)

How do I change th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题