A modern, intelligent eye health monitoring application that helps you maintain healthy blinking habits and reduce digital eye strain.
- Real-time Blink Tracking: Advanced computer vision technology monitors your blinking patterns
- Smart Analytics: Detailed insights into your eye health with beautiful visualizations
- Intelligent Alerts: Timely reminders to maintain healthy eye habits
- Modern UI: Professional, responsive design with smooth animations
- Health Suggestions: Personalized recommendations based on your usage patterns
- Python 3.7+
- Webcam access
- Modern web browser
-
Clone the repository
git clone <repository-url> cd AEYEHealth
-
Set up the Python environment
conda create -n aeyehealth python=3.11 conda activate aeyehealth pip install opencv-python dlib imutils scipy requests
-
Download the face landmark model
# You'll need to download the shape_predictor_68_face_landmarks.dat file # and place it in the engine/ directory
-
Start the eye tracking engine
conda activate aeyehealth python3 engine/faces.py
-
Open the web interface
cd gui python3 -m http.server 8000 -
Access the dashboard Open your browser and navigate to
http://localhost:8000
If you want to run the camera without showing any GUI (useful for background monitoring):
Option 1: Using the shell script (Recommended)
./start_camera.shOption 2: Using the Python runner
python3 run_camera_background.pyOption 3: Direct execution
conda activate aeyehealth
python3 engine/faces.pyThe background mode will:
- Run the camera without displaying any GUI windows
- Print blink detection messages to the console
- Save data to
gui/storage.jsonas usual - Allow you to stop with Ctrl+C
This is perfect for:
- Running the camera while working on other tasks
- Server environments without display
- Automated monitoring setups
- Modern Color Palette: Professional indigo and emerald color scheme
- Glass Morphism: Beautiful backdrop blur effects
- Smooth Animations: Elegant transitions and micro-interactions
- Responsive Design: Works perfectly on all screen sizes
- Interactive Charts: Real-time data visualization with Chart.js
- Smart Progress Indicators: Animated progress bars and counters
- Feature Cards: Highlighting key application capabilities
- Team Showcase: Professional team member profiles
- Loading States: Smooth loading animations and feedback
- Smooth Navigation: One-page scrolling with active state indicators
- Accessibility: ARIA labels and semantic HTML
- Error Handling: Graceful error states and user feedback
- Performance: Optimized animations and efficient data updates
- External Links: GitHub profile links and external URLs open in the default browser
- Daily Summary: Overview of your eye health metrics
- Screen Time Progress: Visual representation of daily screen time
- Recent Health Trends: Line chart showing blink frequency over time
- Smart Suggestions: Personalized recommendations based on your data
- Health History: Comprehensive chart showing long-term trends
- Baseline Comparison: Compare your patterns against healthy benchmarks
- Feature Overview: Detailed explanation of app capabilities
- Team Information: Meet the developers behind AEYE Health
- Contact Links: Connect with the team via GitHub
- HTML5: Semantic markup with accessibility features
- CSS3: Modern design system with CSS custom properties
- JavaScript (ES6+): Modular code with async/await patterns
- Chart.js: Beautiful, responsive data visualizations
- Python: Core eye tracking engine
- OpenCV: Computer vision for blink detection
- dlib: Facial landmark detection
- JSON: Data storage and communication
- β Modern color scheme with better contrast
- β Professional typography using Inter font
- β Consistent spacing and layout system
- β Smooth animations and transitions
- β Glass morphism effects
- β Responsive design for all devices
- β Improved navigation with smooth scrolling
- β Better error handling and loading states
- β Enhanced accessibility features
- β Interactive charts with tooltips
- β Modular JavaScript architecture
- β Modern CSS with custom properties
- β Semantic HTML structure
- β Better error handling and logging
- β Performance optimizations
If you encounter camera permission errors:
- Grant camera access in your system preferences
- On macOS: System Preferences > Security & Privacy > Camera
- Restart the application after granting permissions
If you have dependency problems:
conda activate aeyehealth
pip install --upgrade pip
pip install -r requirements.txtIf you need to access developer tools for debugging:
- Keyboard Shortcut: Press
F12(Windows/Linux) orCmd+Option+I(macOS) - Menu Option: Go to Developer > Toggle Developer Tools
- Note: Developer tools are disabled by default for a cleaner user experience
We welcome contributions! Please feel free to submit issues and pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
AEYE Health - Making eye care smarter, one blink at a time. ποΈβ¨