Project Info
Speak Baby
Inspiration
The inspiration for Boop came from our parents telling us about the late nights they had raising us. We kept wondering whether they were avoidable. During early interviews and informal surveys with new parents, we kept hearing the same frustrations: "At 3AM, I don't want to guess if she's hungry or cold." "In the initial months, it felt like my baby and I spoke different languages." One parent told us: "The hardest part isn't crying. It's not knowing what the crying means." This was the sentence that shaped Boop's mission.
What it does
Boop is a multimodal AI platform that combines audio intelligence, computer vision, conversational AI, and generative media to empower parents. Baby Cry Decoder This feature allows parents to record their baby's cry and receive real-time predictions of the cause — hungry, needs a diaper change, needs to be burped, tired, etc. The baby's cry is modelled as a time-series waveform, and differences in the dominant frequency bands, harmonic intensity, and duration patterns determine the cry cause. Our ML pipeline captures audio, filters noise, generates spectrograms, and extracts MFCC features, which are then fed into a CNN + LSTM ensemble classifier. The CNN detects frequency patterns from spectrogram images while the LSTM captures temporal dependencies across cry sequences, with the final prediction combining both outputs via a weighted ensemble. We optimized the trained model and converted it to ONNX for low-latency mobile inference, delivering near real-time predictions designed for exhausted parents at 2AM. AI Assistant (Personalized Pediatric Chatbot) Boop's AI Assistant is a pediatric companion that knows your baby's unique health story. Powered by Anthropic Claude Sonnet 4.5 and leveraging our multi-turn agent architecture, the assistant maintains context across all your baby's data: cry patterns showing increased hunger, diaper logs indicating digestive changes, and daily survey responses tracking sleep regression. Intelligent Daily Check-Ins: Boop's agent learns and adapts. Using Claude's autonomous agent capabilities, the system asks standard questions (feeding amounts, wet diapers, sleep quality) then generates intelligent follow-ups based on previous responses. After each survey, parents receive a comprehensive summary that includes: Daily Health Summary – AI-generated narrative of baby's day with flagged concerns Comparison Analysis – Using Browserbase automation, Boop scrapes trusted pediatric sources (AAP, CDC growth charts, Mayo Clinic) for age-specific norms and compares baby's metrics Curated Research – For any flagged concerns (reflux, sleep issues, feeding difficulties), Browserbase automatically finds and surfaces relevant, evidence-based articles from trusted sources The daily check data directly feeds into standardized pediatrician reports for use at your visits (SOAP, Well-child Visit). Diaper Diary (Digestive Health Monitoring) The Diaper Health Tracker allows parents to upload diaper images to monitor their baby's bowel health over time. Using Computer Vision, the color distribution, texture, and frequency of abnormal signals over the last week flags potential concerns such as dehydration, constipation, or diarrhea. If a trend has been noticed for some time, it recommends a check-in with the doctor. Baby Cam Monitor (BoopDanger) We offer a feature that gives notifications of environmental risks in real time after integrating with a live cam. Our model continuously detects the baby's position, alerting parents if the distance between the baby and a dangerous object is below a threshold. There's also a comprehensive log of the baby's instances around dangerous objects. Baby's Adventures (AI Memory Collage) Boop generates a "Spotify Wrapped"-style baby recap utilizing collages from baby cam photos, mood classification from facial analysis, and music generated to match by vibe from Suno. Product Safety Check (EWG Scan) Boop's Product Safety Check feature empowers parents with instant, evidence-based safety information. Simply scan a product's barcode or search by name, and Boop retrieves comprehensive safety ratings from trusted sources including the Environmental Working Group (EWG) database.
How we built it
Core Stack Python – Machine learning & backend logic Java – Android components ONNX Runtime – Model deployment Cursor IDE – Full-stack development Anthropic Claude Sonnet 4.5 – AI Assistant ChatGPT 5.2 – Used for stool classification OpenEvidence – Research validation Suno – Generative music Development Workflow We built everything inside Cursor, including model training, ONNX conversion, API wrapping, backend logic, and iterative debugging. System Architecture Boop is modular — each service communicates through internal APIs to create a unified AI system: Audio ML service – Cry decoder Vision ML service – Diaper + safety analysis Chat intelligence layer – Claude-powered assistant Generative media layer – Suno music generation Structured health engine – Report builder
Challenges we ran into
We found that the frequencies of cries stemming from the same cause vary significantly across infants. There are also limited labelled datasets for infant health. We also had to account for noise in home and outdoor environments.
Accomplishments we're proud of
Parents reporting feeling less anxious and having a good time staying up all night with each other.
What we learned
Empowering parents and encouraging them plays a role in making a better society. Design needs to be created keeping the tired user in mind. It is very difficult to resist DoorDashing the Melt.
What's next
Expanded safety detection features Continuous video monitor screen capture and detection iOS expansion Clinical validation partnerships and HIPAA compliance
Boop App - TreeHacks 2026 🦆
An intelligent baby monitoring and care assistant built with React, Vite, and AI-powered features. Boop helps parents track their baby's needs, decode cries, generate lullabies, and ensure product safety.
🌟 Features
🍼 Baby Care Management
- Cry Decoder: AI-powered classification of baby cries using PyTorch models
- Baby Cam: Real-time monitoring with adventure music generation
- Diaper Diary: Track diaper changes and patterns
- Health Reports: Comprehensive baby health tracking and analytics
🎵 AI-Powered Audio
- Lullaby Generator: Creates personalized lullabies based on baby's mood
- Adventure Music: Dynamic background music for baby activities
- Voice Survey: Collect and analyze voice data for insights
🛡️ Safety & Shopping
- Product Safety Checker: AI-powered analysis of baby product safety
- Browserbase Integration: Automated web scraping for product information
📊 Analytics & Insights
- Baby Statistics: Track growth, feeding, sleep patterns
- Dashboard: Comprehensive overview of baby's well-being
- AI Assistant: Personalized parenting advice and support
🏗️ Tech Stack
Frontend
- React 18 - Modern UI framework
- Vite - Fast development server and build tool
- Tailwind CSS - Utility-first styling
- Framer Motion - Smooth animations
- Radix UI - Accessible component library
- React Router - Client-side routing
Backend & AI
- PyTorch - Machine learning models
- ONNX Runtime - Model inference
- Browserbase - Web automation
- LLM Integration - AI-powered features
Development Tools
- ESLint - Code linting
- TypeScript - Type safety
- PostCSS - CSS processing
📁 Project Structure
boop-app-treehacks2026/
├── src/
│ ├── pages/ # Main application pages
│ │ ├── Landing.jsx
│ │ ├── Dashboard.jsx
│ │ ├── CryDecoder.jsx
│ │ ├── BabyCam.jsx
│ │ ├── DiaperDiary.jsx
│ │ ├── HealthReports.jsx
│ │ ├── ProductSafety.jsx
│ │ └── VoiceSurvey.jsx
│ ├── components/ # Reusable UI components
│ │ ├── boop/ # App-specific components
│ │ ├── cam/ # Camera-related components
│ │ ├── cry/ # Cry analysis components
│ │ └── ui/ # Base UI components
│ └── api/ # API clients and utilities
├── functions/ # Serverless functions
│ ├── classifyCryModel.ts
│ ├── generateLullaby.ts
│ ├── checkProductSafety.ts
│ └── fetchBabyStatistics.ts
├── boop_cry_model.pth # PyTorch cry classification model
└── public/ # Static assets
🤖 AI Models
Cry Classification
- Model: Custom PyTorch neural network
- Input: Audio features from baby cries
- Output: Cry category classification (hungry, sleepy, uncomfortable, etc.)
Lullaby Generation
- Approach: Procedural audio generation
- Parameters: Mood-based frequency and intensity
- Duration: 10-second personalized lullabies
Product Safety
- Integration: Browserbase web scraping
- Analysis: AI-powered safety assessment
- Database: Comprehensive product safety information
🏆 TreeHacks 2026
Built for TreeHacks 2026 - Stanford's annual hackathon. This project aims to leverage AI and modern web technologies to make parenting easier and more informed.
Analysis
View
Metric
- 3
- 1
Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.
Technology
- CSSIn code
- HTMLIn code
- JavaScriptIn code
- ReactIn code
- Tailwind CSSIn code
- TypeScriptIn code
- JavaClaimed
- PythonClaimed
- TensorFlowClaimed
6 of 9 appear in the indexed code. 3 claimed on Devpost could not be matched to code, which may simply mean the tool leaves no trace in the repository.
AI coding agents
No AI coding agent signals were found in this repository.
Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.
Codebase size
Source size
354 KB
Source files
100
Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.
Repository
ykmattur2005/boop_app_TREEHACKS_2026
107 files · 16.4 MB · @ ef11a00
Structure
Interface
74 files · 69%Screens, components and styles rendered to the user.
API & routing
7 files · 7%Request entry points: routes, handlers and controllers.
Application logic
17 files · 16%Domain rules, services and shared utilities.
Supporting
Layers are inferred from where files sit in the tree, not from reading the code. A project that names its directories unconventionally will read oddly here — open the file browser to check anything the diagram implies.
Languages
- JavaScript90%
- TypeScript7%
- CSS2%
- Markdown1%
- HTML0%
Share of indexed source by file size. Binary and vendored files are excluded.
Dependencies
package.json
npm · 82- @base44/sdk
- @base44/vite-plugin
- @hello-pangea/dnd
- @hookform/resolvers
- @radix-ui/react-accordion
- @radix-ui/react-alert-dialog
- @radix-ui/react-aspect-ratio
- @radix-ui/react-avatar
- @radix-ui/react-checkbox
- @radix-ui/react-collapsible
- @radix-ui/react-context-menu
- @radix-ui/react-dialog
- @radix-ui/react-dropdown-menu
- @radix-ui/react-hover-card
- @radix-ui/react-label
- @radix-ui/react-menubar
- @radix-ui/react-navigation-menu
- @radix-ui/react-popover
- +64 more
Declared in the repository’s manifests at the indexed commit. A declared package is not proof it is used, and runtime dependencies are listed first.
This project’s features have not been analysed yet.
Export this project's context (description, README, evidence, key source files) to chat with an AI agent elsewhere.