Face Recognitio nDoor Lock with AWS Rekognition Raspberry Pi3
MIT License
Face Recognition Door Lock with AWS Rekognition & Raspberry Pi3 it works with RPI3 using the camera module
Python2
Boto3
pip install boto3
Python3
Boto3
pip3 install boto3
train.py
s3_client = boto3.client(
's3',
aws_access_key_id='',# add the aws access key
aws_secret_access_key=''# add the aws secret access key
)
collectionId='' #collection name
rek_client=boto3.client('rekognition',
aws_access_key_id='',# add the aws access key
aws_secret_access_key='',# add the aws secret access key
region_name='',)# add the region here
recognition.py
rek_client=boto3.client('rekognition',
aws_access_key_id='',# add the aws access key
aws_secret_access_key='',# add the aws secret access key
region_name='ap-south-1',)# add the region here
Both files
bucket = '' #S3 bucket name
recognition.py
directory = '' #folder name on your raspberry pi
First Run Train.py File on RPI
python train.py
Run main.py File on RPI ,connect the booton with GPIO 26
python main.py
Licensed under the MIT License