アルファチャンネルつき png を透過画像で貼り付ける with Python/OpenCV - Qiita

TL; DR bg.jpg の左上に、png_image.png (アルファチャンネルつき画像)を重ねる場合のコードです。 import cv2 frame = cv2.imread("bg.jpg") png_image = cv2.imread("alpha.png...