This app is a face identifier. If your face is existed in face bank, you recieved True, otherwise False.
Project description
Face Identifier
Feature of this app:
You can created a new facebank and add your face as a new face. You can add as many face as you want to the facebank. If a face exist in your face bank, app detect that face and return True. If a face doesn't exist in facebank, app return False.
how to use:
you can use this app in two way: in Command Line Interface(CLI) or in your Python environment.
In CLI use below command:
fi --url http://192.168.112.69:8080/video --update
If you use --update app first will try to add a new face face to facebank, so if you want to do this, be sure to put yur face in front of camera.
If you set url as --url http://192.168.112.69:8080/video app will use it to connect to a camera. If your system has a webcam or camera you can leave this parameter empty, so app automatically connect to first finded camera.
You can use --npyfile new_facebank.npy if you want to create a new facebank
In Python environment:
import face_identification as fi
fi = fi()
result = face_identification.main(url='url of your camera') ->url of your camera, if your system has a camera leave it as an empty string (example url ="http://192.168.112.69:8080/video")
# set update=True if you want add new face to facebank
result = face_identification.main(url='url of your camera', update=True)
# set npy_file_path="new_facebank.npy" if you want to create a new facebank:
result = face_identification.main(url='url of your camera', , npy_file_path="new_bank.npy")
result would be True if your face was added to facebank.
result would be False if your face hadn't been added to facebank.
How to install
pip install git+https://github.com/javadnematollahi/face_identification
pip install face_identidfy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file best_face_identification-1.0.0.tar.gz.
File metadata
- Download URL: best_face_identification-1.0.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81f77fbd905f364b0bf00c4155a4dd1ed06bdbd3e479fd8e8b79f47bb684ed84
|
|
| MD5 |
506d7d9472f752f398659055ff4337bf
|
|
| BLAKE2b-256 |
b8d369c6ca4892e7ef3dd8add47202cc9c9b40b6c9eee916a866468005bb89b5
|
File details
Details for the file best_face_identification-1.0.0-py3-none-any.whl.
File metadata
- Download URL: best_face_identification-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02e16c9eac396abc56d4e854b3f2b8508e63e4a69d044a6d4d1bf3df258cd0a7
|
|
| MD5 |
ce0b09dcc1f3671890cf534ef0ad39ed
|
|
| BLAKE2b-256 |
2ec2827a8847e0cfc0cc0b06f8cb5a60e9927dc1390cbd9347e5771984783b28
|