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

Metadata

Release files for green-face-recognition 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for green-face-recognition 0.1.6
File Size Uploaded Provenance
green_face_recognition-0.1.6.tar.gz 9.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for green-face-recognition 0.1.6
File Interpreter ABI Platform
green_face_recognition-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / green_face_recognition-0.1.6.tar.gz

Download URL green_face_recognition-0.1.6.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2f24c2f676b7d906cb03877ca389681699725e5b7dabda2d4061b0f2f778b6a1
BLAKE2b-256 checksum
How to use checksums
ba030cc17002e9b2150d42864e48bb5a64c529696e7b87d79bfe7be78a061f25
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / green_face_recognition-0.1.6-py3-none-any.whl

Download URL green_face_recognition-0.1.6-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecd4e9725a1382258f3816e59598fabbae3f9dbcb64df1297c9822dd64851cc4
BLAKE2b-256 checksum
How to use checksums
f13eadbc447285a8bacf769adc9d2ea632579baa06628f600e6d76ca6cf129f5
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for green-face-recognition 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page