Giter Club home page Giter Club logo

cityhack_student_detect's Introduction

City Hack 2023

Team

team name:rp++

members:

XIA Shujun (Leader)

XU Yuan

NG Cheuk Yiu

CHEN Yihuan

Ng Pak Lam

Probelm description

In the foreseeable future, online classes will continue to be used as a complementary means of teaching and learning. One of the disadvantages of online classes is that the teacher cannot be in front of the students as in an offline classroom and thus follow the students' expressions to see how they are doing. When a student is confused and not keeping up, the teacher cannot detect it in real-time. Also, students are easily distracted and it’s hard to be monitored by the course instructors online. Such a situation calls for a mechanism to detect the expression of students to return real-time feedback to teachers and thus improve class interaction.

Solution

Our idea is to develop a real-time facial expression detection tool which analyzes facial attributes to calculate the confusion or attention level of students and give feedback to teachers.

Workflow

  • Input video sequence of student
  • Extract features like head pose, eye direction, lip movement etc.
  • Calculate the confusion/attention level using the deviations
  • Return the feedback

Data Processing and Algorithms

sleepy count:

Blinking count: eye aspect ratio of 0.2 for 3 consecutive frames

Yawning count: mouth aspect ratio of 0.5 for 3 consecutive frames

Sleepy nod count: pitch(x) rotation angle of 0.3 for 3 consecutive frames

Confusion count:

For the first 59 consecutive frames:

The algorithm takes the distance between the eyebrows for each frames and calculates the average distance for 59 frames.

Calculation: 

  • For each 20 consecutive frames, a period score will be recorded 

  • Period score = 100-total_sleepy_cnt * 8 - total_confused_cnt + 60

  • The total score is the average of the period score.  

  • Full score is 100**

Impact

By processing the data of each student to obtain an overall level, we can know the learning effectiveness of the whole class, which provides a reference for teachers to improve teaching methods.

This system helps teachers comprehensively understand students’ attentiveness and improve the teaching quality by promptly tracing students’ situations.

cityhack_student_detect's People

Contributors

migoxia avatar xy-derrick avatar

Watchers

 avatar

Forkers

migoxia

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.