COVID-19 Diagnosis at Ease

Overview

Cough It

COVID-19 Diagnosis at Ease

Inspiration

As the pandemic has nearly crippled all the nations and still in many countries, people are in lockdown, there are many innovations in these two years that came up in order to find an effective way of tackling the issues of COVID-19. Out of all the problems, detecting the COVID-19 strain has been the hardest so far as it is always mutating due to rapid infections.

Just like many others, we started to work on an idea to detect COVID-19 with the help of cough samples generated by the patients. What makes this app useful is its simplicity and scalability as users can record a cough sample and just wait for the results to load and it can give an accurate result of where one have the chances of having COVID-19 or not.

Objective

The current COVID-19 diagnostic procedures are resource-intensive, expensive and slow. Therefore they are lacking scalability and retarding the efficiency of mass-testing during the pandemic. In many cases even the physical distancing protocol has to be violated in order to collect subject's samples. Disposing off biohazardous samples after diagnosis is also not eco-friendly.

To tackle this, we aim to develop a mobile-based application COVID-19 diagnostic system that:

  • provides a fast, safe and user-friendly to detect COVID-19 infection just by providing their cough audio samples
  • is accurate enough so that can be scaled-up to cater a large population, thus eliminating dependency on resource-heavy labs
  • makes frequent testing and result tracking efficient, inexpensive and free of human error, thus eliminating economical and logistic barriers, and reducing the wokload of medical professionals

Our proposed CNN architecture also secured Rank 1 at DiCOVA Challenge 2021, held by IISc Bangalore researchers, amongst 85 teams spread across the globe. With only being trained on small dataset of 1,040 cough samples our model reported:

Accuracy: 94.61% Sensitivity: 80% (20% false negative rate) AUC of ROC curve: 87.07% (on blind test set)

What it does

The working of Cough It is simple. User can simply install the app and tap to open it. Then, the app will ask for user permission for external storage and microphone. The user can then just tap the record button and it will take the user to a countdown timer like interface. Playing the play button will simply start recording a 7-seconds clip of cough sample of the user and upon completion it will navigate to the result screen for prediction the chances of the user having COVID-19

How we built it

Our project is divided into three different modules -->

ML Model

Our machine learning model ( CNN architecture ) will be trained and deployed using the Sagemaker API which is apart of AWS to predict positive or negative infection from the pre-processed audio samples. The training data will also contain noisy and bad quality audio sample, so that it is robust for practical applications.

Android App

At first, we prepared the wireframe for the app and decided the architecture of the app which we will be using for our case. Then, we worked from the backend part first, so that we can structure our app in proper android MVVM architecture. We constructed all the models, Retrofit Instances and other necessary modules for code separation.

The android app is built in Kotlin and is following MVVM architecture for scalability. The app uses Media Recorder class to record the cough samples of the patient and store them locally. The saved file is then accessed by the android app and converted to byte array and Base64 encoded which is then sent to the web backend through Retrofit.

Web Backend

The web backend is actually a Node.js application which is deployed on EC2 instance in AWS. We choose this type of architecture for our backend service because we wanted a more reliable connection between our ML model and our Node.js application.

At first, we created a backend server using Node.js and Express.js and deployed the Node.js server in AWS EC2 instance. The server then receives the audio file in Base64 encoded form from the android client through a POST request API call. After that, the file is getting converted to .wav file through a module in terminal through command. After successfully, generating the .wav file, we put that .wav file as argument in the pre-processor which is a python script. Then we call the AWS Sagemaker API to get the predictions and the Node.js application then sends the predictions back to the android counterpart to the endpoint.

Tech Stack

Screenshots for the Android App


       

       
You might also like...
Covid Tracker - Show Details of Corona virus cases of all affected country

Covid_Tracker Based on MVVM Architecture Show Details of Corona virus cases of a

A simple covid-19 response application to give users an idea of the severity of their covid-19 status and profer steps to take based on the severity.
A simple covid-19 response application to give users an idea of the severity of their covid-19 status and profer steps to take based on the severity.

COVID-19 Response ๐ŸŽก A simple covid-19 response application to give users an idea of the severity of their covid-19 status and profer steps to take ba

CovidTracker traces all the covid-19 cases all over the world.
CovidTracker traces all the covid-19 cases all over the world.

CovidTracker Crona Tracker trace india covid-19 cases upto district level and can trace other countries cases too. It can also traces user's current l

