FaceDatabse-Identifier
A simple python package to identify the user on bases of there face and store there features in database
Prerequisite :
- Must have GCC for dlib to work
Sample Code :
from facetranscript import CaptureFaceInDataBase
if __name__=="__main__":
face = CaptureFaceInDataBase()
# Capture photo from front camera for user -> 'TestUser'
face.take_photo(username="TestUser")
# Fetch all stored users and there images in database
face_list = face.get_all_users()
# face_list is list [a,b,c...] where a,b,c.. are list of users with there images(Bytes)
print(face_list)
# To terminate all connections (camera/database)
face.close_all_connections()
Delete user from database :
- To delete a single user
from facetranscript import CaptureFaceInDataBase
face = CaptureFaceInDataBase()
# delete_user_data returns bool value if it is True user is deleted
is_user_deleted = face.delete_user_data("TestUser")
- To drop the complete table
from facetranscript import CaptureFaceInDataBase
face = CaptureFaceInDataBase()
# is_table_dropped returns bool value if it is True table is deleted
is_table_dropped = face.drop_table()
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file facetranscript-0.0.3.1.tar.gz.
File metadata
- Download URL: facetranscript-0.0.3.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c13cf5c9fb8568b824cafe7917d7890fc6f0b770a0ded9c33c6eb94b8a2d04d4
|
|
| MD5 |
c744288b42ba8f20a1a37269bcf3432a
|
|
| BLAKE2b-256 |
eee850725a41ecb21f5bc6ecfeb6bb6655654195049b63ef5a0336f0685ea80a
|