OpenCV 保存png图像

cv2.imwrite('test.png',img)

参考资料:

https://cloud.tencent.com/developer/article/1665760