FaceIn-1.0.1
توضیحات
Classroom visual sign in program
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | FaceIn-1.0.1 |
| نام | FaceIn |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Urs Utzinger |
| ایمیل نویسنده | uutzinger@gmail.com |
| آدرس صفحه اصلی | https://github.com/uutzinger/FaceIn |
| آدرس اینترنتی | https://pypi.org/project/FaceIn/ |
| مجوز | MIT |
# 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 | | | | |
نحوه نصب
نصب پکیج whl FaceIn-1.0.1:
pip install FaceIn-1.0.1.whl
نصب پکیج tar.gz FaceIn-1.0.1:
pip install FaceIn-1.0.1.tar.gz