1
头图

Today, I will share a Python graduation project: student teacher sign-in system.

Introduction

Use Python language, Flask framework, Dlib library, MySQL database and other tools to design and implement a web-based face recognition system.

Students can enter their faces in the system during their leisure time, and when they sign in for class, they can complete sign-in by swiping their faces on the web page. The sign-in page displays the sign-in information in real time. The whole process is simple and smooth. At the same time, a series of functions related to attendance are also realized to meet user needs.

Implementation tools

  • Language: Python
  • Tool library: Dlib OpenCV
  • Framework: Flask Bootstrap
  • Database: MySQL

Database Design

A total of six tables have been designed:

  • attendance: the student's attendance
  • course: All course information
  • student_course: students' course selection
  • student_faces: student's face features
  • students: all student information
  • teachers: All teacher information

Features

Teacher side

  • New course
  • Develop or close electives
  • Import course selection records
  • Sign in to the course
  • Attendance query and modification
  • Attendance export
  • Camera permission setting
  • Batch import accounts (administrator teacher)

Student side

  • Face entry
  • Opt-out
  • Attendance query

other

  • User login
  • Login time reminder
  • change Password
  • Interceptor

Summarize

This project mainly uses the Python language to develop based on the Flask framework, uses 68 feature point detectors in the Dlib library and the deep residual network model, Euclidean distance, and target tracking methods to achieve face recognition. It uses MySQL database to record system related data, and uses Bootstrap framework for page beautification. The finally completed system can be applied to teaching places with networked devices with cameras.

The source code is obtained in the public number Python small two background reply bsface ~


Python小二
180 声望414 粉丝