PieceOfMind
Calm. Clarity. Control.
The problem PieceOfMind solves
Anxiety and stress kill people affected by it by an average of 7.9 years earlier
People notice stress late. Physiology (HRV, eye blinks, typing cadence) drifts minutes or hours before we feel “I’m stressed.” That lag quietly erodes deep-work time, decision quality, and mood. Existing apps are reactive (you open them after you feel bad) and single-signal wearables often confuse stress with excitement or exertion.
What our product does:
-Sees early stress signatures from three low-friction channels:HRV, webcam eye metrics (blink/PERCLOS + optional rPPG), and optional EEG.
-Builds a personal baseline in week 1; when your risk rises, we trigger just-in-time micro-interventions (45–120s resonant breathing, a focus mini-game, calming audio).
-Detetcs physological changes as time progresses
->Why it matters
Converts vague “I should relax” into a measurable 60–120-sec recovery (HRV up, blinks normalize), protecting focus without long breaks.
Gives individuals fewer bad afternoons; gives teams a clean ROI story via more deep-work minutes and better micro-break adherence.
We sense early stress signals (watch HRV + webcam eye/typing + optional EEG), then deliver just-in-time 60–120s actions (breathing, mini-games, micro-breaks) that restore calm and focus—privately and on-device.
-->Everyday use cases
Deep-work sprints: Catch rising strain before you feel it; get a 60-second breathing card, then resume in flow.
Meetings & deadlines: Auto-nudges during long calls or last-mile crunch to prevent spirals and preserve decision quality.
Study/exam prep: Pomodoro + recovery cues; reduce mind-wandering with quick focus games between blocks.
Screen-time hygiene: Sit-too-long alerts, posture prompts, and short movement breaks that don’t derail the day.
Sleep-adjacent evenings: Calming audio and low-arousal routines when late-night stress spikes.
->Why it’s easier
No willpower tax: You don’t have to remember to open an app—nudges arrive exactly when physiology drifts.
Personalized: Learns your baseline in week one; thresholds adapt so it’s helpful, not noisy.
Actionable, not just scores: Every alert is paired with a micro-intervention and a visible recovery delta (e.g., HRV up).
->Why it’s safer
Pre-emptive fatigue detection: Eye-blink/PERCLOS and typing-cadence changes flag overload early, reducing error-prone minutes.
Nudge throttle: Max 2 nudges/hour, snoozeable—prevents alert fatigue.
Privacy-by-design: Webcam/keystrokes processed on-device; no raw video stored; only derived metrics with consent.
->Extended applications
- In cars (Driver State & Wellbeing)
Detect: In-cabin camera (blink/PERCLOS, gaze) + wearable HR/HRV trends to spot drowsiness, distraction, or stress.
Act: Escalating alerts (tone → haptics), route suggestions for safe rest stops, “attentional reset” prompts at red lights, adaptive music that reduces stress without sedation.
Benefit: Fewer microsleeps and lane deviations; calmer, more attentive driving on long commutes and fleet routes.
Privacy: On-car processing by default; only event summaries saved with consent.
- Post-surgery recovery / rehab support (wellness adjunct; not a medical device)
Track gently: HRV trend, breathing rate, and simple movement goals to encourage gradual autonomic recovery and calm.
Guide: Short, clinician-approved breathing sessions and micro-movement prompts to manage stress and improve adherence.
Inform: Daily “recovery glance” with simple flags (doing fine / take it easier today) and journaling for pain & sleep—shareable with caregivers if the user opts in.
Boundaries: No diagnoses or treatment decisions—wellbeing support only, designed to complement clinical care.
->Who benefits
Individuals: Fewer “bad afternoons,” smoother focus, clearer head before important actions.
Teams/Orgs: More deep-work minutes, healthier break habits, lower error risk—cleaner ROI for wellness budgets.
Fleets/Drivers: Reduced drowsiness events, better attention on monotonous stretches.
Patients/Caregivers: Gentle, objective cues to support calmer recovery days.
->What it’s not
Not a clinical diagnostic tool. We provide wellness & performance support and clear pathways to integrate clinician guidance where appropriate.
Challenges we ran into
- Multi-GPU training vs. our infra reality
What happened: Our EEG model experiments needed CUDA GPUs; Vultr offered single GPU/CPU instances—not a managed multi-GPU cluster like GCP/Azure/AWS.
Impact: Couldn’t scale distributed training or orchestration easily.
What we did: Moved training locally on a CUDA box; used ngrok as a secure tunnel for live demos; applied gradient accumulation + mixed precision to simulate larger batch sizes; scheduled runs to keep thermals stable.
Result: Reliable training/eval loop without cloud cluster complexity.
- Auth0 session churn
What happened: While inside Auth0, we were being signed out every ~5 seconds.
Root cause (likely): Misaligned callback/allowed origins + an over-eager silent-auth refresh.
Fix: Reset application settings, pruned dev tenants, fixed callback URLs, disabled aggressive refresh in dev, and added a fallback to passwordless email during the demo.
Result: Stable sign-in for judges; we can swap to Clerk later if needed.
- Early EEG model accuracy (65% at checkpoint-1)
What happened: First pass EEG stress-state classifier plateaued at ~65% on our validation set.
Improvements: Collected and incorporated India-specific samples, added session-wise stratified splits, expanded features (bandpower ratios + entropy), and used per-user calibration at inference.
Result: Accuracy and F1 improved steadily (and, importantly, false-alert rate dropped in live tests).
(Bonus mini-challenges we de-risked:)
Alert fatigue → hard throttle ≤2 nudges/hour + user snooze.
Privacy → all webcam/keystrokes processed on-device; only opt-in derived metrics stored.
Tracks Applied (1)
Best Use of Gemini API
Gemini
Technologies used
