Help in this project

I am stuck here. First of all, when viewing the glasses and mustache in OpenCV, it’s completely black. Secondly, how will I put them over the other image without cropping and perfectly?

it contains an alpha channel , so you need to load in rgba mode.

you need to use haarcascades to detect the locations and area , and then paste those images over there after resizing in the shape you detected .

I hope this helps a bit.

I tried doing it… and the picture gets appended as this…

How do I proceed? I used alpha as 0.5 here. Not even the entire specs is coming in the picture.

you are reading the image in incorrect manner.

try like this once.
cv2.imread(path , -1)

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.