Skip to content

RajenRanjithkumar/Covid19_Detection

Repository files navigation

COVID-19 Detector

An Android application that predicts the presence of COVID-19 from Chest X-rays using deep convolution neural networks. A complex well-trained 20 layer CNN model that classifies Covid X-rays from the normal ones is integrated into the App. The developed app takes Name, phone number and Chest X-Rays image as inputs. Before predicting an output, the App checks if the given image is a chest X-ray or not, and a lite weight CNN model for that is also integrated into the App. This App also uses the firebase database as a backend to store and fetch all the users details and the CNN model’s prediction in real-time. Once the model generates the prediction (Covid/Normal), the App send an SMS along with the model result to the user’s registered phone number.


version platform language open_source License
Twitter Badge Linkedin Badge

Table of Contents 🔰

⚙️ Manifest

   app (folder) ----------------> Contains all the Source code of the Covid Detector App
   Covid_CNN_Model (folder) ----> Contains all the Source code of the trained 20 CNN Image classification model

📸 Screenshots

Splashscreen Layout

Homescreen Layout

Crop Layout

Display progress bar


Model Output Layout

Patients List Layout

Searchable List

Model Metrics Layout

📝 Installation

  • For easy APK installation, you can download the APK file of Covid Detetor app from here and install it on your Android smartphone.
    or
  • To Clone the project,
    1. Download and install Android Studio.
    2. After installing, from the Android Studio's Toolbar, Select File > New > Project Version Control

    3. Paste the repositorie's url (https://github.com/ranjithbing/Covid19_Detection.git) under the URL input field and click on the Clone button to clone the project successfully.

    4. If you want to change the projects Package names, You can check here on how to do that (Optional).
    5. If you want to change the database with your own Firebase account, You can check here on how to do that (Optional).
  • To generate the APK from the cloned project,
    1. Select Build > Build Bundles(s)/APK(s) > Build APK(s) from the Android Studio's Toolbar

⚡ Usage

  • For testing the app, Download the sample chest X-rays images from here first.
  • Click here to Download the App.
  • After Installing it, open the app on your Android smartphone where App's home screen will be displyed by default.
  • Enter the Name and Phone number on the respective input fields.
  • After that, Click on the Pick X-ray button to select a chest X-ray image from your smartphone's local storage.
  • You can crop the selected selected X-ray image as per you need.
  • Finally, Click on the Predict button to get the prediction from the trained CNN Covid19 model.
  • For Navigation, You can use the app's Bottom Navigation Bar to navigate throughout the app.
  • You can also use the App's 🔍Search Bar to locate your record.

☕ Support

Contact: 📧 Email me for any other queries.

🎯 Road-map

In future,

  • The Integrated CNN classifier will be trained with more Covid chest X-ray datasets to make the app even more reliable.
  • User Login/Sign_up layout with 2 step-verification will be developed for the app, so that users can have their own set of patients record.
  • Sort feature will be developed for the patient's list.
  • Contextual Menu for deleting multiple patient's record at once will be developed.
  • Local Imaging caching feature will be implemented to load the patient's X-ray images quicker.

📜 License

This project is licensed under the Apache Software License, Version 2.0.

   Copyright 2021 Ranjithkumar Rajendran

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

See LICENSE for the full license.

📋 Project Status

  • Currently, I am working on some additional features for the App.
  • You're always welcome to contribute to this project.