Face extraction system
Python implementation of face extraction using haar-cascade classifier for frontal faces.
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.
You can install this package in two ways:
- PIP installation
- 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.
- This application is applied to Low-resoluted images. Throws an exception if high-resolution given.
- Loops and Conditional statements are avoided and replaced with numpy arrays to reduce Time Complexity.
This project is licensed under the MIT license.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size facedet-2.0-py3-none-any.whl (6.5 kB)||File type Wheel||Python version py3||Upload date||Hashes View|