Not able to approach the problem

I have tried adding a box onto the eyes. but I cannot get how to overlay the given images.

Also I feel the haarCascade files given are corrupted

hey @amoghjalan2005 ,
The files are not corrupted , its just that you might be working on a different opencv version.
So either downgrade it to 3.4.12 , or search for another haarcascades online.

And for how to approach the problem ,
then first you need to create a box around the eyes and mustache , then when you get that done just change the data inside that particular box to the given image.
To do that , you need to iterate over a particular steps which will decided by the shape of that box.
Then , take each pixel of original image and replace it with the respective pixel of image to be overlayed.

I hope this helps.

I tried and found that it can be done using offset
I have done this implementation
Colab Notebook
Can you please explain how offset works, also after I have got the final image. In which format do I need to convert it as on submission as csv (Answer.csv) it is showing Error occurred.

i didn’t which offset are you talking about ?

Kindly once check that your submission file shape is same as sample file shape.

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.