Skip to main content

Classroom sign visual in programWorks on Windows, Raspian, JetsonNano, MacOS

Project description

Face In

Sign in system with face recognition Based on code from https://github.com/serengil/deepface

Urs Utzinger, 2022

Requisits

pip3 install deepface
pip3 install camera-util

Create folder database and place images of known faces into them. Supports .jpg files.

Supports multiple images for same person, in database/First_Last/First_Last001.jpg

Configuration

detector_backend        = "retinaface"  # opencv*, ssd, mtcnn, dlib, retinaface
freeze_time             = 5             # how will the results be displayed
frame_threshold         = 5             # how many frames required to focus on a face, 5*
minimum_face_width      = 180           # filter out small faces, depends on camera
model_name              = "ArcFace"     # VGG-Face*, Facenet, OpenFace, DeepFace, DeepID, Dlib, ArcFace or Ensemble
distance_metric         = "cosine"      # cosine*, euclidean, euclidean_l2
datafile                = "./database/bme210_2022Spring.dat"
db_path                 = "./database"  # Folder for .jpg files of known faces

Performance

Detector Example exection time in ms Works w glasses Works w obstruction Works w facemask
Retinaface 172-233 yes yes yes
OpenCV 40-56 no no no
SSD 19-30 yes yes no
MTCNN 873-1029 yes yes no
DLIB 346-352 yes no no
Model Example exection time in ms Works w glasses Works w obstruction Works w facemask
ArcFace
VGG-Face
FaceNet
OpenFace
DeepID

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

FaceIn-1.0.0-py2.py3-none-any.whl (21.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file FaceIn-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: FaceIn-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for FaceIn-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4c8df38808a84757d0aa8989822b6319011ab1d1a6f262d174bc19765d96501b
MD5 3b7e3083e2b7b9e5498d64e1af30ae1f
BLAKE2b-256 eb84fe40db6e5fc86ca4ac541848865117a89a8701d9a0ecb8dd40bbd4cf7e2b

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