create a mask and delete inside contour in opencv python
问题 this is the result that I have from my code : enter image description here I've made this mask on my face using contour , as I show bellow in the code . the final result of the project is to delete the face and show the background that I am not defined it yet . my question is : is there any way to make a mask with this counter so i could use something like this cv2.imshow('My Image',cmb(foreground,background,mask)) to just show the foreground under the mask on the background ? ( the problem