CoolFace
Apppublic

Kainat043/Posture-and-Ergonomics-Monitor-For-Meeting

sourceHugging Faceupdated 8d agoView on Hugging Face
0likes
App README

๐ŸŽฅ AI Meeting Posture & Presence Monitor

An AI-assisted browser-based application designed specifically for meeting posture and presence monitoring.

The application uses real-time computer vision to estimate:

  • โ€”Meeting-ready posture
  • โ€”Good meeting posture
  • โ€”Poor meeting posture
  • โ€”Looking down / possible screen focus
  • โ€”Left and right leaning
  • โ€”Away / resting position
  • โ€”Camera distance
  • โ€”Person presence

The application runs directly in the browser using MediaPipe.

An optional Hugging Face Inference API integration can generate natural-language meeting guidance.


Features

๐ŸŽฅ Live Meeting Monitoring

  • โ€”Real-time webcam monitoring
  • โ€”Live MediaPipe Pose detection
  • โ€”MediaPipe Face Detection
  • โ€”Real-time skeleton overlay
  • โ€”FPS monitoring
  • โ€”Camera status indicator
  • โ€”Detection stability indicator

Meeting-Focused Detection

The application is intentionally designed around meeting scenarios.

Meeting-Ready Posture

The person appears to have a relatively suitable upright upper-body position.

Good Meeting Posture

Head, upper body and shoulder alignment remain within stricter thresholds.

Poor Meeting Posture

The system detects excessive deviation in one or more posture measurements.

Looking Down / Screen Focus

The head appears significantly downward.

This can indicate:

  • โ€”Looking at a laptop
  • โ€”Looking at a phone
  • โ€”Looking down at notes
  • โ€”Other downward head positions

The system cannot determine the exact reason.

Leaning Left / Right

The upper body appears shifted toward one side.

Away / Resting

A sustained steep head or torso position is detected.

This state is intentionally called:

Away / Resting

rather than "Sleeping Pose", because computer vision cannot reliably confirm that a person is sleeping.

Camera Too Close

The face occupies a large portion of the camera frame.

Person Not Detected

Reliable upper-body landmarks are not visible.


Meeting Posture Signals

The technical measurements are presented using user-friendly meeting terminology.

UI LabelUnderlying Measurement
Neck AlignmentHead/neck angle
Sitting AlignmentTorso angle
Shoulder BalanceShoulder tilt
Head PositionForward-head offset

These values are estimated from MediaPipe Pose landmarks.


Meeting Posture Score

The application calculates a session-level percentage based on the proportion of monitored frames classified as acceptable meeting posture.

The score is an application-specific indicator.

It is not a medical measurement or clinical assessment.


Session Analytics

The dashboard provides:

  • โ€”Session Time
  • โ€”Meeting-Ready Time
  • โ€”Away / Resting Time
  • โ€”Posture Alerts
  • โ€”Person Absent Events
  • โ€”Camera Distance Alerts
  • โ€”Meeting Posture Score
  • โ€”Detection History

Technologies

  • โ€”HTML5
  • โ€”CSS3
  • โ€”JavaScript
  • โ€”MediaPipe Pose
  • โ€”MediaPipe Face Detection
  • โ€”Hugging Face Inference API
  • โ€”Hugging Face Spaces Static SDK

How MediaPipe Works

MediaPipe Pose detects human body landmarks from webcam frames.

Important landmarks include:

  • โ€”Nose
  • โ€”Left Shoulder
  • โ€”Right Shoulder
  • โ€”Left Hip
  • โ€”Right Hip

The application uses these landmarks to estimate:

Neck Alignment

Angle between the shoulder center and nose.

Sitting Alignment

Angle between the hip center and shoulder center.

Shoulder Balance

Difference in shoulder orientation.

Head Position

Horizontal displacement of the nose relative to the shoulder center.

The measurements are then passed through rule-based classification logic to determine the current meeting state.


Architecture

text
Webcam
   |
   v
MediaPipe Pose
   |
   +--------------------+
   |                    |
   v                    v
Body Landmarks     Face Detection
   |                    |
   +---------+----------+
             |
             v
     Posture Calculations
             |
             v
      Rule-Based State
        Classification
             |
      +------+------+
      |             |
      v             v
 Dashboard      Event History
      |
      v
Optional Hugging Face AI
      |
      v
Meeting Guidance