FecalNet: Automated detection of visible components in human feces using deep learning

Med Phys. 2020 Sep;47(9):4212-4222. doi: 10.1002/mp.14352. Epub 2020 Jul 18.

Abstract

Purpose: To automate the detection and identification of visible components in feces for early diagnosis of gastrointestinal diseases, we propose FecalNet, a method using multiple deep neural networks.

Methods: FecalNet uses the ResNet152 residual network to extract and learn the characteristics of visible components in fecal microscopic images, acquire feature maps in combination with the feature pyramid network, apply the full convolutional network to classify and locate the fecal components, and implement the improved focal loss function to reoptimize the classification results. This allowed the complete automation of the detection and identification of the visible components in feces.

Results: We validated this method using a fecal database of 1,122 patients. The results indicated a mean average precision (mAP) of 92.16% and an average recall (AR) of 93.56%. The average precision (AP) and AR of erythrocyte, leukocyte, intestinal mucosal epithelial cells, hookworm eggs, ascarid eggs, and whipworm eggs were 92.82% and 93.38%, 93.99% and 96.11%, 90.71% and 92.41%, 89.95% and 93.88%, 96.90% and 91.21%, and 88.61% and 94.37%, respectively. The average times required by the GPU and the CPU to analyze a fecal microscopic image are approximately 0.14 and 1.02 s, respectively.

Conclusion: FecalNet can automate the detection and identification of visible components in feces. It also provides a detection and identification framework for detecting several other types of cells in clinical practice.

Keywords: Fecal components; FecalNet; automatic identification; deep learning; neural network.

MeSH terms

  • Deep Learning*
  • Feces
  • Humans
  • Leukocytes
  • Microscopy
  • Neural Networks, Computer