diff --git a/test/2024,9,10/set_alpha.py b/test/2024,9,10/set_alpha.py index 1169f12..31f73c0 100644 --- a/test/2024,9,10/set_alpha.py +++ b/test/2024,9,10/set_alpha.py @@ -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)