(C) PLOS One [1]. This unaltered content originally appeared in journals.plosone.org.
Licensed under Creative Commons Attribution (CC BY) license.
url:https://journals.plos.org/plosone/s/licenses-and-copyright

------------



Mobile microscopy and telemedicine platform assisted by deep learning for the quantification of Trichuris trichiura infection

['Elena Dacal', 'Spotlab', 'Madrid', 'David Bermejo-Peláez', 'Lin Lin', 'Biomedical Image Technologies', 'Etsi Telecomunicación', 'Universidad Politécnica De Madrid', 'Elisa Álamo', 'Daniel Cuadrado']

Date: 2021-09

Abstract Soil-transmitted helminths (STH) are the most prevalent pathogens among the group of neglected tropical diseases (NTDs). The Kato-Katz technique is the diagnosis method recommended by the World Health Organization (WHO) although it often presents a decreased sensitivity in low transmission settings and it is labour intensive. Visual reading of Kato-Katz preparations requires the samples to be analyzed in a short period of time since its preparation. Digitizing the samples could provide a solution which allows to store the samples in a digital database and perform remote analysis. Artificial intelligence (AI) methods based on digitized samples can support diagnosis by performing an objective and automatic quantification of disease infection. In this work, we propose an end-to-end pipeline for microscopy image digitization and automatic analysis of digitized images of STH. Our solution includes (a) a digitization system based on a mobile app that digitizes microscope samples using a 3D printed microscope adapter, (b) a telemedicine platform for remote analysis and labelling, and (c) novel deep learning algorithms for automatic assessment and quantification of parasitological infections by STH. The deep learning algorithm has been trained and tested on 51 slides of stool samples containing 949 Trichuris spp. eggs from 6 different subjects. The algorithm evaluation was performed using a cross-validation strategy, obtaining a mean precision of 98.44% and a mean recall of 80.94%. The results also proved the potential of generalization capability of the method at identifying different types of helminth eggs. Additionally, the AI-assisted quantification of STH based on digitized samples has been compared to the one performed using conventional microscopy, showing a good agreement between measurements. In conclusion, this work has presented a comprehensive pipeline using smartphone-assisted microscopy. It is integrated with a telemedicine platform for automatic image analysis and quantification of STH infection using AI models.

Author summary Soil-transmitted helminths (STH), including hookworm, Ascaris lumbricoides and Trichuris trichiura, are common intestinal infections in low-income countries. Global estimates indicate that more than 1.5 billion people are infected with at least one STH species. They cause anaemia, gastro-intestinal problems, tiredness amongst other symptoms. Diagnosis of STH infection is mainly performed by analyzing stool samples under the microscope using the so-called Kato-Katz technique. However, the analysis of Kato-Katz samples, which is usually performed by microscopy experts, is a subjective procedure based on visual inspection of the samples and requires to be done in a short period of time since the sample preparation. In this work we proposed a novel system to digitize the microscopy samples using an affordable 3D-printed adapter and smartphones. Digitized images were uploaded to a telemedicine platform enabling remote diagnosis. Additionally, the digitized images were automatically analyzed by an Artificial Intelligence (AI) algorithm which was fully-integrated in the telemedicine platform, performing an automatic and objective count of different types of STH parasites (A. lumbricoides and T. trichiura).

Citation: Dacal E, Bermejo-Peláez D, Lin L, Álamo E, Cuadrado D, Martínez Á, et al. (2021) Mobile microscopy and telemedicine platform assisted by deep learning for the quantification of Trichuris trichiura infection. PLoS Negl Trop Dis 15(9): e0009677. https://doi.org/10.1371/journal.pntd.0009677 Editor: Peter Steinmann, Swiss Tropical and Public Health Institute, SWITZERLAND Received: January 2, 2021; Accepted: July 21, 2021; Published: September 7, 2021 Copyright: © 2021 Dacal et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Data Availability: All relevant data are within the manuscript. Funding: This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 881062 (MLO). LL was supported by a predoctoral grant IND2019/TIC-17167 (Comunidad de Madrid). SK was supported by a postdoctoral training fellowship from THRiVE (Training Health Researchers into Vocational Excellence in East Africa) consortium, which is funded by the Wellcome Trust. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. Competing interests: ED, DBP, LL, EA, DC, AMa, AMo, MP, AS, ES, AV and MLO work for Spotlab. The rest of the authors declare no competing interests.

