Code Monkey home page Code Monkey logo

facerekattendance's Introduction

iotHack

Facerek is a system that uses face recognition to automate the attendance system.

It makes use of a Raspberry Pi Model 3B and a Raspberry Pi Camera Module (V2) to capture images of the classroom and then segments the image into 5 different sections. Amazon's 'Rekognition' API is then used to detect faces in each segment. When a face is identified, the section of the image corresponding to the face is compared against the training set to find matches.

When a match is found, a database is updated to indicate the presence of the student in class. To avoid misidentification and other such error, pictures are taken every 5 minutes and the results are compared to confirm the student's presence.

Prerequisite steps

The AWS indexFaces command is used to upload quality images which are used as the basis for the face recognition model. An SQL database is set up on Azure.

camera.py

This file clicks pictures at regular intervals using the Raspberry Pi Camera.

upload.py

This file uploads the captured images to the Amazon S3 storage service.

detect.py

  1. Faces in the image are detected using AWS Rekognition
  2. Based on the markers returned, the individual faces are cropped and resized
  3. Each face is searched against known images in the collection on Rekognition
  4. The response is evaluated to discover any matching faces

insertDB.py

Add an entry into the database, USN is passed as a parameter

updateDB.py

This file updates the attendance database. The USN is an argument, and the attendance is marked based on the time automatically.

viewDB.py

Retrieve the current attendance status from the database.

facerekattendance's People

Contributors

kartikarcot avatar abhishekkrishna123 avatar

Watchers

James Cloos avatar  avatar

Forkers

arrambhaskar98

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.