20190227-水
-
bug:出现以下提示却不显示图像
...\software\Anaconda4.2\envs\python35\lib\site-packages\matplotlib\figure.py:445: UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
-
解决方法
import matplotlib matplotlib.use('TkAgg') import matplotlib.pyplot as plt
-
bug
cv2显示图像np.float64图像与原图不一致
-
解决方法
img_array = img_array.astype(np.uint8)