The invention discloses a Chinese-medicinal-material identification method based on
deep neural networks. The method includes the following steps: using Chinese-medicinal-material pictures, which arecollected by a
web crawler and artificial photographing, as input of a
data set, and carrying out preprocessing; and adopting a Bagging method of
ensemble learning for training and prediction processes, namely adopting a random sampling method to generate multiple sub-training-sets, utilizing classical
convolutional neural network models and all the sub-training-sets to carry out fine-tuning training to generate multiple weak classifiers, wherein the adopted
convolutional neural network models include AlexNet, SqueezeNet and GoogleNet, and finally cooperate with a Softmax classification
algorithm, and using an ensemble-learning
combination strategy to obtain a strong classifier to obtain a
classification result, wherein a voting method is adopted for the ensemble-learning
combination strategy. The method of the invention is used for auxiliary identification of Chinese medicinal materials, reduces amateur errors appearing in identification, and can analyze the Chinese medicinal materials in a manner of high accuracy, fast identification speed and stable performance.