Tuberculosis MODS Image Diagnosis - Test

Best regards. Here I enable an online tuberculosis diagnosis using the Microscopic observation drug susceptibility (MODS)  assay [1]. This tool has been developed using Convolutional Neural Networks , with 15 layers. The performance this model got:
  • Dev set.- Images: 256, specificity: 0.8828, sensitiviy: 0.7969, accuracy: 0.8398.
  • Test-set: Images 5104, specificity: 0.5329, sensitivity: 0.9510, accuracy: 0.7420
This is a test example to put future models online. This is part of the work being developed at Cayetano Heredia Peruvian Univeristy, R&D Laboratories, Bioinformatics and Molecular Biology laboratory. This is not the best performance achieved though.

This tool will classify a MODS image into positive or negative and will show the score for this selection. 


The backend is hosted in heroku with a free plan so it might be slow, have failures of communication and might really take a long time for the first run after a long period of time.

How to use this tool

  1. First check if there is connectivity with the server by pressing the button Send test data to server this will send a small amount of data to the server and if it is UP you will receive a message Test data received 200. If it remains in Sending test data for a long time, open the web developer console to see if there is any errors, this is a tool in your web browser, if it results too complicated try again later maybe the server is busy or I am doing some maintenance. 
  2. Once you have validated that the server is running, upload an image and then press Send Image for processing. This is might take a while, 1 to 2 minutes, if it is taking too long repeat the step 1 to see if you may lose communication with the server.
Some notes: The model was trained with 256x256 images, so this interface will reshape your image to this dimensions. In the best case try to upload images with same width and length. 

The tool


Send image for processing
Send test data to server

References


 [1] D. A. J. Moore et al., “Microscopic observation drug susceptibility assay, a rapid, reliable diagnostic test for multidrug-resistant tuberculosis suitable for use in resource-poor settings,” J. Clin. Microbiol., vol. 42, no. 10, pp. 4432–4437, Oct. 2004.


Comentarios

Entradas populares de este blog

Image segmentation by color mean and standard deviation

Tensorflow Batch norm not working

Google Chart Sankey Diagram online for non software developers