1. Introduction Soil-transmitted helminths (STH), which include hookworms (Ancylostoma duodenale and Necator americanus), roundworm (Ascaris lumbricoides), and whipworm (Trichuris trichiura) are the most prevalent pathogens among the group of neglected tropical diseases (NTDs) and occur predominantly in low- and middle-income tropical and subtropical countries [1]. Globally STH affects more than 1.5 billion people, causing a loss of more than 3 million disability adjusted life years (DALYs) [2]. The World Health Organization (WHO) 2030 Roadmap for NTDs set out strategies for STH control that focused on the elimination of the disease caused by these parasites as a public health problem [3]. In many endemic countries, the STH control strategy is implemented through targeted mass drug administration (MDA), using the anthelmintic drugs benzimidazole (BZ), albendazole, or mebendazole [4]. The diagnostic method recommended by WHO is Kato-Katz, a laboratory method for preparing human stool samples in a microscope smear using a small spatula and slide template. It allows a standardized amount of faeces to be examined under a microscope and quantify STH infection [5,6]. Kato-Katz is generally more sensitive than other microscopic methods such as McMaster, formol-ether concentration, and direct microscopy in high transmission settings, and it requires limited equipment and is easy to perform in low resource settings [7]. However, it often presents a decreased sensitivity in low-transmission settings. One of the main disadvantages of the Kato-Katz technique is the necessity to read samples within 30 minutes from preparation as eggs tend to disappear or hatch, specially those of hookworms, and thus considerably reducing the sensitivity of this technique and even highly trained microscopists can misidentify species or give inconsistent results [8,9]. Digitizing the samples at the right time (within 30 to 60 minutes after slide preparation) could provide a solution that allows digital storage of the sample images and further analysis at any moment in time. Different digitization devices have been tested allowing remote diagnosis and second opinion [10]. Additionally, during the last years, the potential of the use of smartphones in the diagnosis of parasitic diseases has been highlighted, and there have been proposed smartphone-assisted systems for microscopy [11]. A further step that could increase performance and remove subjectivity of microscopic techniques is the possibility of implementing artificial intelligence (AI) algorithms for the automatic detection and quantification of these parasites on digitized image samples. This would be a major advance in the diagnosis and control of these diseases and its implementation would not disrupt the laboratories normal workflow since the basis of diagnosis is still microscopy and the technique used is the Kato-Katz. AI-based technologies are rapidly evolving into applicable medical solutions and are actually revolutionizing the field [12]. However, only a few studies have made effort to meet rigorous standards to be approved by regulatory institutions such as the Food and Drug Administration (FDA) [13]. Most of these approved technologies were developed for the fields of radiology, cardiology, and internal medicine. However, AI systems also have the potential to be applied to enable a rapid and objective diagnosis of NTDs and to enable the delivery of public health in low- and middle-income countries. In this context, a special effort has to be made for the application of AI methods in such diseases as has been recommended by the WHO [14]. Several approaches for computer-aided analysis of helminth eggs detection and classification using AI have been investigated in the last few years. Alva et al. proposed the use of hand-crafted features along with a multivariate logistic regression for intestinal parasites classification [15]. Image analysis techniques based on morphological operations have also been proposed to identify pathogenic helminth eggs, although their authors found limitations in their use in samples with very high solids content due to the large amount of debris and objects that interfere with the precise identification of eggs [16]. Another notable recent deep learning-based approach used a large fecal database with over 1122 patients including 22440 images for the identification of visible components in faeces, including blood and epithelial cells, as well as STH eggs, proposing the so-called FecalNet [17]. This work proved the potential of using these methods for the automatic analysis of stool samples using conventional microscopy images. Holmstrom et al. proposed to acquire microscopy images with a portable scan connected to a laptop and used a two-stage sequential algorithm where candidates previously proposed by the first algorithm are classified as any type of helminth egg, and obtained promising results despite their limited number of training samples [18]. The use of deep learning-based object detection methods for automatic analysis and detection of helminth eggs in images acquired with smartphone-compatible microscopy attachments has already been tested [19]. This work achieved sensitivity comparable to standard microscopy when detecting Ascaris spp. but showed low performance in the identification of Trichuris spp. This is probably caused by the use of a cheap smartphone-compatible microscopy attachment (a magnification endoscope; USB Video Class, UVC) where the light source comes from the same direction as the camera. This produces images with insufficient quality specially for Trichuris spp. which have thinner and more translucent membranes. Previous approaches might disrupt the usual laboratory workflow as they do not use conventional microscopes. The objective of this study is to propose and develop an end-to-end system for remote and automatic detection and quantification of STH primarily for the detection of T. trichiura, based on digitized microscopy images acquired with a 3D printed adapter together with a smartphone and AI methods.

