def predict(self, operationBytes): Image.open(operationBytes).save('aux.png') img = cv2.imread('aux.png',cv2.IMREAD_GRAYSCALE) os.remove('aux.png')
我期待它保存图像供 cnn 阅读但是当我执行第二行时它说 aux.png not found..