Introduction
– Capsule endoscopy (CE) is a minimally invasive exam for evaluating the gastrointestinal tract. However, it’s diagnostic yield for detecting gastric lesions is suboptimal. Convolutional Neural Networks (CNN) are artificial intelligence models with great performance for image analysis. Nonetheless, their role in gastric evaluation by wireless CE (WCE) has not been explored.
Methods
– Our group developed a CNN-based algorithm for the automatic classification of pleomorphic gastric lesions, including vascular lesions (angiectasia, varices and red spots), protruding lesions, ulcers and erosions. 12918 gastric images from three different CE devices (PillCam Crohn’s; PillCam SB3; OMOM HD capsule endoscopy system) were used from the construction of the CNN: 1407 from protruding lesions; 994 from ulcers and erosions; 822 from vascular lesions and 2851 from hematic residues, the remaining images from normal mucosa. The images were divided in a training (split for 3-fold cross validation) and validation dataset. The model’s output was compared to a consensus classification by two WCE experienced gastroenterologists. The networks’ performance was evaluated by its sensitivity, specificity, accuracy, positive predictive (PPV) and negative predictive values (NPV), and area under the precision-recall curve (AUPRC).
Results
– The trained CNN had a 97.4% sensitivity, 95.9% specificity, PPV and NPV of 95.0% and 97.8% for gastric lesions, with 96.6% overall accuracy. The CNN had an image processing time of 115 images per second.
Conclusions
– Our group developed, for the first time, a CNN capable of automatically detecting pleomorphic gastric lesions in both small bowel and colon capsule endoscopy devices.