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.

Source Distribution

blurit-0.0.11.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blurit-0.0.11-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blurit-0.0.11.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for blurit-0.0.11.tar.gz
Algorithm Hash digest
SHA256 97a0dd96460faca1b9b488140b425788aeffe45179a4520c2de638b0970380a6
MD5 5869796d2e312ccefdda3a78f30548ad
BLAKE2b-256 ba866f8c07df180517b274433de317d7f3ccecd7c24b8d31cf679dca4a171495

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blurit-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for blurit-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 ecfe738f07861e8ae8dea548c654efd0e3596c192b3c1c2a5225517a87bb926f
MD5 0a5826903203efe69a7ae4e2caf86105
BLAKE2b-256 95d63d0123e9213b635b994b305909c0e4a62fa722b7827b5eaf74eba85c90df

See more details on using hashes here.

Supported by

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