Android app to search for covid vaccine slots, turn on background search & get notifications when slots are available
Android app to search for covid vaccine slots, turn on background search & get notifications when slots are available

CowinNotifier Android app to search for covid vaccine slots, turn on background search & get notifications when slots are available Glipmse of the App

Find your ideal fitness partners according to your preferences and interact with them whenever you want! All this with no hassle, because there's FitMate! Take timed challenges updated daily, read blogs related to health, and be a part of numerous communities too! During covid times, partner with your FitMate to achieve your fitness goals at home.
EU Digital COVID Certificate Wallet App - Android

This repository contains the source code of the EU Digital COVID Certificate Wallet App for Android.

An android app that displays statistics about covid-19 vaccinations and enables the user to make a dummy appointment.

AndroidApp An android app that displays statistics about covid-19 statistics and enables the user to make a dummy appointment. This a simple android a

Tutorial Membuat Aplikasi Pencarian Rumah Sakit Khusus COVID-19  dengan Android Studio
Tutorial Membuat Aplikasi Pencarian Rumah Sakit Khusus COVID-19 dengan Android Studio

Hospital-Covid-19 Tutorial Membuat Aplikasi Pencarian Rumah Sakit Khusus COVID-19 dengan Android Studio Data ini diambil dari API https://github.com/s

Digital Covid Certificate SDK

Digital Green Certificate SDK Read this in other languages: English. ๐Ÿ“„ Leggi la documentazione dettagliata Indice Contesto Installazione Uso Contribu

COVID-19 Check-in solution for store using a safe number based on MVVM model.
COVID-19 Check-in solution for store using a safe number based on MVVM model.

wave-in-listener English version : README_EN.md wave-in-listener ๋Š” ๋งค์žฅ์— ๋ฐฉ๋ฌธํ•œ ๊ณ ๊ฐ์˜ ๊ฐœ์ธ์•ˆ์‹ฌ๋ฒˆํ˜ธ๋ฅผ ์ŒํŒŒํ†ต์‹ ์„ ์ด์šฉํ•ด ์ˆ˜์‹ ํ•  ์ˆ˜ ์žˆ๋Š” ์•ฑ์ž…๋‹ˆ๋‹ค. ์ด ์•ฑ์€ wave-in-speaker ์•ฑ๊ณผ ํ•จ๊ป˜ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค. wave

COVID-19 Check-in solution using a safe number based on MVVM model.
COVID-19 Check-in solution using a safe number based on MVVM model.

wave-in-speaker wave-in-speaker๋Š” ๋ฐฉ๋ฌธํ•˜๋Š” ๊ณต๊ฐ„์— ์ „์ž์ถœ์ž…๋ช…๋ถ€๋ฅผ ์‰ฝ๊ฒŒ ๋‚จ๊ธฐ๋„๋ก ๋„์™€์ฃผ๋Š” ์•ฑ์ด๋ฉฐ ํŠนํžˆ ์ฝ”๋กœ๋‚˜ ๋ฐ”์ด๋Ÿฌ์Šค ๊ฐ์—ผ์ฆ(COVID-19) ๊ธฐ๊ฐ„๋™์•ˆ ํšจ๊ณผ์ ์œผ๋กœ ์‚ฌ์šฉ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. ์ด ์•ฑ์„ ์‚ฌ์šฉํ•˜๋ฉด QR์ฝ”๋“œ ๋Œ€์‹  ์ŒํŒŒ ํ†ต์‹ ์œผ๋กœ ์ฒดํฌ์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค

Aplikasi Deteksi Dini Covid-19 dengan rekaman batuk yang dikembangkan oleh tim CSD-123 dari Dicoding Academy

Decotuk_app Sebuah Aplikasi Deteksi Dini Covid-19 dengan rekaman batuk yang dikembangkan oleh tim CSD-123 dari Dicoding Academy, Aplikasi ini dibangun

Covid-19 Tracking application
Covid-19 Tracking application

Covid-19 Covid-19 Tracking application An open-source Android COVID-19 tracking app built using core UI components from the Robinhood stock trading ap

Covidapp - The COVID-19 crisis and social distancing had a significant impact on our lives
Covidapp - The COVID-19 crisis and social distancing had a significant impact on our lives

Covid App The COVID-19 crisis and social distancing had a significant impact on

Veyron - Covid 19 analysis using OWID data

veyron Covid 19 & Vaccine history representation by country. The app was designe

Covid Tracker - Show Details of Corona virus cases of all affected country

Covid_Tracker Based on MVVM Architecture Show Details of Corona virus cases of a

