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 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

Demo

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

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.

Files for blurit, version 0.0.11
Filename, size File type Python version Upload date Hashes
Filename, size blurit-0.0.11-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size blurit-0.0.11.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page