2. Materials and methods 2.1. Ethics statement Ethical approval was obtained from the Kenya Medical Research Institute (KEMRI) Ethics Review Committee (SERU 3873). Prior to enrolment, written informed consent was obtained from all participating individuals and parents/guardians of children, all individual adults in the households and assent from children aged 13 years and above. All the individuals found positive for STH were treated with albendazole by community health workers. 2.2. Data and samples In this work, we present a complete end-to-end pipeline from stool sample collection to automatic analysis of the samples for the identification of STH parasites. Fig 1 schematizes the proposed end-to-end workflow, where samples collected and prepared from different subjects were digitized and uploaded to a telemedicine platform for remote analysis. Additionally, the digitized samples were labelled using the telemedicine platform and used for training AI algorithms in order to perform an automatic analysis for future incoming digitized samples. All the prepared samples were also analyzed during the process using conventional microscopy methods for comparison purposes. PPT PowerPoint slide

PNG larger image

TIFF original image Download: Fig 1. Schematic representation of study design and experimental workflow. https://doi.org/10.1371/journal.pntd.0009677.g001 Stool was collected from study participants from Kwale county (south coast of Kenya) who were part of a follow-up study related to exploring the presence of T. trichiura infection. All stool samples were transferred to the laboratory within four hours after collection and processed using the Kato-Katz thick smear method (using a template that allows one to put 41.7 mg of stool sample on the slide) and analyzed by conventional microscopy on the same day to identify and quantify the presence of STH eggs. This analysis was carried out by a total of 3 independent technicians and all samples were analyzed by at least two of them. We digitized using the proposed digitization pipeline samples from 12 subjects (6 positive and 6 negatives). These digitized samples were used for the evaluation of the remote analysis system, as well as to train and evaluate the AI algorithm. From the 6 positive subjects, 5 were only positive for Trichuris spp. and one was co-infected by Trichuris spp. and Ascaris spp. For each positive stool sample, 7 slides were prepared, while for negative stool samples 1 or 2 slides were prepared. 2.3 Digitization pipeline of clinical samples The proposed digitization system uses a 3D printed device that allows coupling a mobile phone with a conventional optical microscope by aligning the smartphone camera with the objective of the microscope to acquire images. This adapter (approximately 0.5 kg, with a compact design measuring 31x16x12 cm) has the potential to convert any conventional microscope into a digital microscope. It should be noted that the working method when using the adapter remains the same as in the conventional way, and the user still needs to move the microscope eyepiece navigating through the sample. The smartphone, which is placed in the adapter, uses an Android mobile app specifically developed and customized for fast and easy digitization and sharing of digitized microscopy images (Fig 2A). 51 Kato-Katz slides were digitized with a 10x objective (100x total magnification) using two different smartphone models (Xiaomi Pocophone F1 and Bq Aquaris X2) by attaching the 3D printed device to the ocular of a conventional light microscope (Leica DM-2000). It should be noted that we used two different smartphone models during the digitization process in order to introduce potential variability in our image database due to the use of different devices. All microscopy fields in which helminth eggs were present or suspected were digitized. In addition, visually confirmed negative images were also acquired for both positive and negative subjects. Images were acquired in the JPG format with a resolution of 12 Mpx through the mobile application. PPT PowerPoint slide

