Skip to content

Commit 5ded353

Browse files
committed
Added a second post
1 parent 51b5835 commit 5ded353

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

_posts/post2.MD

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: post
3+
title: "AI That Cares: Building an Emotion and Fatigue Detector"
4+
date: 2026-02-10 10:00:00 +0100
5+
categories: ai-ml computer-vision
6+
---
7+
8+
In my journey as a developer in Maiduguri, I’ve always been fascinated by how machines can understand human states. My project, **emotion-fatigue-detector_app**, was born from a simple question: *Can AI prevent accidents by knowing when we are tired?*
9+
10+
### The Core Technology
11+
To build this, I focused on three main technical pillars:
12+
1. **Facial Landmark Detection:** Identifying key points around the eyes and mouth.
13+
2. **Eye Aspect Ratio (EAR):** A mathematical formula to detect if eyes are closing for too long (indicating drowsiness).
14+
3. **CNN Models:** Using Convolutional Neural Networks to classify emotions like stress or exhaustion.
15+
16+
### Why This Matters
17+
Whether it's a long-distance driver or a software engineer working late on Ubuntu 24.04, fatigue is a silent risk. By integrating this into mobile and desktop apps, we can create a "safety net" that alerts users before mistakes happen.
18+
19+
### Current Progress
20+
Right now, the app can successfully:
21+
* Detect eye closure patterns in real-time.
22+
* Differentiate between a simple blink and a fatigue-related "micro-sleep."
23+
* Categorize 5 basic emotional states.
24+
25+
Check out the code here: [emotion-fatigue-detector_app](https://github.com/bundlab/emotion-fatigue-detector_app)
26+
27+
**What’s next?** I’m working on optimizing the frame rate for lower-end mobile devices to ensure this safety tool is accessible to everyone.
28+
29+
🚀 *More technical deep-dives coming soon!*

0 commit comments

Comments
 (0)