A
Real-Time Research Project Report on
"REAL TIME FITNESS TRACKER"
Submitted
In Partial Fulfilment of the Requirements for the Award of Degree
BACHELOR OF TECHNOLOGY
IN
COMPUTER SCIENCE AND ENGINEERING
Submitted By
THADURU AJAY KUMAR 247Z1A05S6
SCHOOL OF ENGINEERING
Department of Computer Science And Engineering
NALLA NARASIMHA REDDY
EDUCATION SOCIETY'S GROUP OF INSTITUTIONS
(Approved by AICTE, New Delhi, Affiliated to JNTU-Hyderabad)
Chowdariguda (Vlll) Korremula 'x' Roads, Via Narapally, Ghatkesar (Mandal)
Medchal (Dist), Telangana-500088
2025-2026
SCHOOL OF ENGINEERING
DEPARTMENT OF COMPUTER SCIENCE AND
ENGINEERING
CERTIFICATE
This is to certify that the real-time research project report titled "REAL TIME
FITNESS TRACKER" is being submitted by THADURU AJAY KUMAR (247Z1A05S6) in
Partial fulfilment for the award of Bachelor of Technology in COMPUTER SCIENCE AND
ENGINEERING is a record bonafide work carried out by them. The results embodied in this
report have not been submitted to any other University for the award of any degree.
Internal Guide Head of the Department
[Link] Dr. K. Rameshwaraiah
Submission Date :
ii
DECLARATION
I, THADURU AJAY KUMAR student of Bachelor of Technology in COMPUTER
SCIENCE AND ENGINEERING, Nalla Narasimha Reddy Education Society's Group of
Institutions, Hyderabad, Telangana, now declare that the work presented in this project work
entitled "REAL TIME FITNESS TRACKER", is the outcome of my bonafide work and is
correct to the best of our knowledge. This work has been undertaken taking care of engineering
ethics. It contains no material previously published or written by another person nor material
which has been accepted for the award of any other degree or diploma of the university or other
institute of higher learning.
THADURU AJAY KUMAR 247ZIA0556
Date:
Signature
iii
ACKNOWLEDGEMENT
I want to express our profound gratitude to our real-time research project coordinator,
[Link] Department of COMPUTER SCIENCE AND ENGINEERING, NNRESGI,
for her support and guidance in completing my project, and for giving me this opportunity to
present the research project work.
I profoundly express thanks to Dr. K. Rameshwaraiah, Professor & Head, Department
of Computer Science and Engineering, NNRESGI, for his cooperation and encouragement in
completing the project successfully.
I wish to express our sincere thanks to Dr. G. Janardhana Raju, Dean School of
Engineering, NNRESGI, for providing the facilities for the completion of the project.
I wish to express our sincere thanks to Dr. C. V. Krishna Reddy, Director, NNRESGI,
for providing the facilities for the completion of the project.
Finally, I would like to thank the project coordinator, all the faculty members and
supporting staff, Department of Computer Science and Engineering, NNRESGI, for extending
their help in all circumstances.
BY
THADURU AJAY KUMAR
247Z1A05S6
iv
ABSTRACT
The Real Time Fitness Tracker – AI Based Fitness and Diet Planner Web Application is
developed to help users maintain a healthy lifestyle by providing personalized workout and diet
recommendations through an easy-to-use web interface. In today’s fast-paced lifestyle, many
people find it difficult to plan their fitness routines and diet schedules effectively. This application
solves that problem by allowing users to create an account, log in securely, and receive
customized fitness guidance based on their personal details. The main objective of this project
is to design a smart and interactive fitness platform that helps users track their diet and workout
plans in real time. The system reduces manual effort in planning meals and workouts while
improving user engagement through a modern and responsive design. This project
demonstrates how web technologies and basic artificial intelligence techniques can be
combined to create a real-time fitness solution.
KEYWORDS
Academic Performance, Career Guidance System, Flask Framework, Placement
Prediction System, Python Programming, SQLite Database, Student Performance
Analysis, and Web Application.
CONTENTS
PAGE NO
ABSTRACT
List Of Abbreviations 11
1. INTRODUCTION
1.1 Problem Definition 1
1.2 Objective of the Project 2
1.3 Limitations of the Project 3
2. SYSTEM ANALYSIS 4
2.1 Existing System 4
2.2 Proposed System 5
2.3 Software Requirements 5
2.4 Hardware Requirements 6
2.5 Functional Requirements 6
2.6 Non-Functional Requirements 6
2.7 System Architecture 7
3. IMPLEMENTATION 8
3.1 Method of Implementation 8
3.2 Technology Description 9
3.3 Algorithm/ Approach Used 9
3.4 Explanation of Key Function 10
4. SOURCE CODE 11
5. OUTPUT SCREENSHOT 15
ii
6. CONCLUSION AND FUTURE ENHANCEMENT 20
6.1 project conclusion 20
6.2 Future Enhancement 21
7. REFERENCES 22
7.1 web References 22
iii
1. INTRODUCTION
In today’s modern lifestyle, maintaining physical fitness and following a proper diet
has become a major challenge for many people. Busy schedules, lack of proper
guidance, and insufficient knowledge about balanced nutrition often lead to unhealthy
habits and poor fitness management. As technology continues to grow rapidly, web
applications are becoming one of the most effective tools to provide smart and
personalized solutions in the field of health and fitness.
The Real Time Fitness Tracker – AI Based Fitness and Diet Planner Web
Application is designed to help users improve their fitness levels by providing
customized workout and diet plans based on their personal details such as age, weight,
height, and fitness goals. The main idea behind this project is to create a user-friendly
platform where individuals can easily register, log in, and access personalized fitness
recommendations without needing professional trainers or complicated software.
This application is developed using modern web technologies such as HTML, CSS,
JavaScript, PHP, and MySQL. The front-end of the system provides an attractive gym-
themed interface that improves user experience, while the back-end manages user data,
login authentication, and diet plan generation. The system also includes additional
features such as an AI-based calorie calculator, an animated fitness landing page, an
admin panel for managing users, and the option to download personalized diet plans in
PDF format.
.
1.1 Problem Definition
In the present generation, maintaining physical fitness and following a healthy diet has
become increasingly difficult due to busy lifestyles, lack of time, and insufficient
knowledge about proper nutrition and workout planning. Many people want to stay fit but
do not know how to create an effective workout schedule or a balanced diet plan according
to their body requirements. As a result, they often follow incorrect fitness routines, which
may not produce the desired results and can sometimes lead to health problems.
1
1.2 Objective of the Project
The main objective of the Real Time Fitness Tracker – AI Based Fitness and Diet
Planner Web Application is to develop a smart and user-friendly platform that helps
users maintain a healthy lifestyle by providing personalized fitness and diet
recommendations. The project aims to simplify the process of workout planning and
diet management by using modern web technologies and basic artificial intelligence
techniques.
The specific objectives of the project are as follows:
1. To develop a web-based fitness application that allows users to register, log in, and
manage their personal fitness information easily.
2. To design a user-friendly and attractive interface with a gym-themed layout that
improves user experience and makes the application easy to use.
3. To create a real-time calorie calculator that calculates the daily calorie requirements of
users based on their age, weight, height, and fitness goals.
4. To provide personalized diet plans for users according to their fitness goals such as
weight loss, weight gain, or maintaining fitness.
5. To develop an admin panel that allows the administrator to view and manage registered
users in the system.
6. To allow users to download their diet plan in PDF format, making the application more
practical and useful for daily use.
7. To store user data securely using a database and ensure proper login authentication using
PHP and MySQL.
8. To create a complete real-time fitness tracking solution that combines workout planning,
diet recommendations, and user management in one platform.
2
1.3 Limitations of the Project
Although the Real Time Fitness Tracker – AI Based Fitness and Diet Planner Web
Application provides a platform for users to manage their fitness and diet plans, the system
has certain limitations that can be improved in future versions.
1. Basic AI functionality
The application uses simple logic and basic artificial intelligence techniques to generate
calorie calculations and diet recommendations. It does not use advanced machine learning
models or real-time health data for more accurate predictions.
2. Limited real-time tracking
The system provides real-time calculations based on user input, but it does not track
physical activities automatically through wearable devices such as smartwatches or fitness
bands.
3. Limited diet customization
The diet plans generated by the system are based on general fitness goals such as weight
loss, weight gain, and maintenance. It does not consider medical conditions, allergies, or
personal food preferences in detail.
4. No mobile application support
The project is developed as a web application and does not currently include a mobile app
version for Android or iOS devices.
5. Basic security features
The system uses simple login authentication and database storage. Advanced security
features such as password encryption, multi-factor authentication, and secure API
integration are not included in this version.
6. Requires internet connection
The application must be accessed through a web browser, and users cannot use all features
completely in offline mode.
7. Limited data analysis and progress tracking
The system provides diet and calorie recommendations but does not store long-term fitness
progress such as weekly weight tracking, body measurements, or workout performance.
3
2. System Analysis
The System analysis is the process of understanding the requirements of a system and
identifying how the system should work to solve a particular problem. In this project,
the system analysis focuses on designing a web-based platform that helps users manage
their fitness and diet plans in an efficient and user-friendly manner.
The Real Time Fitness Tracker – AI Based Fitness and Diet Planner Web
Application is developed after analyzing the problems faced by users who want to
maintain a healthy lifestyle but lack proper guidance and time. The analysis stage helps
in identifying the functional and non-functional requirements of the system, the flow of
information, and the technologies required to build the application.
2.1 Existing System
In the present scenario, most people who want to maintain their fitness and follow a
proper diet depend on traditional methods such as personal trainers, fitness books,
YouTube videos, and different fitness websites. These methods provide general
information but do not offer personalized fitness and diet plans based on an individual’s
body requirements, age, weight, height, and fitness goals.
Many existing fitness applications available on the internet are either complicated to
use or require paid subscriptions to access advanced features such as personalized diet
plans, calorie tracking, and workout scheduling. Due to this, users often find it difficult
to choose a suitable platform that is simple, affordable, and easy to use. In addition,
these systems do not always provide real-time calculations or customized
recommendations, which makes them less effective for beginners
4
2.2 Proposed System
The proposed system is a web-based fitness tracker that provides a centralized platform
where users can register, log in, calculate their daily calorie requirements, and receive
personalized diet and workout plans. The system also includes an admin panel to
manage user data and provides an option to download the diet plan in PDF format. The
application is designed with a gym-themed interface to improve user experience and
make the platform more interactive.
2.3 System Software Requirements
The software required to implement the system includes:
• Operating System: Windows / Linux / macOS
• Programming Language: HTML,CSS,Java script
• Weh Framework: Flask for backend development
• Database MySQL for storing data like name,email,password
• Libraries: Pandas, NumPy, scikit-leam for data processing and predictive
modeling
• Frontend: HTML, CSS for designing pages
5
2.6 Hardware Requirements
The system requires minimal hardware resources, making it accessible to most
institutions:
• Processor: Intel i3 or higher
• RAM: Minimum 4 GB
• Storage: At least 50 GB free disk space
• Display: 1024x768 screen resolution or higher
• Network: Internet connection for web access
2.4 Functional Requirements
Functional requirements describe the main features and operations that the Real Time
Fitness Tracker – AI Based Fitness and Diet Planner Web Application must perform.
These requirements define how the system interacts with users and how different
modules of the application work.
The functional requirements of the system are as follows:
1. User Registration
The system should allow new users to create an account by entering their name, email ID,
and password. The user details should be stored in the database.
2. User Login Authentication
The system should allow registered users to log in using their email and password. The
system should verify the details and provide access to the dashboard only if the
information is correct.
3. User Dashboard
After successful login, the system should display a dashboard where users can access
fitness features such as calorie calculation, diet plan generation, and workout suggestions.
4. AI-Based Calorie Calculator
The system should allow users to enter personal details such as age, weight, height, and
fitness goal. Based on these details, the system should calculate the daily calorie
requirements in real time.
5. Personalized Diet Plan Generation
The system should generate a diet plan for users based on their calorie requirements and
fitness goals such as weight loss, weight gain, or maintaining fitness.
6
6. Download Diet Plan as PDF
The system should allow users to download their personalized diet plan in PDF format for
future use.
7. Admin Panel
The system should provide an admin panel where the administrator can view the list of
registered users and manage user information.
8. Logout Function
The system should allow users to log out securely from their account and return to the
login page. .
2.5 Non-Functional Requirements
Non-functional requirements describe how the system should perform and the quality
standards that the Real Time Fitness Tracker – AI Based Fitness and Diet Planner
Web Application must maintain. These requirements focus on performance, usability,
security, and reliability of the system.
The non-functional requirements of the project are as follows:
1. Performance
The system should respond quickly to user inputs such as login, calorie calculation, and
diet plan generation. The application should load web pages within a short time.
2. Usability
The system should be easy to use and user-friendly. Even users with basic computer
knowledge should be able to register, log in, and use the fitness features without
difficulty.
3. Reliability
The application should work properly without errors and should provide accurate results
for calorie calculations and diet plan generation.
4. Security
User data such as name, email, and password should be stored securely in the database.
The system should allow only registered users to access the dashboard.
5. Compatibility
The application should work properly on different web browsers such as Google Chrome,
Microsoft Edge, and Mozilla Firefox.
6. Scalability
The system should be able to handle an increasing number of users in the future without
7
affecting performance.
8
2.7 SYSTEM ARCHITECTURE
9
3. IMPLEMENTATION
The implementation phase of the Real Time Fitness Tracker – AI Based Fitness and
Diet Planner Web Application involves designing, coding, testing, and integrating all
modules of the system. The application is developed using HTML, CSS, JavaScript,
PHP, and MySQL.
3.1 Method of Implementation
The Real Time Fitness Tracker – AI Based Fitness and Diet Planner Web Application is
implemented using a step-by-step development approach. The project is developed using front-
end technologies (HTML, CSS, JavaScript) and back-end technologies (PHP and MySQL).
The method of implementation followed in this project is explained below:
Step 1: Requirement Analysis
First, the requirements of the system are identified. The main requirements include
user registration, login authentication, calorie calculation, diet plan generation, and
user data storage.
Step 2: System Design
After analysing the requirements, the system architecture and database structure are
designed. The database tables such as user details and diet plan data are created using
MySQL.
Step 3: Front-End Development
The front-end of the application is developed using HTML, CSS, and JavaScript.
Pages such as the login page, signup page, dashboard, and diet plan page are designed
with a user-friendly interface.
Step 4: Back-End Development
The back-end logic is implemented using PHP. PHP is used to connect the application
with the MySQL database, store user information, verify login details, and generate
personalized diet plans.
Step 5: Database Integration
The PHP files are connected with the MySQL database using XAMPP and
phpMyAdmin. The database is tested by inserting and retrieving user data.
Step 6: Module Integration
All the modules such as login system, calorie calculator, diet plan generator, and
admin panel are combined into a single web application.
10
Step 7: Testing and Debugging
The application is tested to check whether all functions are working properly. Errors
such as login failure, incorrect calculations, and database connection problems are
identified and corrected.
Step 8: Final Implementation
After testing, the final version of the project is executed successfully on the local
server (XAMPP) and verified using a web browse
11
3.2 Technology Description
The technologies used in the system include:
The Real Time Fitness Tracker – AI Based Fitness and Diet Planner Web
Application is developed using modern web technologies. These
technologies are used to design the user interface, process user data, and
store information in the database.
The technologies used in this project are explained below:
1. HTML (HyperText Markup Language)
HTML is used to create the basic structure of the web pages. It is used to
design pages such as the login page, signup page, dashboard, and diet
plan page. HTML helps in arranging text, images, forms, buttons, and
other elements on the web page.
2. CSS (Cascading Style Sheets)
CSS is used to design the layout and appearance of the web application. It
is used to add colors, fonts, backgrounds, and responsive design. CSS
makes the application look attractive and user-friendly.
3. JavaScript
JavaScript is used to add interactivity to the web application. It is used to
perform real-time calorie calculation, form validation, and dynamic
updates on the web pages without refreshing the page.
4. PHP (Hypertext Preprocessor)
PHP is used as the backend programming language. It is used to process
user inputs, handle login and signup authentication, connect the
application to the database, and generate personalized diet plans based on
user data.
5. MySQL
MySQL is used as the database management system. It is used to store
user details such as name, email, password, age, weight, and fitness goals.
It helps in managing and retrieving data efficiently.
6. XAMPP
XAMPP is used as a local server to run the web application. It provides
Apache and MySQL services which are required to execute PHP
programs and connect to the database.
12
.
3.3 Algorithm/ Approach Used
The Real Time Fitness Tracker – AI Based Fitness and Diet Planner Web Application
uses a step-by-step algorithm to calculate calories and generate a personalized diet
plan based on user details. The system follows a rule-based approach combined with
real-time user input processing.
Algorithm Used in the System
Step 1: Start the program.
Step 2: Display the login page and allow the user to log in or register.
Step 3: After successful login, display the user dashboard.
Step 4: The user enters personal details such as age, weight, height, gender, and
fitness goal.
Step 5: The system calculates the Body Mass Index (BMI) using the formula:
BMI = Weight (kg) / Height (m²)
Step 6: The system calculates the daily calorie requirement based on user details.
Step 7: Based on the calorie requirement, the system identifies the user goal:
Weight Loss
Weight Gain
Maintain Fitness
Step 8: The system generates a personalized diet plan according to the calculated
calorie value and user goal.
Step 9: The diet plan is displayed on the screen and stored in the database.
Step 10: The user can download the diet plan or log out.
Step 11: Stop the program
13
3.4 Explanation of Key Functions
Real Time Fitness Tracker – AI Based Fitness and Diet Planner Web
Application consists of several important functions that help the system
perform its operations effectively. These key functions are responsible for
user authentication, calorie calculation, diet plan generation, and data
storage.
1. User Registration Function
This function allows new users to create an account by entering their name,
email, and password. The function collects the user input and stores it in the
MySQL database using PHP. This helps the system maintain a record of all
registered users.
2. User Login Function
The login function verifies the user’s email and password. When a user enters
their login details, the system checks the data with the database. If the
information is correct, the user is redirected to the dashboard. If the details
are incorrect, the system displays a login error message.
3. Database Connection Function
This function connects the web application to the MySQL database using PHP.
It allows the system to store user data, retrieve user details, and manage diet
plan information.
4. Calorie Calculation Function
This function calculates the daily calorie requirement of the user based on
personal details such as age, height, weight, gender, and fitness goal. The
calculation is performed in real time using JavaScript, and the result is
displayed instantly on the screen.
5. Diet Plan Generation Function
After calculating the calorie requirement, this function generates a personalized
diet plan for the user. The system selects a suitable diet plan based on the
user’s fitness goal such as weight loss, weight gain, or maintaining fitness.
6. Admin Panel Function
The admin panel function allows the administrator to view the list of registered
users. It also allows the admin to manage user information stored in the
database.
14
7. PDF Download Function
This function allows users to download their personalized diet plan in PDF
format. It helps users save the diet plan and use it later without opening the
application.
8. Logout Function
This function allows users to log out securely from the system. It removes the
session data and redirects the user to the login page
15
4. SOURCE CODE
[Link]
<!DOCTYPE html>
<html>
<head>
<title>TransformX Login</title>
</head>
<body>
<h2>Login Page</h2>
<form action="[Link]" method="POST">
Email:<br>
<input type="email" name="email"
required><br><br> Password:<br>
<input type="password" name="password" required><br><br>
<button type="submit">Login</button></form>
<br>
<a href="[Link]">Create New Account</a>
</body>
16
</html>
[Link]
[Link]{
background: linear-gradient(to right,#000000,#434343);
font-family: Arial;
color:white;
.login-box{
width:350px;
margin:100px auto;
background:white;
color:black;
padding:30px;
border-radius:10px;
text-align:center;
17
input,select{
width:100%;
padding:10px;
margin-top:10px;
button{
width:100%;
padding:10px;
margin-top:15px;
background:black;
color:white;
border:none;
.nav{
background:black;
18
color:white;
padding:15px;
display:flex;
justify-content:space-between;
.cards{
display:flex;
justify-content:center;
margin-top:50px;
gap:30px;
.card{
background:black;
color:white;
padding:40px;
text-decoration:none;
19
border-radius:10px;
.form-box{
width:400px;
margin:100px auto;
background:white;
color:black;
padding:30px;
border-radius:10px;
.diet-box{
width:400px;
margin:100px auto;
background:white;
color:black;
padding:30px;
20
border-radius:10px;
[Link]
<?php
session_start();
include "[Link]";
?>
<!DOCTYPE html>
<html>
<head>
<title>Profile</title>
<link rel="stylesheet" href="[Link]">
</head>
<body class="bg">
<div class="form-box">
21
<h2>User Profile</h2>
<form action="" method="POST">
<input type="number" name="age" placeholder="Age">
<input type="number" name="weight" placeholder="Weight (kg)">
<input type="number" name="height" placeholder="Height (cm)">
<select name="goal">
<option>Weight Loss</option>
<option>Muscle Gain</option>
<option>Maintain Fitness</option>
</select>
<button type="submit">Save Profile</button>
</form>
22
</div>
</body>
</html>
[Link](debug=True)
23
5. OUTPUT SCREENSHOT
5.1 Home Page:
+ -
Cl X
5.2 Signup page: - Cl X
24
25
5.3 Signin page: Allows existing students to log in to the system using
their credentials.
26
27
5.4 Result page:
28
29
6. CONCLUSION AND FUTURE ENHANCEMENT
6.1 Project Conclusion
The Real Time Fitness Tracker – AI Based Fitness and Diet Planner Web Application
is successfully designed and developed to provide a simple and effective solution for
managing fitness and diet plans. The application helps users calculate their daily
calorie requirements and generates personalized diet plans based on their individual
details such as age, weight, height, and fitness goals.
This project demonstrates how web technologies like HTML, CSS, JavaScript, PHP,
and MySQL can be integrated to build a complete and functional system. The
application provides important features such as user registration, login authentication,
AI-based calorie calculation, diet plan generation, admin panel, and PDF download
option. The user-friendly interface with a gym-themed design enhances the overall
user experience.
The system overcomes many limitations of existing methods by providing a
centralized platform where users can access all fitness-related features in one place. It
reduces the dependency on multiple sources and simplifies the process of maintaining
a healthy lifestyle.
30
6.2 Future Enhancement
The Real Time Fitness Tracker – AI Based Fitness and Diet Planner Web Application
provides a strong foundation for fitness management, but there are several
enhancements that can be implemented in the future to improve its functionality and
user experience.
Advanced AI Integration
The system can be enhanced by integrating advanced machine learning algorithms to
provide more accurate and personalized diet and workout recommendations based on user
behavior and health data.
Mobile Application Development
A mobile application (Android/iOS) can be developed to make the system more
accessible and convenient for users to track their fitness anytime and anywhere.
Integration with Wearable Devices
The application can be connected with fitness devices such as smartwatches and fitness
bands to automatically track steps, heart rate, calories burned, and other health metrics.
Personalized Diet Customization
Future versions can include options to customize diet plans based on user preferences,
allergies, and medical conditions.
Workout Tracking and Progress Monitoring
The system can be enhanced to include features like workout tracking, daily activity logs,
weight tracking, and graphical progress reports.
Cloud Deployment
The application can be deployed on cloud platforms to allow global access and better
scalability.
Enhanced Security Features
Security can be improved by implementing password encryption, secure authentication
methods, and data protection techniques.
Chatbot or Virtual Trainer
An AI-based chatbot or virtual fitness trainer can be added to provide real-time guidance,
motivation, and suggestions to users.
31
7. References
7.1 Web References
1. Fitness Tracker (BMI Calculator) Web Application Research
– Provides detailed information about fitness tracker systems, BMI calculation,
and web-based health applications.
2. Smart Fitness Tracker Web App Project Overview
– Explains features like calorie tracking, workout monitoring, and AI-based
recommendations used in fitness web apps.
3. Fitness Tracker Web Design Case Study
– Describes UI/UX design, system workflow, and implementation of a fitness
tracking platform.
4. Pawa Fitness Website Design Report
– Provides insights into website development process including design,
implementation, and testing.
5. Fitness and Wellness Tracker Project Report (Sample)
– Example academic project report covering system design, features, and
implementation.
6. Fitness Tracker Research using Wearable Devices
– Academic research on fitness tracking technologies and health monitoring
systems.
7. Fitness Tracker Web Design Projects (UI/UX Examples)
– Collection of modern fitness app UI/UX designs for inspiration and
implementation ideas.
32