修了个注释
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user