Problem in snapchat filter

i’m not able to do this challenge please help!

Hello @J20DSPP0003,

What problems are you facing while doing the challenge?

img

although i got 97 percent score, the mustache is not perfectly below the nose, how to do that?

for i in range(mustache.shape[0]):
for j in range(mustache.shape[1]):
if mustache[i,j,3]>0:
img[y2+i,x2+j,:] = mustache[i,j,:-1]

i used this code to put a mustache(same for glasses)

Hey @J20DSPP0003,

This might be due to the detected nose box. Try plotting the detected bounding box of the nose on the image and tune the hyperparameters of the cascade classifier until the box overlaps the nose properly.