TBXpert
AI app that screens for tuberculosis from cough audio, with medication reminders.
Scroll to explore ↓2026 · Flutter · FastAPI · HeAR embeddings

- Role
- AI engineer & backend integration
- Year
- 2026
- Duration
- 3 Month
- Team
- Sakha Syakh (lead) · Aditya Lucky Zulkarnaen (backend) · Tito Alla Khairi (frontend)
- Stack
- Flutter, FastAPI, HeAR embeddings, Gemini API, Firebase
- Links
- Source ↗
Problem
Many people with a lingering cough never get checked, yet tuberculosis needs to be caught early. After a diagnosis, patients take medication for months, and a missed dose can undo the treatment.
Process
TBXpert only asks for a recorded cough. The recording goes to a model I trained on normal and TB cough data, and the result is shown as an early screening. It is not a diagnosis: the app always points the user to a doctor for a proper check.
I served the model as a separate API (TBC Audio Classifier, packaged with Docker), so the Flutter app calls a single endpoint, and I worked on the part of the backend that connects the online model to the app's screening logic. Around it the team added a Gemini chatbot for questions about TB, medication reminders synced to Google Calendar, and an automatic email to the person in charge when a patient misses a dose confirmation.
Gallery




Key decisions
HeAR embeddings instead of an audio model from scratch
The TB cough dataset is small, so a light DNN/MLP classifier on top of pretrained health-audio embeddings made more sense than training a large model.
Screening, not diagnosis
Every result points to a doctor, because the model can be wrong and medical decisions belong to health workers.
Results
Finalist at the GDGoC UGM competition.
The full flow works in the app: record a cough, get a screening result, get referred to a doctor, plus the chatbot and medication reminders.