Perpetual program which runs on Raspberry Pi
image_capture()
function captures an image at every 30 seconds and invokess3_upload()
threads3_upload()
uploads the image to AWS S3 bucket and invokesface_recognition()
threadface_recognition()
gets response of all facial attributes(for all faces detetcted in image) from AWS rekognition and invokesmongodb_upload()
threadmongodb_upload()
uploads the facial attributes data of all faces to a database which is hosted onlineface_matches()
indexes all the faces and compares them with exisiting data set. If there is any matching face, it will write to database