Skip to main content

Library to ease data collection for face detection/recognition/analysis

Project description

Facekit

Version 1.1.0 MIT License

Face kit is a library that uses DNNs to ease data collection for other neural networks such as face recognition or face analysis. It currently has a MTCNN based face extractor for image directories as well as video directories with vidsnap.

Installation

Note: For some reason I can't get setup.py to pickup tensorflow, so after installing facekit, please also install tensorflow.

From PyPi

pip3 install facekit
pip3 install tensorflow

From Source

git pull https://github.com/jarviscodes/facekit
setup.py install
pip3 install tensorflow

Usage

Usage: python -m facekit [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  extract-faces
  extract-faces-video

extract-faces

(env) E:\Users\Jarvis\PycharmProjects\Facekit>python -m facekit extract-faces --help
Facekit v1.1.0
Usage: python -m facekit extract-faces [OPTIONS]

Options:
  -i, --in_path TEXT    Path where detector will pick up images.
  -o, --out_path TEXT   Path where detector will store images.
  -a, --accuracy FLOAT  Minimum detector threshold accuracy.
  --preload             Preload images in memory. More memory intensive, might
                        be faster on HDDs!
  --help                Show this message and exit.

extract-faces-video

(env) E:\Users\Jarvis\PycharmProjects\Facekit>python -m facekit extract-faces-video --help
Facekit v1.1.0
Usage: python -m facekit extract-faces-video [OPTIONS]

Options:
  -v, --video_in TEXT
  --video_interval INTEGER
  -i, --detector_in TEXT
  -o, --detector_out TEXT
  -a, --accuracy FLOAT      Minimum detector threshold accuracy.
  --preload                 Preload images in memory. More memory intensive,
                            might be faster on HDDs!
  --help                    Show this message and exit.

Demo

Video Extractor Gif

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

facekit-1.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

facekit-1.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file facekit-1.1.0.tar.gz.

File metadata

  • Download URL: facekit-1.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9

File hashes

Hashes for facekit-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c18b653aace476d8cc2d4298e00a1543b805b621f1c35833c83d146aadf638b0
MD5 c6b313706d3984524d278e77ded6e5ed
BLAKE2b-256 d297727f605a4c3b6d321e6dbd36020606ff2234145dc1c57b2a0a24fe803087

See more details on using hashes here.

File details

Details for the file facekit-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: facekit-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9

File hashes

Hashes for facekit-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e39aa6382c88400ceb18b4566d38b9cbc54c68eeeaf92f787b5e6e81942c1e90
MD5 4bef3a5185495cea1ec1c5b3e23ec625
BLAKE2b-256 d2d544a6e7274540b85f7fbdcd76ba82e825a76a97e148c484e5724f94d7bcec

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