Related Experiment Video
Updated: Apr 27, 2026

Assisted Selection of Biomarkers by Linear Discriminant Analysis Effect Size LEfSe in Microbiome Data
Published on: May 16, 2022
Using color histograms and SPA-LDA to classify bacteria
Valber Elias de Almeida1, Gean Bezerra da Costa, David Douglas de Sousa Fernandes
1Centro de Ciência e Tecnologia, Laboratório de Química Analítica e Quimiometria (LQAQ), Universidade Estadual da Paraíba, CEP 58.429-500, Campina Grande, Paraíba, Brazil.
This study introduces a novel webcam-based method for bacterial identification using digital images and the Successive Projections Algorithm with Linear Discriminant Analysis (SPA-LDA). It offers a faster, simpler, and low-cost alternative to traditional methods.
Area of Science:
- Microbiology
- Computational Biology
- Image Analysis
Background:
- Traditional bacterial identification relies on time-consuming phenotypic methods like Gram staining and biochemical tests.
- Accurate and rapid bacterial identification is crucial for effective clinical diagnostics and treatment.
Purpose of the Study:
- To develop and validate a novel, rapid, and cost-effective method for differentiating five key bacterial species using digital imaging.
- To evaluate the efficacy of the Successive Projections Algorithm with Linear Discriminant Analysis (SPA-LDA) combined with color histogram features for bacterial classification.
Main Methods:
- Five bacterial strains (Escherichia coli, Enterococcus faecalis, Streptococcus salivarius, Streptococcus oralis, Staphylococcus aureus) were cultivated on blood agar.
- Digital images were captured using a standard webcam, and color histograms (RGB, HSV, grayscale) were extracted as features.
- Multivariate classifiers, including SPA-LDA, were employed to analyze the image data for bacterial differentiation.
Main Results:
- The combination of Red-Green-Blue (RGB) color histograms and SPA-LDA achieved high classification accuracy.
- The method demonstrated 94% accuracy on the training set and 100% accuracy on the test set.
- This approach successfully differentiated the five bacterial species based on their digital image characteristics.
Conclusions:
- The proposed webcam-based image analysis method using SPA-LDA offers a promising, simplified, and rapid alternative for bacterial identification.
- This technique can potentially replace conventional, labor-intensive methods in routine clinical settings.
- The study highlights the potential of low-cost digital imaging combined with advanced algorithms for microbial diagnostics.
Related Concept Videos
Methods of Classification and Identification
Modern Molecular Taxonomy
Differential Staining Technique
Special Staining Techniques
Applications of Molecular Taxonomy
Methods to Assess Microbial Populations