PNG larger image

TIFF original image Download: Fig 2. (A) 3D-printed adapter used for attaching a smartphone to a conventional microscope and digitizing samples through a mobile app. (B) Telemedicine web platform for viewing and remote analysis of the digitized samples performing a manual annotation. Note: The web platform in Fig 2B has been developed by the authors. https://doi.org/10.1371/journal.pntd.0009677.g002 2.4. Telemedicine platform for remote analysis All acquired images were transferred from the smartphone to a telemedicine platform via the mobile network, where the images are stored and presented in an easy-to-use dashboard that allows their visualization, management, and labelling (see Fig 2B). In this web platform, standard clinical and analysis protocols were translated into digital tasks that were adapted to the clinical case and disease under study (see the analysis panel shown in the left part of the screenshot presented in Fig 2B). All acquired images were labelled through the telemedicine platform by one expert using a customized procedure for analysing stool samples which allows to tag parasites that can be seen in the images and thus quantify parasitic infection. The annotation protocol was based on the placement of bounding boxes around the identified parasites. The image database, together with the label data, can be accessed by other professionals and coupled with other support platforms for diagnostic assistance. 2.5. Artificial intelligence algorithm 2.5.1. Network architecture. The proposed approach for helminth eggs identification relies on a detection algorithm based on Convolutional Neural Networks (CNN). Most CNN-based detection algorithms are designed to perform at the same time both the object localization task, which determines where objects are located in a given image, and the object classification task, which determines which particular category each previously located object belongs to. In this paper, Single-Shot Detection (SSD) architecture [20] together with the backbone MobileNet network [21] for feature extraction were used. Our choice to use a SSD-MobileNet architecture is mainly due to the relative simplicity of the architectures which are specially designed to be easily integrated into embedded vision applications in an efficient way. The model was initialized with pretrained weights on the COCO Image database [22]. We used the RMSprop optimizer with an exponential decay learning rate to minimize the total loss function, which was calculated as the sum of a sigmoid cross entropy loss for object classification and smooth L1 loss for object localization. We also employed early stopping technique, where the training finishes before overfitting begins by stopping the training process when the error on the validation set does not decrease for a predefined number of steps. 2.5.2 Training dataset generation. The training dataset was generated by extracting 512x512 pixels image patches around the location of labels which were placed manually by the experts on helminths. The size of the image patches was selected based on a balance between the relative size of the objects in relation to the size of the image patches and the computational cost needed at inference time, as a small size of image patches increases the number of patches to be processed at test time using the sliding window procedure (see Section 3.3.4). Additionally, and for the purpose of augmenting the size of the training dataset, we randomly selected 512x512 pixels image patches around the manually placed bounding boxes multiple times, always ensuring that all labeled objects were fully covered. This was done so that each object could appear in different locations within the image patch, and different context environments were captured. Moreover, additional augmentation was conducted by applying on-the-fly random flip and rotation transformations during training. The framework used for training the proposed method was based on Tensorflow Object Detection API using a cloud computing environment with a GPU Nvidia Tesla K80 12GB. The time required to train the algorithm using the described hardware was approximately 3 hours.

