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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file blurit-0.0.13.tar.gz.

File metadata

  • Download URL: blurit-0.0.13.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.8

File hashes

Hashes for blurit-0.0.13.tar.gz
Algorithm Hash digest
SHA256 2126486f8dbc85fa6f5adc009bc326add59b2b27522f11472e58b7d067d51a6a
MD5 33a46975be9d0d0080b854fc5561f5fe
BLAKE2b-256 be251f8faea2ef5eb4d534a68006f298b3eba00c10b5cd7e9d0c76f505258cc5

See more details on using hashes here.

File details

Details for the file blurit-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: blurit-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.8

File hashes

Hashes for blurit-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 2d4ba88088ea2628ecc9a277dcddf5b2bafe0f2e7b035268b84d0f010e0fbc8e
MD5 d6359ba2b96c2408b22a5707b7957625
BLAKE2b-256 4cfd9b4da66bda51c6a65e1cd51de7acde03368e0b0c589738110b29d305a0f9

See more details on using hashes here.

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