DAI Yiqi,ZHANG Zihao,XI Meijuan,et al.Development of a YOLO-based deep learning model for automatic identification of Chinese medicinal materials and its mobile application[J].Beijing Biomedical Engineering,2026,45(2):153-162.
DAI Yiqi,ZHANG Zihao,XI Meijuan,et al.Development of a YOLO-based deep learning model for automatic identification of Chinese medicinal materials and its mobile application[J].Beijing Biomedical Engineering,2026,45(2):153-162.DOI: 10.3969/j.issn.1002-3208.2026.02.006.
Development of a YOLO-based deep learning model for automatic identification of Chinese medicinal materials and its mobile application
The variety of traditional Chinese medicinal ingredients is vast, and in response to the ever-increasing market demand, there is an urgent necessity to integrate intelligent artificial intelligence identification technology to enhance both accuracy and efficiency.
Methods
2
Between January 2020 and October 2024, two datasets containing images of 163 types of Chinese medicinal materials were collected. These datasets were used for transfer learning and fine-tuning with YOLO neural network models of varying architectures and sizes. The models’ performance was evaluated on validation and test sets using metrics such as accuracy, sensitivity, specificity, precision, area under the ROC curve, and F1 scores. The best-performing model was selected. To improve the model’s transparency and interpretability, the gradient-weighted class activation mapping technique was employed. Finally, the model was integrated into a user-friendly mobile application using the Streamlit framework.
Results
2
A total of 276 767 images were included in this study, and six YOLO neural network models were developed, namely YOLOv8n, v8s, v8m, v11n, v11s, and v11m. Among them, YOLOv11s performed the best, achieving an accuracy of 98.91%, sensitivity of 98.95%, and specificity of 99.99% on the internal validation set. On the external test set, the model achieved an accuracy of 98.68%, sensitivity of 98.68%, and specificity of 99.99%, demonstrating excellent performance. The developed smartphone application enabled rapid real-time recognition of 163 types of Chinese medicinal herbs, intuitively displaying prediction results and confidence rankings.
Conclusions
2
The AI model and mobile application developed using the latest YOLOv11s neural network enable fast and accurate identification of 163 types of Chinese medicinal materials. This provides strong support for physicians in Chinese medicinal material identification tasks and holds promising application prospects.
Zhang YJ, Jiang YY. Discussion on primary research direction of modernization of traditional Chinese medicine in the period of the “14th Five-year Plan”[J]. Modernization of Traditional Chinese Medicine and Materia Medica-World Science and Technology, 2022, 24(3): 1309-1314.
Xue XJ, Liu C, Wang YM, et al. Status quo and development strategy of traditional Chinese medicine in the new era[J]. Strategic Study of CAE, 2023, 25(5): 11-20.
Guo C, Tian YJ, Li Y, et al. Identification of Chinese herb pieces based on YOLOv4[J]. China Journal of Experimental Traditional Medical Formulae, 2023, 29(14): 133-140.
Han Y, Lan J, Guo RY, et al. Identification of Chinese herbal medicine slices based on deep learning[J]. Acta Agriculturae Boreali-occidentalis Sinica, 2023, 32(11): 1859-1867.
Han DQ, Li ZY, Yang QS, et al. Design and implementation of image recognition system for Chinese medicinal materials based on eIQ[J]. Application of Electronic Technique, 2023, 49(10): 118-123.
Chen J, Wang GH, Zhang ZH, et al. Construction of an artificial intelligence-assisted system for auto matic detection of multiple lesions in the small intestine based on various convolutional neural networks[J]. Journal of Lanzhou University (Medical Sciences), 2024, 50(9): 23-29.
Wang ZN, Xu YP, Xia KJ, et al. Construction of an artificial intelligence-assisted system for automatic detection of pressure injury based on the YOLO neural network[J]. Chinese General Practice, 2024, 27(36): 4582-4590.
Sapkota R, Flores-Calero M, Qureshi R, et al. YOLO advances to its genesis: a decadal and comprehensive review of the You Only Look Once (YOLO) series[J]. Artificial Intelligence Review, 2025, 58: 274.
Selvaraju RR, Cogswell M, Das A, et al. Grad-CAM: visual explanations from deep networks via gradient-based localization[J]. International Journal of Computer Vision, 2020,128: 336-359.
Mahendran K, Surya S, Thejashrayal E. Streamlit-powered comprehensive health analysis and disease prediction system[C]//2023 International Conference on Emerging Research in Computational Science (ICERCS). Coimbatore, India: IEEE Press, 2023: 1-7.
Liang CH, Yin DR, Cui J, et al. Application of ancient books in clinical practice guidelines and expert consensus of traditional Chinese medicine: current status and methodological recommendations[J]. Journal of Traditional Chinese Medicine, 2024, 65(8): 801-809.
Zheng SH, Zhao S, Zeng Y, et al. Research status and thinking on identification of variety and origin of Chinese medicinal materials[J]. China Modern Chinese Medicine, 2021, 23(12): 2037-2045.
Wang L, Zhao R, Zhang QF. Application of DNA barcoding and other molecular identification techniques in identification of Chinese medicinal materials[J]. Food and Drug, 2022, 24(4): IV-VIII.
Liu XS, Du ZW, Nie R, et al. Impact of input image resolution in medical X-ray images on effectiveness of YOLO network for recognition of intertrochanteric fractures[J]. Journal of Army Medical University, 2023, 45(22): 2327-2333.
Hailati M, Aihemaitiniyazi R, Kuerban K, et al. Small lesion detection in ultrasound images of hepatic cystic echinococcosis based on improved YOLOv7[J]. Chinese Journal of Medical Physics, 2024, 41(3): 299-308.
Design and implementation of the MRI equipment monitoring and early warning system
Accuracy evaluation of MobileNetV3 in mobile device-based diabetic retinopathy severity identification
Application of acupoint massage based on traditional Chinese medicine constitution identification in the perioperative period of patients undergoing coronary artery bypass grafting
Construction and practice of a dual-track “scientific research + science popularization” collaborative extension activity system for the medical physics course under the context of new medicine
Application of hydrogen peroxide disinfection technology in prevention and control of infection of medical devices
Related Author
RAN Ziyin
LU Ming
HAN Qian
SONG Kai
NIE Yan
BAO Xiuyu
CHEN Feilong
CAI Qiujing
Related Institution
Beijing Jishuitan Hospital, Capital Medical University
School of Population Medicine and Public Health, Chinese Academy of Medical Sciences Peking Union Medical College
Medical Research Biometric Center, National Center for Cardiovascular Diseases, Fuwai Hospital, Chinese Academy of Medical Sciences Peking Union Medical College