I have detected the location of eyes but I am not able to place glasses on the eyes. The size of eyes region and glass image shape are not same.
Placing glasses on eyes
Hey @Nimish-Malhotra-2431984440178391
The eyes and the overlay are not meant to be the same size. You need to resize the overlay (glasses) to match the size of the eyes region.
You can use the cv2.resize() function to do the same.
Hope this helps!
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.