This package is aimed to build to blur different portions of a image. Currently it blurs eyes in human photograph.
pip install blurit
from blurit import blur_eyes_in_images
#blur_eyes_in_images('[YOUR-IMAGES-FOLDER-PATH]','[GENERATED-IMAGES-FOLDER PATH]','VALUE-OF-HEIGHT-AND-WIDTH-OF-BLUR')
blur_eyes_in_images('./images','./images_generated',15)
- I have used a selfie of elen from here and compiled the code. looks as below.
Facial landmarks are found using a pre-trained 68 point predictor:.