[Opencv-python] cv2.cvtColor(...) convert color space

[Opencv-python] cv2.cvtColor conversion color space

1. Background

The blog python and cv2 versions are as follows:

python:3.7.9 (default, Aug 31 2020, 17:10:11) [MSC v.1916 64 bit (AMD64)]

For detailed documentation, please refer to official information.
This blog is as simple and clear as possible. If there are any errors, please correct me.

Cv2 conversion color space interface:

cv2.cvtColor(src, code[, dst[, dstCn

Guess you like

Origin blog.csdn.net/jn10010537/article/details/112854943