Skip to main content

A system for experimenting with face recognition

Project description

frsystem v1.1.2

FaceRecognitionSystem class

Initializes a FaceRecognitionSystem class object.

  1. Calls MTCNN face detection model object.

  2. Calls FaceNet or VGGFace model to extract embeddings (features) from face images.

  3. Creates a connection to the database of known faces by calling the "Database" class object.

  • self.db is the dictionary of known faces with id : name key-value pairs.
  • self.embeddings is the dictionary of known faces with id : embeddings key-value pairs.
  1. Loads face classifier that was trained on the database of known faces.
frsystem.frs.FaceRecognitionSystem(self,
				   embedding_model=None,
				   weights=None,
				   face_classifier=None,
				   **kwargs)

Arguments

Name Description
embedding_model Options:
1. None. If you want to use only face location and facial features detection functionality.
2. facenet. Use FaceNet as the feature extractor model. Input size for FaceNet is 160x160x3
3. vggface. Use VGG-Face as the feature extractor model. Input size for VGG-Face is 224x224x3
weights File path to the weights for the chosen embedding model. Defaults to None
face_classifier File path to pre-trained face classifier. Face classifier
**kwargs Two keyword arguments that are passed to the Database class. db_file and embeddings_file

More extended docs coming soon.

See https://github.com/amac-lfc/frsystem/tree/master/frsystem frs.py file for more information.

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

frsystem-1.1.3.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

frsystem-1.1.3-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file frsystem-1.1.3.tar.gz.

File metadata

  • Download URL: frsystem-1.1.3.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7

File hashes

Hashes for frsystem-1.1.3.tar.gz
Algorithm Hash digest
SHA256 e12dfd82def58261e99380f8e1c0c66ca2397debcc39a32a886daa0506f2e3dc
MD5 ff7deff183fafbc7553b2ce69c764b11
BLAKE2b-256 32631dcb9d7441c66d81bc47878d8cce448cf02e2fd1ec258dec2127dc4184ab

See more details on using hashes here.

File details

Details for the file frsystem-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: frsystem-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7

File hashes

Hashes for frsystem-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 13b1d0a32b5657149e3e0e9f4ec14aab65777a2c3b6eb964b72555c9ef8f6d3e
MD5 b41fcc3c264d872cee1b866cdfd638c2
BLAKE2b-256 4106a7c00a4d2b4fc8a669064845e0f347bc4c6ca863efc4d895245e0610044c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page