中国全科医学2025,Vol.28Issue(9) :1128-1136.DOI:10.12114/j.issn.1007-9572.2024.0394

基于卷积神经网络建立中药材自动识别的人工智能模型及应用程序

Construction of an Artificial Intelligence Model and Application for an Automatic Recognition of Traditional Chinese Medicine Herbals Based on Convolutional Neural Networks

王甘红 张子豪 奚美娟 夏开建 周燕婷 陈健
中国全科医学2025,Vol.28Issue(9) :1128-1136.DOI:10.12114/j.issn.1007-9572.2024.0394

基于卷积神经网络建立中药材自动识别的人工智能模型及应用程序

Construction of an Artificial Intelligence Model and Application for an Automatic Recognition of Traditional Chinese Medicine Herbals Based on Convolutional Neural Networks

王甘红 1张子豪 2奚美娟 1夏开建 3周燕婷 1陈健4
扫码查看

作者信息

  • 1. 215500 江苏省常熟市中医院(常熟市新区医院)消化内科
  • 2. 200434 上海市,上海豪兄教育科技有限公司
  • 3. 215500 江苏省常熟市医学人工智能与大数据重点实验室
  • 4. 215500 江苏省常熟市第一人民医院消化内科
  • 折叠

摘要

背景 传统中药材检测手段依赖主观经验,难以满足中药材在准确分类与鉴别方面的需求.目的 基于卷积神经网络(CNN)开发一款能够自动识别163种中药材的人工智能模型及电脑端应用程序.方法 2020年1月—2024 年 6 月,采集了两个中药材数据集进行深度学习模型的训练、验证和测试,共包含 163 种中药材.通过准确率、灵敏度、特异度、精确率、受试者工作特征(ROC)曲线下面积(AUC)、F1 分数等指标来衡量CNN模型的性能.在模型训练完成后,基于PyQt5技术开发了一款应用程序,供临床便携使用.结果 本研究共纳入了276 767张图像,开发了EfficientNetB0、ResNet50、MobileNetV3、VGG19 和ResNet18 5 种模型,通过性能比较,EfficientNet_B0 模型在验证集上取得了最高的准确率(99.0%)和AUC(0.994 2),被选为最佳模型.在测试集上,最佳模型对所有中药类别识别的准确率为 99.0%、灵敏度为 99.0%、特异度为 100.0%、AUC为 1.0,展现出良好的性能.结论 基于卷积神经网络开发的深度学习模型能够快速准确地识别 163 种中药材,借助其高灵敏度的识别能力,为医师对中药材的鉴别提供有力辅助.

Abstract

Background Conventional methods for identifying traditional Chinese medicine(TCM)herbals mainly rely on subjective experiences,making it difficult to meet the needs for accurate classification and identification.Objective This study aims to develop an artificial intelligence model and a desktop application capable of automatically recognizing 163 types of TCM herbals based on convolutional neural networks(CNN).Methods From January 2020 to June 2024,data from two datasets of 163 TCM herbals were collected for training,validation,and testing of the deep learning model.The performance of the CNN model was evaluated for the accuracy,sensitivity,specificity,precision,area under the receiver operating characteristic(ROC)curve(AUC),and F1 score.After model training,an application was developed using PyQt5 technology for convenient clinical use.Results A total of 276 767 images were included in this study.Five models,including EfficientNetB0,ResNet50,MobileNetV3,VGG19,and ResNet18,were developed.After comparing their performance,the EfficientNetB0 model achieved the highest accuracy(99.0%)and AUC(0.994 2)in the validation dataset,and it was selected as the optimal model.In the test dataset,the EfficientNetB0 model achieved an accuracy of 99.0%,sensitivity of 99.0%,specificity of 100.0%,and an AUC of 1.0 across all categories,demonstrating an excellent performance.Conclusion The deep learning model developed based on CNN can quickly and accurately recognize 163 types of TCM herbals with high sensitivity and recognition capability,thus providing a robust support for physicians to accurately identify TCM herbals.

关键词

中药材/模式识别,自动/中药药材学/应用程序/人工智能/PyQt5/卷积神经网络

Key words

Traditional Chinese medicine herbals/Pattern recognition,automated/Materia Medica Science(TCD)/Application/Artificial intelligence/PyQt5/Convolutional neural networks

引用本文复制引用

出版年

2025
中国全科医学
中国医院协会

中国全科医学

北大核心
影响因子:2.04
ISSN:1007-9572
段落导航相关论文