[Opencv-python] cv2.imwrite saves images
1. Background
For related blogs that have been published, please click to read:
[opencv-python] cv2.imwrite saves jpg and png images
https://blog.csdn.net/jn10010537/article/details/108936584
[Opencv-python] cv2.imwrite saves BMP bitmap
https://blog.csdn.net/jn10010537/article/details/106317471
Cv2's interface for saving images:
cv2.imwrite(filename, img[, params]) -> retval
For detailed documentation, please check