opencv保存图片小bug

错误:

cv2.error: OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-6sxsq0tp\opencv\modules\imgcodecs\src\loadsave.cpp:667: error: (-2:Unspecified error) could not find a writer for the specified extension in function 'cv::imwrite_'

图片路径不对,需要把图片路径定位至名字,而非仅仅是到图片所在的文件夹路径

你可能感兴趣的:(OpenCv,opencv,人工智能,计算机视觉)