CT-SCAN

Instructions:

Kindly select an Image

placeholder

Scan Result Value
loader

Confidence Percentile
loader

Scan Result Deduction
loader

Disclaimer:

  1. COVID-19 Ct-Scan detector is in experiment phase to help fast detection of COVID-19 but the output result can't be considered yet as final confirmed result. Medical reference is the final trusted reference for result confirmation.
  2. You are welcome to challenge the AI with other than ct scan images. but the expected result will probably be always 1, as an unrecognized image were the model is train and recognize ct scan images only.
  3. We appreciate your support and feedback of confirming the result to help us develop the AI.

Summary

First we prepare the data following below steps:

  1. Import COVID-19/Non_COVID-19 images files names into a train DataFrame with their labels. Then coping the last rows for testing DataFrame and delete them from the train df.
  2. Shuffle training dfs, converting each to tensors and join all three train dfs into one big train df shape (3456, 256, 256, 3), and test (700)
  3. Apply Data Augmentation (random rotation, shift, flip, zoom, shear transforms) on all three datasets images generating new 2000 images for generalizing the model as much as possible.
  4. Join new images' dataset, after importing them to df and convert to tensors. the final training/testing dfs (5535, 256, 256, 3) ,and testing (1100, 256, 256, 3).
  5. Import pretrained model “EfficientNetB6” from tensorflow.keras.applications and add our input shape (256,256,3), full connected layers (2048, 512,128) with ReLu as activation function, plus BatchNormalization with dropout (0.1 or 0.2) methods each. Finally, output layer for 2 classes with softmax as activation functions.
  6. Train the data and save the weights for best max val_accurecy or min loss metrics.
  7. Fine tune the model with extra very low learning rate for the optimization function.
  8. Test the result and achieve high accuracy 91% on the testing 1100 images.