Skip to content

๐ŸŒŸ[Spring]์–ผ๊ตด์ธ์‹ ๊ธฐ๋ฐ˜ ์ถœ๊ฒฐ ๋ฐ ํ•™์‚ฌ๊ด€๋ฆฌ ์‹œ์Šคํ…œ

Notifications You must be signed in to change notification settings

ffe4el/face-recognition-attendance-system

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Face Recognition Attendance System

An integrated management system to manage student attendance and grades. Facial recognition is performed by webcam in the professor's classroom and attendance is verified. Students can enter each classroom and check their attendance in real-time and also can check there grades.

Model

Diagram

image

1. Face Recognition

main.py is python server that predicts the username from the captured image with SVM. The model retrains at intervals to learn about new users coming into the data folder. So you have to set interval times on interval_in_seconds

if __name__ == '__main__':
    interval_in_seconds = 1 * 60 * 30 
    schedule_model_training(interval_in_seconds)

    app.run(host='0.0.0.0', port=5001)

structure

image

setting

  • install libraries pip install -r requirements.txt
  • delete files in ๐Ÿ“ data for reset datasets
  • run the code while using website python main.py

2. Website

development environmentโš™๏ธ

  • project: gradle - Groovy
  • language: Java 17
  • framework: springBoot 3.1.3
    • package: Jar
  • database: h2
  • ide: intellij
๐Ÿ“AttendanceApp
โ”œโ”€โ”€ HELP.md
โ”œโ”€โ”€ build
โ”œโ”€โ”€ build.gradle
โ”œโ”€โ”€ gradle
โ”‚ย ย  โ””โ”€โ”€ wrapper
โ”‚ย ย      โ”œโ”€โ”€ gradle-wrapper.jar
โ”‚ย ย      โ””โ”€โ”€ gradle-wrapper.properties
โ”œโ”€โ”€ gradlew
โ”œโ”€โ”€ gradlew.bat
โ”œโ”€โ”€ settings.gradle
โ””โ”€โ”€ src
    โ””โ”€โ”€ main
     ย ย  โ”œโ”€โ”€ generated
     ย ย  โ”œโ”€โ”€ java
     ย ย  โ”‚ย ย  โ””โ”€โ”€ FaceAuto
     ย ย  โ”‚ย ย      โ””โ”€โ”€ AttendanceApp
     ย ย  โ”‚ย ย          โ”œโ”€โ”€ AttendanceAppApplication.java 
     ย ย  โ”‚ย ย          โ”œโ”€โ”€ CORSConfig.java
     ย ย  โ”‚ย ย          โ”œโ”€โ”€ WebMvcConfiguration.java
     ย ย  โ”‚ย ย          โ”œโ”€โ”€ domain
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ Attendance.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ AttendanceStatus.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ Course.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ Grade.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ Professor.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ Student.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ””โ”€โ”€ StudentCourse.java
     ย ย  โ”‚ย ย          โ”œโ”€โ”€ repository
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ AttendanceRepository.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ CourseRepository.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ GradeRepository.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ ProfessorRepository.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ StudentCourseRepository.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ””โ”€โ”€ StudentRepository.java
     ย ย  โ”‚ย ย          โ”œโ”€โ”€ service
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ AttendanceService.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ CourseService.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ FileStorageService.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ ProfessorService.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ StudentCourseService.java
     ย ย  โ”‚ย ย          โ”‚ย ย  โ””โ”€โ”€ StudentService.java
     ย ย  โ”‚ย ย          โ””โ”€โ”€ web
     ย ย  โ”‚ย ย              โ”œโ”€โ”€ AttendanceRequest.java
     ย ย  โ”‚ย ย              โ”œโ”€โ”€ CourseController.java
     ย ย  โ”‚ย ย              โ”œโ”€โ”€ CourseForm.java
     ย ย  โ”‚ย ย              โ”œโ”€โ”€ GradeRequest.java
     ย ย  โ”‚ย ย              โ”œโ”€โ”€ ProfessorController.java
     ย ย  โ”‚ย ย              โ”œโ”€โ”€ ProfessorForm.java
     ย ย  โ”‚ย ย              โ”œโ”€โ”€ StudentController.java
     ย ย  โ”‚ย ย              โ””โ”€โ”€ StudentForm.java
     ย ย  โ””โ”€โ”€ resources
     ย ย      โ”œโ”€โ”€ application.properties
     ย ย      โ”œโ”€โ”€ application.yml
     ย ย      โ”œโ”€โ”€ static
     ย ย      โ””โ”€โ”€ templates
     ย ย          โ”œโ”€โ”€ fragments
     ย ย          โ”‚ย ย  โ”œโ”€โ”€ bodyHeader.html
     ย ย          โ”‚ย ย  โ”œโ”€โ”€ footer.html
     ย ย          โ”‚ย ย  โ””โ”€โ”€ header.html
     ย ย          โ”œโ”€โ”€ professor
     ย ย          โ”‚ย ย  โ”œโ”€โ”€ add-course.html
     ย ย          โ”‚ย ย  โ”œโ”€โ”€ attendance.html
     ย ย          โ”‚ย ย  โ”œโ”€โ”€ attendance_result.html
     ย ย          โ”‚ย ย  โ”œโ”€โ”€ course-details.html
     ย ย          โ”‚ย ย  โ”œโ”€โ”€ grade-form.html
     ย ย          โ”‚ย ย  โ”œโ”€โ”€ index.html
     ย ย          โ”‚ย ย  โ”œโ”€โ”€ professor-details.html
     ย ย          โ”‚ย ย  โ””โ”€โ”€ sign-up.html
     ย ย          โ””โ”€โ”€ student
     ย ย              โ”œโ”€โ”€ index.html
     ย ย              โ”œโ”€โ”€ sign-up.html
     ย ย              โ”œโ”€โ”€ student-details.html
     ย ย              โ”œโ”€โ”€ student-grade.html
     ย ย              โ”œโ”€โ”€ student-grades-attendances.html
     ย ย              โ””โ”€โ”€ table.html        

Function

  • sign-up
    • professor
    • student
  • professor
    • add course
    • give grades
    • mark Attendance(by.face recognition)
  • student
    • check course
    • check grades
    • check attendance

About

๐ŸŒŸ[Spring]์–ผ๊ตด์ธ์‹ ๊ธฐ๋ฐ˜ ์ถœ๊ฒฐ ๋ฐ ํ•™์‚ฌ๊ด€๋ฆฌ ์‹œ์Šคํ…œ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 44.8%
  • Java 39.5%
  • Pug 7.2%
  • JavaScript 5.7%
  • Python 1.9%
  • CSS 0.9%