journal article·2026-01-28Open access

Bacterial Colony Counting and Classification System Based on Deep Learning Model

Chuchart Pintavirooj, Manao Bunkum, Naphatsawan Vongmanee, Jindapa Nampeng, Sarinporn Visitsattapongse

Applied Sciences· Volume 16· Issue 3

Abstract

Microbiological analysis is crucial for identifying species, assessing infections, and diagnosing infectious diseases, thereby supporting both research studies and medical diagnosis. In response to these needs, accurate and efficient identification of bacterial colonies is essential. Conventionally, this process is performed through manual counting and visual inspection of colonies on agar plates. However, this approach is prone to several limitations arising from human error and external factors such as lighting conditions, surface reflections, and image resolution. To overcome these limitations, an automated bacterial colony counting and classification system was developed by integrating a custom-designed imaging device with advanced deep learning models. The imaging device incorporates controlled illumination, matte-coated surfaces, and a high-resolution camera to minimize reflections and external noise, thereby ensuring consistent and reliable image acquisition. Image-processing algorithms implemented in MATLAB were employed to detect bacterial colonies, remove background artifacts, and generate cropped colony images for subsequent classification. A dataset comprising nine bacterial species was compiled and systematically evaluated using five deep learning architectures: ResNet-18, ResNet-50, Inception V3, GoogLeNet, and the state-of-the-art EfficientNet-B0. Experimental results demonstrated high colony-counting accuracy, with a mean accuracy of 90.79% ± 5.25% compared to manual counting. The coefficient of determination (R2 = 0.9083) indicated a strong correlation between automated and manual counting results. For colony classification, EfficientNet-B0 achieved the best performance, with an accuracy of 99.78% and a macro-F1 score of 0.99, demonstrating strong capability in distinguishing morphologically distinct colonies such as Serratia marcescens. Compared with previous studies, this research provides a time-efficient and scalable solution that balances high accuracy with computational efficiency. Overall, the findings highlight the potential of combining optimized imaging systems with modern lightweight deep learning models to advance microbiological diagnostics and improve routine laboratory workflows.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Cell Image Analysis Techniques · Image Processing Techniques and Applications · Bacterial Identification and Susceptibility Testing

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Biomedical Engineering, School of Engineering, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand

Funding

KMITL which has been received funding support from the NSRF, grant number

References (19)

Show source-provided references
1. Amano, M., Mai, D.T., Sun, G., Vu, T.N., Hoi, L.T., Hoa, N.T., and Ishibashi, K. (2022, January 11–15). Deep Learning Approach for Classifying Bacteria types using Morphology of Bacterial Colony. Proceedings of the 2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Glasgow, Scotland, UK.10.1109/EMBC48229.2022.9870986 ↗
2. Nagro, S.A., Alansari, M.M., Sendy, B.K., and Abutarboush, M.H. (2023, January 13–14). Microscopic Bacterial Classification Using Deep Learning Based on Augmented Reality Architecture. Proceedings of the 2023 3rd International Conference on Computing and Information Technology (ICCIT), Tabuk, Saudi Arabia.10.1109/ICCIT58132.2023.10273921 ↗
3. Martis, J.E., Sudeepa, K.B., Sannidhan, M.S., and Bhandary, A. (2020, January 20–22). A Rapid Automated Process for Organizing Bacterial Cluster Segments Using Deep Neural Networks. Proceedings of the 2020 Third International Conference on Smart Systems and Inventive Technology (ICSSIT), Tirunelveli, India.10.1109/ICSSIT48917.2020.9214173 ↗
4. Novel neural network application for bacterial colony classification10.1186/s12976-018-0093-x ↗
5. Annotated dataset for deep-learning-based bacterial colony detection10.1038/s41597-023-02404-8 ↗
6. Chen, S., Huang, P.-H., Kim, H., Cui, Y., and Buie, C.R. (2025). MCount: An automated colony counting tool for high-throughput microbiology. PLoS ONE, 20.10.1371/journal.pone.0311242 ↗
7. Cao, L., Zeng, L., Wang, Y., Cao, J., Han, Z., Chen, Y., Wang, Y., Zhong, G., and Qiao, S. (2024). U(2)-Net and ResNet50-Based Automatic Pipeline for Bacterial Colony Counting. Microorganisms, 12.10.3390/microorganisms12010201 ↗
8. Yang, F., Zhong, Y., Yang, H., Wan, Y., Hu, Z., and Peng, S. (2023). Microbial Colony Detection Based on Deep Learning. Appl. Sci., 13.10.3390/app131910568 ↗
9. Automatic Identification of Single Bacterial Colonies Using Deep and Transfer Learning10.1109/ACCESS.2022.3221958 ↗
10. Bacterial Colony Classification Using Atrous Convolution with Transfer Learning Authors
11. Zieliński, B., Plichta, A., Misztal, K., Spurek, P., Brzychczy-Włoch, M., and Ochońska, D. (2017). Deep learning approach to bacterial colony classification. PLoS ONE, 12.10.1371/journal.pone.0184554 ↗
12. Automated Bacterial Classifications Using Machine Learning Based Computational Techniques: Architectures, Challenges and Open Research Issues10.1007/s11831-021-09660-0 ↗
13. Kakishita, Y., Hattori, H., Ray, A., Hisada, A., Ominami, Y., Baudoin, J.P., Khalil, J.Y.B., and Raoult, D. (2022, January 9–11). Deep Learning Based Bacteria Classification from SEM Images Using a Combination of Membrane and Internal Features. Proceedings of the 2022 56th Annual Conference on Information Sciences and Systems (CISS), Princeton, NJ, USA.10.1109/CISS53076.2022.9751170 ↗
14. Hayashi-Nishino, M., Aoki, K., Kishimoto, A., Takeuchi, Y., Fukushima, A., Uchida, K., Echigo, T., Yagi, Y., Hirose, M., and Iwasaki, K. (2022). Identification of Bacterial Drug-Resistant Cells by the Convolutional Neural Network in Transmission Electron Microscope Images. Front. Microbiol., 13.10.3389/fmicb.2022.839718 ↗
15. Kakishita, Y., Ray, A., Hattori, H., Hisada, A., Ominami, Y., Baudoin, J.P., Khalil, J.Y.B., and Raoult, D. (2021, January 24–26). Quantitative Analysis System for Bacterial Cells in SEM Image using Deep Learning. Proceedings of the 2021 55th Annual Conference on Information Sciences and Systems (CISS), Baltimore, MD, USA.10.1109/CISS50987.2021.9400322 ↗
16. Bacterial Colonies on Agar Plate Counting Using Image Processing
17. Bunkum, M., and Visitsattapongse, S. (2023, January 28–31). Automated Bacterial Colony Counting on Agar Plate. Proceedings of the 2023 15th Biomedical Engineering International Conference (BMEiCON), Tokyo, Japan.10.1109/BMEiCON60347.2023.10322069 ↗
18. Discrimination Colonies of Staphylococcus aureus and Salmonella enterica by Using Machine Learning
19. Smith, P., and Schuster, M. (2021). Inexpensive Apparatus for High-Quality Imaging of Microbial Growth on Agar Plates. Front. Microbiol., 12.10.3389/fmicb.2021.689476 ↗