Coder Social home page Coder Social logo

fingerprint_attendance's Introduction

Biometric Attendance system with raspberry pi 4

A simple attendance system with raspberry pi 4 and fingerprint scanners. It has the following features

  1. Enroll Student data and store details like name, roll, subjects, etc
  2. Take attendance and store attendance data in a csv file format
  3. Share the data over network with teachers Using Syncthing

QuickStart

  1. Download copy of the code or clone it to desired path in the raspberry pi
  2. Use Crontab to run "main.py" at startup.
  3. Connect the peripherals properly (pinouts can be found easily on the web)
  4. Install the below mentioned modules
  5. To enroll students disable crontab, connect to the raspberry pi through VNC Viewer or HDMI and run "admin.py". You will require a keyboard to enroll student details.

Current Module Requirements

These two modules need to be installed via pip. I recommend installing them directly using --break-system-packages as setting up a virtual environment leads to problems while trying to autorun the program

  1. Pyfingerprint Module
pip install pyfingerprint --break-system-packages
  1. Luma Core
pip install luma.core --break-system-packages

How To Autorun?

As mentioned above I am using Crontab to autorun the main.py at startup. I am using a bash script because it just works. Make a new file in the home directory named start.sh and enter the following.

#!/bin/bash
cd PATH/TO/FOLDER # path to the directory where main.py is located
python3 main.py 

grant executable permission to the script

chmod +x start.sh

Open terminal and enter

crontab -e

select your preffered text editor and go to the last line and add

@reboot ~/start.sh

save and exit. Now the program should run automatically from the next boot

Current Devices Used

  1. Raspberry Pi 4 Model B
  2. R307 fingerprint scanner
  3. ttl to USB converter
  4. I2C OLED Display module
  5. USB C charging cable and power adapter
  6. Jumper wires

Showcase

image

image

fingerprint_attendance's People

Contributors

shub39 avatar

Watchers

 avatar

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.