This package is aimed to build to blur different portions of a image. Currently it blurs eyes in human photograph.
pip install blurit
from py-blur import blur_eyes_in_images #call the below function to blur eye in a image blur_eyes_in_images(file_base_path,save_base_path,size) #file_base_path - path of the folder that contains images #save_base_path - path of the images generated #size - height and width of the blur
- I have used a selfie of elen from here and compiled the code. looks as below.