I want to display an image on my output but this TypeError: Image data of dtype object cannot be converted to float keep appearing on my output

后端 未结 0 809
青春惊慌失措
青春惊慌失措 2021-01-02 18:51
import cv2
import matplotlib.pyplot as plt

img = cv2.imread(\'eight.png\')
plt.imshow(img)

and the error is

Ty

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