Skip to main content

This package is aimed to build to blur different portions of a image. Currently it blurs eyes in human photograph.

Project description

Blur It

This package is aimed to build to blur different portions of a image. Currently it blurs eyes in human photograph.

PyPI version

Install

pip install blurit

Usage

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)

Demo

  • I have used a selfie of elen from here and compiled the code. looks as below.

Pretained model used in extracting features

Facial landmarks are found using a pre-trained 68 point predictor:.

I have used the help from below posts to build this package

  1. How to draw a rectangle around a region of interest in python
  2. How to use opencv (python) to blur faces?
  3. Gaussian blurring with OpenCV: only blurring a subregion of an image?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blurit-0.0.13.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

blurit-0.0.13-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page