explain arguments meaning in res = cv2.bitwise_and(img,img,mask = mask)
The basic concept behind this is the value of color black ,it’s value is 0 in OPEN_CV.So black + anycolor= anycolor because value of black is 0. Now suppose we have two images one is named img1 and other is img2. img2 contains a logo which we want to place on the img1. We create threshold and then the mask and mask_inv of img2,and … Read more