PLoS Computational Biology (Nov 2023)

Label-free deep learning-based species classification of bacteria imaged by phase-contrast microscopy.

  • Erik Hallström,
  • Vinodh Kandavalli,
  • Petter Ranefall,
  • Johan Elf,
  • Carolina Wählby

DOI
https://doi.org/10.1371/journal.pcbi.1011181
Journal volume & issue
Vol. 19, no. 11
p. e1011181

Abstract

Read online

Reliable detection and classification of bacteria and other pathogens in the human body, animals, food, and water is crucial for improving and safeguarding public health. For instance, identifying the species and its antibiotic susceptibility is vital for effective bacterial infection treatment. Here we show that phase contrast time-lapse microscopy combined with deep learning is sufficient to classify four species of bacteria relevant to human health. The classification is performed on living bacteria and does not require fixation or staining, meaning that the bacterial species can be determined as the bacteria reproduce in a microfluidic device, enabling parallel determination of susceptibility to antibiotics. We assess the performance of convolutional neural networks and vision transformers, where the best model attained a class-average accuracy exceeding 98%. Our successful proof-of-principle results suggest that the methods should be challenged with data covering more species and clinically relevant isolates for future clinical use.