AI-Assisted Physical Treatment and Health Support System

An Android app that helps patients do their home exercises correctly and look after their health. The patient records an exercise with the phone camera, and the AI server checks the posture and says what to change. Exercise plans are chosen from the patient's health profile, a chatbot answers questions, and blood pressure, glucose, weight and meals are kept in one place with a health report.

Download the Android app

What it does

PartWhat it doesMade by
Account and health profileRegister, log in and fill in the health profile in four short steps. Each part (body details, conditions, limitations, foods) has its own card and Edit page.Elwin and Jun Ting
Treatment plansTen exercise plans, ranked for the patient's body area, recovery stage, goal and health profile. Safety limits follow the patient's risk level, and plans pause from age 65.Elwin
Posture checkThe patient records an exercise with the phone camera. The AI server finds the body points, checks 15 exercises with angle rules (five also with a trained GRU model), scores each repetition and says what to change. 80% passes.Elwin
ChatbotAnswers questions about the exercises, plans and the app from written rules, in English and Malay. Urgent symptoms such as chest pain are always answered first.Elwin
Exercise remindersReminders on the days and times the patient chooses.Elwin
Health trackingBlood pressure, blood glucose and weight, typed in or imported from Health Connect or a watch, with alerts for high readings.Jun Ting
DietLog meals by photo or search, see daily and weekly meal plans that suit the health profile, and review the diet.Jun Ting
Health reportA health score and report from the readings, activity and meals.Jun Ting

Screenshots

Home: today's session and readings
Home: today's session and readings
Health profile: one card per part
Health profile: one card per part
Plans recommended from the profile
Plans recommended from the profile
The treatment plan, one exercise at a time
The treatment plan, one exercise at a time
How to do the exercise
How to do the exercise
Posture result after recording
Posture result after recording
Chatbot answering a question
Chatbot answering a question
Health tracking
Health tracking
Diet: log a meal by photo
Diet: log a meal by photo
Health report and score
Health report and score

How it is built

PieceWhat it is
Phone appFlutter (Android), model-view-viewmodel structure
Accounts and dataSupabase (sign-in and the database)
AI serverPython (FastAPI) with MediaPipe for the body points and PyTorch for the GRU model, running on our own computer and reached at api.elwinjtfyp.me

How the posture rules and the chatbot work, with the angles each exercise checks: How it works (PDF).

Team

NameRole
Elwin Koh Soon YitAI Treatment Planning Module: posture check, treatment plans, chatbot, exercise reminders, account and profile
Lee Jun TingHealth tracking, diet and food recognition, health report, account and profile, database
Dr. Lim Fung JiSupervisor