Skip to content
Neuromo

Neuromo

An AI-powered focus & drowsiness monitoring system

Created on 22nd December 2025

•

Neuromo

Neuromo

An AI-powered focus & drowsiness monitoring system

The problem Neuromo solves

🧠 Neuromo

Focus, but for real.

Neuromo Banner


📖 About Neuromo

Neuromo is a focus and attention monitoring tool built for people who want to actually work — not just sit in front of a screen with a timer running.

Most productivity tools assume you’re focused just because the clock is ticking. Neuromo doesn’t. It measures real attention using computer vision and gives you immediate feedback when your focus drifts or when fatigue kicks in.


🚨 The Problem

We live in an attention economy, but our productivity tools still run on the honor system.

  1. You start a Pomodoro.
  2. You stare at the screen.
  3. You scroll.
  4. You zone out.
  5. The timer ends.

It feels productive, but very little real work happened. Neuromo exists to fix this "illusion of productivity."


💡 What Neuromo Does

Neuromo uses your device’s camera (with permission) to understand whether you are actually engaged, not just present.

🧿 Attention Tracking

If your gaze drifts away from the screen for too long, Neuromo gently alerts you and visually signals the loss of focus. It ensures that 25 minutes of work means 25 minutes of focus.

😴 Drowsiness Detection

Using Eye Aspect Ratio (EAR), Neuromo detects when your eyes stay closed beyond a safe threshold and triggers a loud alarm. This isn’t to shame you — it’s a circuit breaker for burnout and fatigue.

🧑‍💻 A Digital “Body Double”

For people who struggle with self-regulation (especially those with ADHD), Neuromo acts like a quiet presence that keeps you accountable — without judgment.

📊 Focus Over Time

Neuromo doesn’t just track time. It tracks time spent focused, helping you understand your real work patterns and quality of attention.


🛠️ How It Works

  • Computer Vision: Powered by MediaPipe and OpenCV to detect facial landmarks in real-time.
  • Privacy First: All video processing happens locally on your device. No video is ever sent to a server.
  • Smart Feedback: Instant visual cues (Green = Focused, Red = Distracted) to retrain your brain.

"What gets measured, gets managed." — Neuromo ensures you are measuring the right thing.

Challenges I ran into

🚧 Challenges I Ran Into

Building Neuromo wasn't smooth sailing, and honestly, that's where most of the learning happened. Here are the real engineering hurdles I faced and how I solved them.


1️⃣ The "Cloud Camera" Paradox (Deployment)

⚠️ The Problem: I initially tried deploying this like a typical web app (Vercel/Netlify style). That failed immediately. I learned the hard way that Python-based computer vision apps (using OpenCV/MediaPipe) cannot run on serverless platforms that lack GPU/Webcam access.

✅ The Fix: I realized that languages and architecture matter. A Python CV backend requires a different environment than a JS frontend.

  • I pivoted to a Local-First / Containerized approach.
  • I created a Docker setup so anyone can run the full app locally with one command.
  • This completely changed my understanding of "deployment"—it's a design decision, not an afterthought.

2️⃣ Streamlit Was a Trap

⚠️ The Problem: I started with Streamlit to move fast. It was great for a prototype but terrible for a product. It limited my control over the UI, animations, and the "Glassmorphism" aesthetic I wanted. The app felt clunky and restricted.

✅ The Fix: I made the tough decision to rewrite the entire frontend using HTML, CSS (Tailwind), and Vanilla JavaScript, connected to a Flask backend. It delayed the project by days, but the result—a custom, responsive, high-performance UI—was worth the pain.


3️⃣ Low-Light Detection Failure

⚠️ The Problem: The AI worked perfectly in daylight but failed at night. In dim lighting, the landmark detection became noisy, causing the "Sleep Alarm" to trigger falsely even when I was wide awake.

✅ The Fix: I stopped trying to "over-fix" hardware limitations with software. instead, I added basic frame preprocessing (brightness normalization) and implemented a dynamic threshold system. The app now waits for consistent data over several frames before triggering an alarm, drastically reducing false positives.


4️⃣ The "Z-Index War" (UI Glitches)

⚠️ The Problem: The live webcam feed kept rendering on top of my Settings Panel, blocking the buttons. No matter what I did, the video canvas ignored the layout boundaries.

✅ The Fix: I had to dive deep into DOM Layering. I restructured the HTML container hierarchy and strictly managed the z-index values (Settings: 60, Camera: 50) to ensure the UI components stayed isolated and layered correctly.


5️⃣ Dependency Hell (MediaPipe)

⚠️ The Problem: Different versions of MediaPipe silently broke function behaviors. Code that worked in one tutorial failed in my environment because of version mismatches.

✅ The Fix: I learned that dependency locking is non-negotiable. I pinned specific versions in requirements.txt and stopped relying on undocumented behaviors, ensuring the app runs reliably on any machine.


6️⃣ The "Ghost Audio" Bug

⚠️ The Problem: The Lofi music or Alarm would sometimes keep playing even after I closed the tab or paused the timer. It was a small bug, but it ruined the user experience.

✅ The Fix: I implemented proper cleanup logic and event listeners in JavaScript to forcibly stop audio playback and clear buffers on page unload or session termination.


🧠 What This Taught Me

  • Deployment is architecture: You can't just "host" a CV app; you have to design for the hardware.
  • UI Frameworks matter: Ease of use (Streamlit) often comes at the cost of flexibility.
  • State Management is key: Most bugs were actually architecture mistakes where frontend and backend states fell out of sync.

Every problem forced me to rethink my assumptions — and that made Neuromo much stronger.

Discussion

Builders also viewed

See more projects on Devfolio