Get a ValueError when converting an array of images into float

前端 未结 0 1209
星月不相逢
星月不相逢 2021-01-28 14:54

I have a list of images of various dimensions:

images = []
for direct in directory:

    img = cv2.imread(direct)
    img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
          


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