A Shopping cart library for Android that allows you add to add items to cart and retrieve at ease using JSONObjects.

Carteasy A Shopping cart library for Android that allows you add to add items to cart and retrieve at ease using JSONObjects. Quick Start Add the foll

Run shell commands from a Kotlin script or application with ease
Run shell commands from a Kotlin script or application with ease

Run shell commands from a Kotlin script or application with ease. Turtle simplifies the process of running external commands and processes from your K

Android library that manages your app's cached data with ease.
Android library that manages your app's cached data with ease.

Teller Android library that makes your apps faster. Teller facilitates the downloading, saving, and reading of the cached data of your app. Keep your

Owner
Android Developer | UX/UI Designer
null
EU Digital COVID Certificate Wallet App - Android

This repository contains the source code of the EU Digital COVID Certificate Wallet App for Android.

null 57 Oct 6, 2022
An android app that displays statistics about covid-19 vaccinations and enables the user to make a dummy appointment.

AndroidApp An android app that displays statistics about covid-19 statistics and enables the user to make a dummy appointment. This a simple android a

Thodoris Kanellopoulos 7 Oct 2, 2022
Tutorial Membuat Aplikasi Pencarian Rumah Sakit Khusus COVID-19 dengan Android Studio

Hospital-Covid-19 Tutorial Membuat Aplikasi Pencarian Rumah Sakit Khusus COVID-19 dengan Android Studio Data ini diambil dari API https://github.com/s

Azhar Rivaldi 7 Aug 23, 2022
COVID-19 Check-in solution for store using a safe number based on MVVM model.

wave-in-listener English version : README_EN.md wave-in-listener ๋Š” ๋งค์žฅ์— ๋ฐฉ๋ฌธํ•œ ๊ณ ๊ฐ์˜ ๊ฐœ์ธ์•ˆ์‹ฌ๋ฒˆํ˜ธ๋ฅผ ์ŒํŒŒํ†ต์‹ ์„ ์ด์šฉํ•ด ์ˆ˜์‹ ํ•  ์ˆ˜ ์žˆ๋Š” ์•ฑ์ž…๋‹ˆ๋‹ค. ์ด ์•ฑ์€ wave-in-speaker ์•ฑ๊ณผ ํ•จ๊ป˜ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค. wave

Euphony 14 Jul 25, 2022
COVID-19 Check-in solution using a safe number based on MVVM model.

wave-in-speaker wave-in-speaker๋Š” ๋ฐฉ๋ฌธํ•˜๋Š” ๊ณต๊ฐ„์— ์ „์ž์ถœ์ž…๋ช…๋ถ€๋ฅผ ์‰ฝ๊ฒŒ ๋‚จ๊ธฐ๋„๋ก ๋„์™€์ฃผ๋Š” ์•ฑ์ด๋ฉฐ ํŠนํžˆ ์ฝ”๋กœ๋‚˜ ๋ฐ”์ด๋Ÿฌ์Šค ๊ฐ์—ผ์ฆ(COVID-19) ๊ธฐ๊ฐ„๋™์•ˆ ํšจ๊ณผ์ ์œผ๋กœ ์‚ฌ์šฉ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. ์ด ์•ฑ์„ ์‚ฌ์šฉํ•˜๋ฉด QR์ฝ”๋“œ ๋Œ€์‹  ์ŒํŒŒ ํ†ต์‹ ์œผ๋กœ ์ฒดํฌ์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค

Euphony 15 Oct 15, 2022
Aplikasi Deteksi Dini Covid-19 dengan rekaman batuk yang dikembangkan oleh tim CSD-123 dari Dicoding Academy

Decotuk_app Sebuah Aplikasi Deteksi Dini Covid-19 dengan rekaman batuk yang dikembangkan oleh tim CSD-123 dari Dicoding Academy, Aplikasi ini dibangun

Muhammad Khaidar Rahman 2 Mar 15, 2022
Covid-19 Tracking application

Covid-19 Covid-19 Tracking application An open-source Android COVID-19 tracking app built using core UI components from the Robinhood stock trading ap

null 1 Dec 29, 2021
Covidapp - The COVID-19 crisis and social distancing had a significant impact on our lives

Covid App The COVID-19 crisis and social distancing had a significant impact on

Abhinav 1 Jan 10, 2022
Veyron - Covid 19 analysis using OWID data

veyron Covid 19 & Vaccine history representation by country. The app was designe

Nino Matassa 0 Feb 10, 2022