Skip to content

Eaarjun/caresight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯ CareSight - Medical Accessibility Assistant

CareSight is an AI-powered healthcare assistant designed specifically for elderly, disabled, and neurodiverse users. It simplifies medical information, provides accessible interfaces, and includes comprehensive care coordination features.

✨ Features

πŸ” Document Scanner & OCR

  • Real-time OCR processing with Tesseract.js
  • Simplifies medical documents into plain language
  • Text-to-speech for easy listening
  • Supports prescriptions, lab results, and medical forms

πŸ’¬ AI Medical Assistant

  • Google Gemini AI integration with medical-focused prompts
  • Simple, elderly-friendly explanations
  • Voice input and output capabilities
  • Educational information with healthcare provider reminders

β™Ώ Care Mode Accessibility

  • Larger text and buttons for easy reading
  • High contrast mode for better visibility
  • Slower, patient voice synthesis
  • Simplified navigation with essential features

🚨 Emergency & Care Coordination

  • Real EmailJS integration for caregiver alerts
  • SMS simulation (ready for Twilio integration)
  • Emergency and general alert types
  • One-click contact system

πŸ“Š Advanced Health Monitoring

  • Real-time AI health monitoring with MediaPipe
  • Hand gesture recognition and tremor detection
  • Posture analysis and monitoring
  • Heart rate estimation from facial analysis
  • Eye tracking and attention monitoring
  • Medication reminder system
  • Health metrics tracking with AI insights
  • Privacy-first local processing (no data sent to servers)

🎀 Voice Features

  • Speech-to-text input for hands-free operation
  • Text-to-speech output with elderly-friendly settings
  • Browser-native Web Speech API integration
  • No external dependencies

πŸš€ Quick Start

  1. Clone and install dependencies:
git clone <repository-url>
cd caresight
npm install
  1. Set up environment (optional):
cp .env.example .env.local
# Edit .env.local with your API keys (see DEPLOYMENT.md)
  1. Run development server:
npm run dev
  1. Open in browser: Navigate to http://localhost:3000

🎯 Project Status

βœ… Completed Features

  • Advanced AI Health Monitoring with MediaPipe integration
    • Hand gesture recognition and tremor detection
    • Posture analysis and real-time feedback
    • Heart rate estimation from facial analysis
    • Eye tracking and attention monitoring
  • Enhanced Document Scanner with Tesseract.js OCR
    • Real-time medical document processing
    • Smart classification (prescriptions, lab reports, medical notes)
    • Medication and dosage extraction
    • Doctor name and patient information detection
  • AI chat with Google Gemini integration
  • Text-to-speech with elderly-friendly settings
  • Speech-to-text for voice input
  • EmailJS caregiver alerts with dual alert types
  • Care Mode with accessibility features
  • 3D heart model visualization
  • Comprehensive demo page
  • Production-ready fallbacks

πŸ”„ Optional Enhancements

  • Real SMS integration with Twilio
  • User authentication system
  • Database integration for data persistence
  • Advanced health device integrations
  • Multi-language support

πŸ› οΈ Technology Stack

  • Framework: Next.js 14 with TypeScript
  • UI: Tailwind CSS with Framer Motion
  • AI: Google Generative AI (Gemini) + MediaPipe AI Models
  • OCR: Tesseract.js (client-side processing)
  • Health Monitoring: MediaPipe (hands, pose, face mesh, holistic)
  • 3D: Three.js with React Three Fiber
  • Speech: Web Speech API (native browser)
  • Email: EmailJS integration
  • Accessibility: WAI-ARIA compliant

πŸ“ Project Structure

caresight/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ api/
β”‚   β”‚   β”œβ”€β”€ chat/route.ts          # AI chat endpoint
β”‚   β”‚   └── upload/route.ts        # OCR processing
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ AdvancedHealthMonitoring.tsx # AI health monitoring
β”‚   β”‚   β”œβ”€β”€ DocumentScanner.tsx     # Enhanced OCR processing
β”‚   β”‚   β”œβ”€β”€ EmergencyContacts.tsx   # Caregiver alerts
β”‚   β”‚   β”œβ”€β”€ HealthMonitoring.tsx    # Medication & metrics
β”‚   β”‚   β”œβ”€β”€ ThreeScene.tsx          # 3D heart model
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ context/
β”‚   β”‚   └── CareModeContext.tsx    # Accessibility state
β”‚   β”œβ”€β”€ chat/page.tsx              # AI assistant
β”‚   β”œβ”€β”€ upload/page.tsx            # Document scanner
β”‚   β”œβ”€β”€ demo/page.tsx              # Feature showcase
β”‚   └── dashboard/page.tsx         # Health overview
β”œβ”€β”€ public/
β”‚   └── heart.glb                  # 3D heart model
β”œβ”€β”€ .env.example                   # Environment template
└── DEPLOYMENT.md                  # Production guide

🎨 Demo

Visit the /demo page for an interactive showcase of all features:

  • Document scanning simulation
  • AI chat examples
  • Care mode demonstration
  • Emergency alert system
  • Voice interaction samples

πŸ” Environment Setup

Required environment variables (all optional with fallbacks):

# AI API (Optional - fallback responses available)
GEMINI_API_KEY=your_gemini_api_key

# EmailJS (Optional - demo mode available)
NEXT_PUBLIC_EMAILJS_SERVICE_ID=your_service_id
NEXT_PUBLIC_EMAILJS_TEMPLATE_ID=your_template_id
NEXT_PUBLIC_EMAILJS_USER_ID=your_user_id

πŸš€ Deployment

Quick Deploy to Vercel

npm install -g vercel
vercel --prod

Other Platforms

See DEPLOYMENT.md for comprehensive deployment instructions including:

  • Netlify deployment
  • Traditional hosting
  • Twilio SMS integration
  • Production optimization

β™Ώ Accessibility Features

CareSight is designed with accessibility as a core principle:

  • Visual: High contrast mode, large text, clear navigation
  • Motor: Large touch targets, simple interactions
  • Cognitive: Simplified language, patient voice synthesis
  • Auditory: Visual indicators, text alternatives for audio

πŸ₯ Healthcare Compliance

  • Privacy: Client-side OCR processing, no data retention
  • Accuracy: Educational information only, provider consultation encouraged
  • Accessibility: WCAG 2.1 AA compliant design
  • Security: HTTPS required, secure API handling

🀝 Contributing

This project was developed for hackathon purposes and is ready for production deployment. See DEPLOYMENT.md for setup instructions.

πŸ“„ License

This project is built for healthcare accessibility and is available for educational and production use.


CareSight - Making healthcare accessible for everyone! πŸ₯❀️

Built with ❀️ for elderly, disabled, and neurodiverse users

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors