Skip to main content

[GreenLabs] - Face Recognition

This library written in MXNET framework.

Author: HungLV

Last Update: July 13, 2020

It features:

  • Face Detection
  • Extract Face Embedding
  • Search Face in database

Code:

Documentation:

User-Guide:

Model zoo:

Tech report:

What's new

  • [Jul 9] Initial version
  • [Jul 13] Make the models can run on GPU/CPU. Integrated rcnn library.

Installation

Make sure conda is installed

pip install green-face-recognition

Getting started

Prepare the config file as yaml type. Take a look this example.

Show the list of models

from face_recognition import models
models.show_avai_models()

Load the models

retina_model = models.build_model('retina-r50',config_path)
arcface = models.build_model('arc-face',config_path)

Make the prediction

# get faces and landmarks
retina_model.detect_fast(img,img.shape,0.8,[1],do_flip=False)

Appendix

Generate the distributions for uploading to server

python3 setup.py sdist bdist_wheel 

Upload to server

python3 -m twine upload --repository pypi dist/*

Reference

1. RetinaFaceModel

Download files

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

Source Distribution

green_face_recognition-0.1.6.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

green_face_recognition-0.1.6-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file green_face_recognition-0.1.6.tar.gz.

File metadata

  • Download URL: green_face_recognition-0.1.6.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for green_face_recognition-0.1.6.tar.gz
Algorithm Hash digest
SHA256 2f24c2f676b7d906cb03877ca389681699725e5b7dabda2d4061b0f2f778b6a1
MD5 b82e2223821ec24e1f3a3d249ceb0408
BLAKE2b-256 ba030cc17002e9b2150d42864e48bb5a64c529696e7b87d79bfe7be78a061f25

See more details on using hashes here.

File details

Details for the file green_face_recognition-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: green_face_recognition-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6

File hashes

Hashes for green_face_recognition-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ecd4e9725a1382258f3816e59598fabbae3f9dbcb64df1297c9822dd64851cc4
MD5 c0ee40769a3c8c6bd073349016c9c2d4
BLAKE2b-256 f13eadbc447285a8bacf769adc9d2ea632579baa06628f600e6d76ca6cf129f5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 files

0.1.5

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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