修了个注释

This commit is contained in:
2024-09-14 21:55:46 +08:00
parent 8643747599
commit 0770bb146e
+1 -1
View File
@@ -2,7 +2,7 @@ import cv2 as cv
# read image
img=cv.imread("opencv_logo.png",cv.IMREAD_UNCHANGED)
# concert to rgba
# convert to rgba
img_rgba=cv.cvtColor(img,cv.COLOR_BGR2BGRA)
# split alpha channel
blue,green,red,alpha = cv.split(img_rgba)