4. Discussion and conclusions In this work, we present an end-to-end pipeline for microscopy image digitization and remote analysis together with novel deep learning algorithms for automatic assessment and quantification of parasitological infections by STH, mainly focused on the identification of Trichuris spp. eggs. Microscopy remains the most widely used technique to complete a diagnosis of any of the NTDs, including STH which is one among the most prevalent diseases among this group. However, visual diagnosis based on conventional microscopy is a subjective procedure and requires specialised experts in the work field. Unfortunately, the density of health workers in STH-endemic areas is very low [24]. Taking into account these limited resources together with the highly elevated number of patients in these areas, it is clear that the use of digital microscopes together with AI algorithms for remote and automatic diagnosis of STH could constitute an advantageous tool. Although some systems have been previously proposed for the digitization of STH images, they require special hardware that has not been specifically designed for acquiring microscopy images [17] or could disrupt the usual laboratory workflow since they do not leverage conventional microscopes, making it more complex to follow standard microscope diagnostic protocols [16]. Our 3D printed digitization and image acquisition device was specially designed not to alter the daily routine in microscopy diagnosis laboratories. Additionally, the access to primary care centers in high endemic areas of STH may be limited, entailing a high need for fieldwork to bring the diagnosis closer to remote areas. In this context, we designed a completely portable device with reduced weight and size that can be attached to any existing conventional microscope, enabling digital diagnosis in those areas. In this work, we proposed the first complete pipeline from image digitization using smartphone technology to remote analysis assisted by AI methods. The acquisition and digitization of the images were performed in a standardized manner and using a controlled procedure using a customized app which is directly linked to a telemedicine platform where the images were manually analyzed and tagged enabling the training of AI algorithms. The quality of the ground truth generated by annotating the digitized samples in a remote manner was evaluated and compared to the analysis based on conventional microscopy. The results showed good agreement and minimal differences between the resulting egg quantification using both methods (R-squared of 0.95) and ensured enough ground truth quality to train AI models. Particularly, the proposed deep learning-based algorithm enables an automatic and objective identification of STH eggs. The method, which was trained and validated using a cross-validation scheme, achieved a relatively high precision and recall results (98,44% and 80,94% respectively) for the identification and classification of Trichuris spp. eggs. The results validated the use of the proposed deep learning algorithms for the automatic identification of STH eggs. We also wanted to compare the results with those obtained with more complex and deeper network architectures, and the results proved that the proposed relatively simple architecture considerably reduces computational cost while maintaining similar results. Additionally, the results obtained suggest that remote and AI-assisted analysis of digitized images of Kato-Katz samples allows to detect in mean more eggs compared to the count using the conventional procedure, since the analysis can be performed in a more exhaustive manner. Moreover, these tools would potentially be useful for other use cases such as the evaluation of the effectiveness of MDA programmes. For further validation and to illustrate the generalization capability of the method at identifying other helminth eggs than Trichuris spp., we extended the analysis by training the algorithm including positive samples for both Trichuris spp. and Ascaris spp. coming from a co-infected subject. The results (mean precision of 94,66% and mean recall of 93,08%) showed that the proposed method can be extended for the detection of different STH eggs, although further validation work should be done in this direction. It should be noted that the main limitation of this work may be caused by the relatively scarce number of considered subjects. This should be contemplated in future works in order to increase the variability regarding STH morphology and stage, appearance and aspect of the Kato-Katz samples and the inclusion of other species of STH (i.e. hookworm). Finally, we proposed an operational implementation which allows to integrate the AI algorithm on both the remote analysis platform and the digitization mobile app, opening a simple but potentially revolutionary use of the method on demand by invoking it through the telemedicine platform or in real time during image digitization with the mobile app. Next steps to scale the proposed system in the field require the undertaking of a large-scale clinical performance evaluation study to validate the entire pipeline and demonstrate its applicability where real-time diagnosis is required. Although effective and accurate molecular tools for the diagnosis of NTDs such as STH have been proposed, which are already implemented in developed countries [25], they may not be accessible in low- and middle-income countries. These molecular techniques, such as quantitative PCR, require expensive equipment and very well-trained specialists. In order to achieve the goal established in the WHO 2030 roadmap [3], it is essential to have an effective and standardized diagnosis to accelerate the NTDs elimination. In this context, the proposed solution could reduce time, distances, and expertise needed for microscopic analysis of helminth samples and therefore help to make accurate STH diagnosis accessible.

[END]

[1] Url: https://journals.plos.org/plosntds/article?id=10.1371/journal.pntd.0009677

(C) Plos One. "Accelerating the publication of peer-reviewed science."
Licensed under Creative Commons Attribution (CC BY 4.0)
URL: https://creativecommons.org/licenses/by/4.0/


via Magical.Fish Gopher News Feeds:
gopher://magical.fish/1/feeds/news/plosone/