Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Face-Recognition-Attendence-with-AWS-Rekognition-Raspberry-Pi3

License

NotificationsYou must be signed in to change notification settings

GetSetCoding/Face-Recognition-Attendence-with-AWS-Rekognition-Raspberry-Pi3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Recognition Attendence with AWS Rekognition & Raspberry Pi3 it works with RPI3 using the camera module

forthebadge made-with-pythonPython 3.6PyPI license

Hardware Requirements:

1.Raspberry Pi (Any Version Will Work)

2.Raspberry Pi Camera (Also USB Webcam Can Be Used)

3.Push Button

4.Motion Sensor (Optional)

Software Dependencies:

Python2

Boto3

pipinstallboto3

Python3

Boto3

pip3installboto3

Step 1 : Create a AWS S3 Bucket in that bucket create folders with the name of the students and add their images atleat 5-10

Step 2 : Go to IAM and create a new user and set access type to Programmatic access

Step 3 : Set permissions for S3 and Rekoognition to full access

Step 4 : Complete the process you will get Accesss Key ID & Secret Access Key Copy both and add it in train.py and main.py

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 namerek_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

Step 5 : Add the S3 Bucket Name & Folder to save the images on pi

Both files

bucket = '' #S3 bucket name

recognition.py

directory = '' #folder name on your raspberry pi

Run

First Run Train.py File on RPI

python train.py

Run main.py File on RPI

python main.py

Run main_button.py if you want to add a button functionality and connect the booton with GPIO 26

python main_button.py

Run main_motion.py if you want to add Motion sensor functionality and connect the Motion Sensor with GPIO 4

python main_motion.py

License & Copyright

©Arbaz Khan

Licensed under theMIT License

About

Face-Recognition-Attendence-with-AWS-Rekognition-Raspberry-Pi3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp