FitOn is a cutting-edge application designed to monitor and analyze real-time health data, including heart rate, sleep duration, daily steps, BMI, and more. The primary objective of FitOn is to provide personalized exercise recommendations based on the analysis of user metrics. Leveraging the KNearestNeighbour (KNN) machine learning model deployed on Amazon SageMaker, FitOn predicts the most suitable exercise regimen corresponding to the user’s recorded data.
- Introduction
- Features
- System Architecture
- Setup Instructions
- Usage
- Methodology
- Security Considerations
- Scalability
- Results
In an era where health and fitness are becoming increasingly prioritized, the demand for intuitive and comprehensive health monitoring solutions is on the rise. FitOn emerges as a pioneering application aimed at revolutionizing the way individuals track, analyze, and improve their overall well-being.
FitOn integrates cutting-edge technologies to deliver a holistic health monitoring and recommendation system. It leverages the Google Fit API to extract real-time data on various health metrics and uses Amazon RDS for in-depth analysis and processing. The KNN model on Amazon SageMaker provides actionable insights and personalized exercise recommendations.
- Real-time Health Monitoring: Tracks heart rate, sleep duration, daily steps, BMI, and more.
- Personalized Exercise Recommendations: Uses KNN machine learning model for tailored fitness regimens.
- User-friendly Interface: Intuitive dashboard for seamless input and tracking of health metrics.
- Advanced Visualization: Comprehensive insights with charts and graphs on health trends.
- Secure User Authentication: AWS Cognito ensures secure login and data privacy.
- Cloud-based Storage: Efficient data storage and management using AWS services.
FitOn is built with a robust architecture as shown below:
- Clone the Repository
git clone https://github.com/rohnnie/FitOn.git cd FitOn
- Install Dependencies
pip install -r requirements.txt
- Configure AWS Services
- Set up AWS Cognito for user authentication.
- Create RDS, DynamoDB, S3, SQS, and SNS instances.
- Deploy machine learning models on Amazon SageMaker.
- Run the Application
python manage.py runserver
- Users can sign up or log in via email using AWS Cognito.
- Track various health metrics in real-time.
- View graphical representations of health trends.
- Access personalized workout recommendations based on recorded data.
- Manage user profiles, synchronize data with Google Fit, and upload profile pictures.
- Secure user authentication through AWS Cognito.
- Access the FitOn website hosted on AWS Beanstalk.
- Health Metrics Tracking: Data synchronized from Google Fit API and stored in DynamoDB.
- Exercise Recommendations: KNN algorithm on SageMaker provides personalized exercise suggestions.
- Sleep Score Prediction: Predict sleep scores using KNN model.
- Requests handled via SQS and processed by AWS Lambda.
- Notifications sent using SNS when data retrieval is complete.
- User Authentication: Handled through AWS Cognito.
- Data Encryption: Encrypted data at rest and in transit.
- Access Control: AWS IAM roles and policies for resource access.
- Cloud-based Services: AWS enables horizontal scaling.
- Serverless Functions: AWS Lambda for cost-effective processing.
- Data Retrieval Queue: Amazon SQS for asynchronous processing.
FitOn successfully implements a secure and scalable architecture, delivering a comprehensive health and fitness tracking experience. Key features include:
- Secure user authentication and profile management.
- Real-time health data tracking.
- Machine learning-powered sleep score prediction and exercise recommendations.
- Customizable dashboards for a holistic view of health metrics.