Skip to main content

Face extraction system

Project description

Face_extraction

Python implementation of face extraction using haar-cascade classifier for frontal faces.

Requirements

The requirements.txt file contains following:

1. numpy
2. opencv-python
3. opencv-utils

`[sudo] pip install -r requirements.txt`
Download the project. Unzip this zip folder.

Installation

You can install this package in two ways:

  1. PIP installation
  2. ZIP extraction
# PIP Installation

Install latest version(1.0) from the [source](https://pypi.org/project/facedet/).
              **or**
`[sudo] pip install facedet`

Then type `python3` **outside** folders' location in terminal. And type these to get output.
`>>> import facedet`
`>>> from facedet import faceext`
`>>> faceext.extract()`

By default this package reads the images (`data2.jpg`) that was already given.
# ZIP Installation

After extracting zip from the repository. Type this command  **in** file location.
`[sudo] python3 faceext.py <path/to/image>` or you can select the images from data folder.

This way you can check for different images.

Remarks

  1. This application is applied to Low-resoluted images. Throws an exception if high-resolution given.
  2. Loops and Conditional statements are avoided and replaced with numpy arrays to reduce Time Complexity.

License

This project is licensed under the MIT license.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

facedet-2.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file facedet-2.0-py3-none-any.whl.

File metadata

  • Download URL: facedet-2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for facedet-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ace1c4ec66b490a29ec00d2b0abd1082720eefd51823c98df8a6f62c7db34cf1
MD5 7679c80852fe5e34c02edefd8df5c22b
BLAKE2b-256 21b20c24c117a03e41d98c56c1600e33af7d85a097ade3dcfa6faf8902b66f51

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