[go: up one dir, main page]

CN114359415B - Deep learning tobacco grading method based on expert experience guidance - Google Patents

Deep learning tobacco grading method based on expert experience guidance

Info

Publication number
CN114359415B
CN114359415B CN202210017323.6A CN202210017323A CN114359415B CN 114359415 B CN114359415 B CN 114359415B CN 202210017323 A CN202210017323 A CN 202210017323A CN 114359415 B CN114359415 B CN 114359415B
Authority
CN
China
Prior art keywords
network
grading
feature vector
tobacco leaf
tobacco
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210017323.6A
Other languages
Chinese (zh)
Other versions
CN114359415A (en
Inventor
王辉
夏琛
程昌合
吴继忠
张晓兵
刘建国
毕一鸣
沈会良
俞贝楠
胡建欣
柳一昊
黄芳芳
钟永健
李波
童神
葛川
徐志强
朱宏福
沈蓓蕾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
China Tobacco Zhejiang Industrial Co Ltd
Original Assignee
Zhejiang University ZJU
China Tobacco Zhejiang Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJU, China Tobacco Zhejiang Industrial Co Ltd filed Critical Zhejiang University ZJU
Priority to CN202210017323.6A priority Critical patent/CN114359415B/en
Publication of CN114359415A publication Critical patent/CN114359415A/en
Application granted granted Critical
Publication of CN114359415B publication Critical patent/CN114359415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Image Analysis (AREA)

Abstract

本发明公开了一种基于专家经验指导的深度学习烟叶分级方法,利用预先设定的深度特征提取网络获得烟叶图像的深度网络特征向量。利用传统计算机视觉方法获得烟叶图像的手工特征向量。将深度网络特征向量与手工特征向量拼接为联合特征向量。将联合特征向量输入预先设定的分级判断网络,输出烟叶分级结果。专家针对分级不正确的烟叶图像进行重新分级,得到更新后的分类标签,根据更新后的分类标签对分级判断网络进行学习,获取优化后的分级判断网络。本发明具有烟叶分级的客观性和一致性,且能够达到较高的分级准确率。针对偶然出现的错误烟叶分级情况,利用专家的领域知识,辅助提高分级准确率。

The present invention discloses a deep learning tobacco leaf grading method based on expert experience guidance, which uses a pre-set deep feature extraction network to obtain a deep network feature vector of a tobacco leaf image. A manual feature vector of a tobacco leaf image is obtained using a traditional computer vision method. The deep network feature vector and the manual feature vector are spliced into a joint feature vector. The joint feature vector is input into a pre-set grading judgment network, and a tobacco leaf grading result is output. Experts re-classify incorrectly graded tobacco leaf images to obtain updated classification labels, and the grading judgment network is learned according to the updated classification labels to obtain an optimized grading judgment network. The present invention has objectivity and consistency in tobacco leaf grading, and can achieve a high grading accuracy. For occasional incorrect tobacco leaf grading situations, the domain knowledge of experts is used to assist in improving the grading accuracy.

Description

Deep learning tobacco grading method based on expert experience guidance
Technical Field
The invention relates to a deep learning tobacco leaf grading method based on expert experience guidance, and belongs to the technical field of computer vision and tobacco leaf automatic grading.
Background
Tobacco leaf is an important crop. When purchasing tobacco leaves, tobacco leaves are required to be classified according to different tobacco leaf conditions so as to give reasonable tobacco leaf purchasing price, but the tobacco leaves are complex and various, classification standards are difficult to quantify and are easily influenced by subjective factors, and often expertise with rich experience is required to classify the tobacco leaves, so that the problems of low efficiency and low precision in the tobacco leaf classification process are caused, and the quality of finished tobacco products is finally influenced.
Computer vision and image processing utilize the extracted features to perform related tasks. Feature engineering relies on expertise to select effective features, but manual features limit the flexibility of selection, and it is difficult to greatly improve system performance. As deep learning progresses, neural networks can automatically extract valid features from images, but model parameter updates require a large amount of data. The advantage combination of the artificial feature and the depth feature can effectively improve the grading precision of the system and reduce the data requirement.
The training of the existing neural network requires a large amount of data, and when the data is insufficient, the model can be guided by using the prior knowledge of people. The human-in-the-loop (man-in-loop) is a man-machine interaction technology, which makes full use of the knowledge of the relevant fields of experts, and enables people and machines to feed back to each other, so that the performance of a model is continuously improved.
Thermodynamic diagrams are machine learning visualization techniques used to present focus areas of current models, and model performance can be improved by manually guiding model updates through analysis of model thermodynamic diagrams.
Neural network architecture search is an automatic machine learning technique. The method is used for carrying out model structure design on related data, so that a model structure most suitable for a data set can be obtained, and the effect is obviously superior to that of a network model designed by people. Because of the improvement of the computing power, the neural network architecture search can automatically search in a predefined parameter space, so that the workload is greatly reduced.
Therefore, the technology is highly required to be fused by the person skilled in the art, and the problems of low efficiency and low precision caused by the fact that the existing tobacco leaf grading method is too dependent on manual grading are solved.
Disclosure of Invention
Aiming at overcoming the defects in the prior art, the invention provides a deep learning tobacco grading method based on expert experience guidance.
The technical scheme adopted by the invention is as follows:
A deep learning tobacco grading method based on expert experience guidance comprises the following steps:
And obtaining the depth network feature vector of the tobacco leaf image by utilizing a preset depth feature extraction network.
And obtaining the manual feature vector of the tobacco leaf image by using a traditional computer vision method.
And splicing the depth network feature vector and the manual feature vector into a joint feature vector.
And inputting the combined feature vector into a preset grading judgment network, and outputting a tobacco grading result.
And (3) carrying out re-grading on the tobacco leaf images with incorrect grading by an expert to obtain updated classification labels, and learning the grading judgment network according to the updated classification labels to obtain an optimized grading judgment network.
The method comprises the steps of outputting attention force diagram by a depth feature extraction network, correcting attention force diagram corresponding to a tobacco leaf image with incorrect grading by an expert, obtaining an attention guide diagram, learning the depth feature extraction network according to the attention guide diagram, obtaining an optimized depth feature extraction network, obtaining an optimized depth network feature vector according to the optimized depth feature extraction network, obtaining an optimized combined feature vector according to the optimized depth network feature vector, learning a grading judgment network according to the optimized combined feature vector and an updated grading label, and obtaining the optimized grading judgment network.
As a preferred solution, a preset depth feature extraction network acquisition method includes the following steps:
And determining the neural network basic parameters of the neural network architecture searching process, wherein the neural network basic parameters comprise image resolution and network depth.
A search space for the neural network architecture search is defined, wherein the search space comprises a basic convolution module, a convolution kernel size, expansion coefficients and channel numbers.
And sampling network parameters of the search space by using a random sampling method, and calculating search rewards of a model corresponding to the network parameters.
And repeating the network parameter sampling, and calculating the searching rewards of the network parameter corresponding to the model until the model searching rewards reach the requirement or the sampling times reach the limit. And selecting the network parameter with highest search reward to construct a corresponding model, and taking the model as a depth feature extraction network.
Preferably, the manual feature vector at least comprises one of length, width, length-width ratio, perimeter, area, circularity, breakage rate, RGB red, green and blue channel mean value or HSV hue, saturation and brightness channel mean value of tobacco leaves.
Preferably, the search space of the basic convolution module is { MBConv, fused-MBConv }, the search space of the convolution kernel size is {3x3,5x5}, the search space of the expansion coefficient is {1,2,4,6}, and the search space of the channel number is {32,64,128,256,512}.
As a preferred scheme, the hierarchical judgment network comprises an input layer, a hidden layer and an output layer, wherein the number of neurons of the input layer is equal to the length of the joint feature vector output by the joint feature extraction module, and the number of neurons of the output layer is equal to the number of tobacco categories.
As a preferred scheme, the specific method for inputting the combined feature vector into a preset grading judgment network and outputting the grading result of tobacco leaves comprises the following steps:
The joint feature vector is input to a hierarchical judgment network, and a predictive probability vector is output.
The probability entropy is calculated using the predictive probability vector.
And judging the relation between the calculated probability entropy and the set threshold value.
And when the probability entropy is smaller than the set threshold value, ending grading, and outputting a tobacco grading result.
When the probability entropy is larger than a set threshold, expert intervention is needed, and tobacco grading results are checked.
The deep learning tobacco grading method based on expert experience guidance has the beneficial effects that aiming at the condition of stronger subjectivity of the existing tobacco grading, the method has objectivity and consistency of tobacco grading, and can achieve higher grading accuracy. Aiming at the accidental wrong tobacco leaf grading situation, the invention adopts an expert guiding method, and utilizes the field knowledge of the expert to assist in improving the grading accuracy. The method of the invention not only can be used for grading tobacco leaves, but also can be applied to other classification fields, such as agricultural products and the like.
Drawings
Fig. 1 is a schematic structural diagram of a grading device according to an embodiment of the present invention.
FIG. 2 is a flow chart of the joint feature extraction of the present invention.
FIG. 3 is a flow chart of the present invention for constructing a deep feature extraction network using neural network architecture search.
FIG. 4 is a flow chart of a method for hierarchical decision network according to the present invention.
FIG. 5 is a flow chart of the expert directed method of the present invention.
Detailed Description
The invention will be further described with reference to specific examples.
As shown in FIG. 1, the deep learning tobacco leaf grading device based on expert experience guidance comprises three modules, namely a combined feature extraction module, a grading judgment module and an expert guidance module. The method comprises the steps of utilizing tobacco grading experience to extract a plurality of effective manual features of tobacco from tobacco images, simultaneously using a deep neural network to extract tobacco deep network features, aiming at the defect of low flexibility of a model in the existing method, adopting a neural network architecture to search to obtain a deep neural network model which is most suitable for tobacco data, and finally fusing the manual features and the deep features to obtain joint features for grading. And the neural network of the combined characteristic input grading judgment module predicts the final grading result, calculates the grading misjudgment probability and prompts an expert to judge the uncertain tobacco leaves again. The expert guidance module uses expert knowledge to continuously improve the grading accuracy of the whole model. When the classification judgment module indicates the tobacco leaves with higher classification error probability or the expert actively discovers the tobacco leaves with error classification, the expert can indicate the correct classification of the tobacco leaves to the system and provide an attention guide graph as a judgment basis to assist the model in improving the classification accuracy.
The invention provides a deep learning tobacco grading method based on expert experience guidance, which comprises the following steps:
S0, searching and acquiring a depth feature extraction network by utilizing a neural network architecture, and performing the following processing:
And S01, determining neural network basic parameters of a neural network architecture searching process, wherein the neural network basic parameters comprise image resolution and network depth.
And S02, defining a search space for searching the neural network architecture, wherein the search space comprises a basic convolution module, a convolution kernel size, expansion coefficients and channel numbers.
S03, sampling network parameters of the search space by using a random sampling method, and calculating search rewards of a model corresponding to the network parameters.
And S04, repeating network parameter sampling, and calculating search rewards of the network parameters corresponding to the models until the model search rewards reach the requirement or the sampling times reach the limit. And selecting the network parameter with highest search reward to construct a corresponding model, and taking the model as a depth feature extraction network.
S1, extracting a manual feature vector by using a traditional computer vision method, extracting a depth network feature vector by using a depth feature extraction network, obtaining a joint feature vector according to the manual feature vector and the depth network feature vector, and performing the following processing:
S11, segmenting a tobacco leaf image by using a traditional computer vision method, and obtaining a 13-dimensional manual feature vector f m according to a segmented mask and the tobacco leaf image, wherein the manual feature vector f m comprises the length, width, length-width ratio, perimeter, area, circularity and breakage rate of tobacco leaves and the average value of six color channels (red, green, blue, tone, saturation and brightness);
S12, extracting features of the tobacco leaf images by using a depth feature extraction network, and obtaining a depth network feature vector f d;
And S13, splicing the manual feature vector f m and the depth network feature vector f d to obtain a joint feature vector f t.
S2, classifying tobacco leaves by utilizing the joint feature vector through a classification judgment network, and performing the following treatment:
S21, inputting the joint feature vector into a hierarchical judgment network, and outputting a predictive probability vector.
S22, calculating probability entropy by using the predictive probability vector.
S23, judging the relation between the calculated probability entropy and the set threshold value.
And S24, when the probability entropy is smaller than a set threshold value, ending grading.
S25, when the probability entropy is larger than a set threshold, expert intervention is needed, and the classification result is checked.
And S3, carrying out re-grading by an expert aiming at the tobacco leaf images with incorrect grading to obtain updated classification labels, and learning the grading judgment network according to the updated classification labels to obtain an optimized grading judgment network.
And S4, outputting attention force diagram by the depth feature extraction network, correcting attention region by an expert according to the attention force diagram corresponding to the incorrectly-classified tobacco leaf image, obtaining an attention guide diagram, learning the depth feature extraction network according to the attention guide diagram, obtaining an optimized depth feature extraction network, obtaining an optimized depth network feature vector according to the optimized depth feature extraction network, obtaining an optimized combined feature vector according to the optimized depth network feature vector, learning the classified judgment network according to the optimized combined feature vector and the updated classification label, and obtaining the optimized classified judgment network.
Example 1:
A deep learning tobacco grading method based on expert experience guidance comprises the following steps:
As shown in fig. 2, first, manual features are extracted using a conventional computer vision method. The tobacco leaf images are collected on the equipment, and the existing image segmentation technology is utilized to obtain the mask of the tobacco leaf area.
And searching the tobacco leaf contour in the binarization mask map, calculating the tobacco leaf edge based on the pixel neighborhood, and considering the transition position of the pixel value of the mask image as the tobacco leaf contour. In order to calculate the length and width of tobacco leaves, the minimum external rectangle of tobacco leaves needs to be obtained. The obtained tobacco leaf contour is utilized to obtain the minimum convex hull surrounding the tobacco leaf, and the minimum convex hull surrounding the tobacco leaf is obtained by enumerating the convex hull surrounding rectangles and comparing the surrounding rectangular areas. The length of the circumscribed rectangle can represent the length of the tobacco leaf, the width of the circumscribed rectangle can represent the width of the tobacco leaf, and the ratio of the length to the width of the circumscribed rectangle can represent the length-width ratio of the tobacco leaf. The tobacco leaf contour is calculated, so that the tobacco leaf perimeter and area can be calculated directly by using the pixel number of the tobacco leaf contour.
Using the calculated circumference and area of the tobacco leaves, the circularity of the tobacco leaves is expressed as:
wherein E represents the degree of circularity of tobacco leaves, A represents the area of tobacco leaves, and P represents the circumference of tobacco leaves.
Under the general condition, the calculated total area is slightly lower than the internal area of the profile, and the ratio of the area of the damaged area in the tobacco profile to the total area in the tobacco profile is calculated to obtain the tobacco damage rate, which is expressed as:
wherein R represents the breakage rate of tobacco leaves, and S represents the area of a breakage area.
Under the general condition, an image acquired by a visible light camera is divided into three channels RGB, three channels can be directly separated, and the average value of the image of each channel is calculated, so that the color average value characteristic of each channel is obtained. Besides directly calculating the color mean value of the RGB three channels, converting the tobacco leaf image obtained by the RGB color model into an image represented by the HSV color model, and calculating the mean value of each channel to obtain the color mean value characteristics of the HSV three channels.
The features extracted at this stage include the length, width, aspect ratio, perimeter, area, circularity, breakage rate of the tobacco leaf, and the mean of the six color channels (red, green, blue, hue, saturation, and brightness), 13 in total, and all of the manual feature values are combined into a 13-dimensional vector f m.
As shown in fig. 3, the method uses neural network architecture search to determine the best model. The classification accuracy of the traditional neural network in the tobacco data set is limited, so that the neural network architecture search is adopted to determine the optimal model on a small amount of tobacco data.
In the searching process of the neural network architecture, the basic parameters of the neural network, namely the resolution of an input image and the depth of the network are determined.
The search space of the basic convolution module is { MBConv, fused-MBConv }, the search space of the convolution kernel size is {3x3,5x5}, the search space of the expansion coefficient is {1,2,4,6}, and the search space of the channel number is {32,64,128,256,512}.
In the searching process, in order to compare the performances of different structures, the most suitable model is selected, and a searching reward function is required to be defined according to design requirements. In general, the design aims to reduce the calculated amount of the model and the parameter number of the model while improving the accuracy of the model.
The search rewards function may be defined as:
R=Acc·Sw·Pv
Wherein Acc represents accuracy, S represents model calculation time, P represents model parameter, w, v represents super-parameters for weighing calculation time and parameter.
And searching the model with the largest rewards to obtain the optimal model structure. In the searching process, the accuracy, the calculating time and the model parameter number are required to be recorded, the searching reward of each model is calculated by utilizing the searching reward function, and the model with the highest searching reward is selected to be used as a depth feature extraction network.
The neural network architecture searching process adopts random sampling, namely randomly generating model parameters, calculating searching rewards of the models on corresponding data sets, recording the searching rewards of each model, and randomly sampling to obtain the next model parameters.
And randomly obtaining model parameters when model searching is carried out each time, and calculating search rewards until the search rewards reach the requirements or the model sampling quantity reaches the limit.
And inputting the tobacco leaf image into a depth feature extraction network obtained by searching by utilizing a neural network architecture, extracting the depth features in the tobacco leaf image, and outputting a depth network feature vector f d.
And splicing the manual feature vector f m and the depth network feature vector f d to obtain a joint feature vector f t. And inputting the characteristics obtained by calculation of the combined characteristic extraction module into a classification judgment network to be used as a tobacco classification basis.
As shown in fig. 4, the hierarchical judgment network comprises an input layer, a hidden layer and an output layer, wherein the number of neurons of the input layer is equal to the length of the joint feature vector output by the joint feature extraction module, the number of neurons of the output layer is equal to the number of tobacco leaves categories, and the number of neurons of the hidden layer is set according to experience.
The calculation process of the hierarchical judgment network can be expressed as follows:
P=softmax(b(2)+w(2)·Swish(b(1)+w(1)·ft))
wherein, P represents the predictive probability vector output by the hierarchical judgment module, b (1),b(2) represents the neural network bias parameter, w (1),w(2) represents the neural network weight parameter, softmax (·) represents the softmax function, and Swish (·) represents the Swish activation function, namely:
The prediction probability vector P= [ P 1,p2,…,pN]T ] output by the neural network, wherein P i represents the probability that the current tobacco leaves are the i-th tobacco leaves, and N represents the number of tobacco leaf classification categories.
Tobacco prediction categories may be obtained, expressed as:
according to the prediction probability vector P, the probability distribution is counted, and the probability entropy of the current tobacco leaf prediction is calculated:
And judging the tobacco grading error probability by using the calculated probability entropy, and prompting according to a preset probability entropy threshold.
And eta represents a threshold parameter set by the system, in the grading process, the predicted probability entropy is compared with the set threshold, when E < eta, the confidence of the grading result is higher, an expert is not needed to check temporarily, and when E is more than or equal to eta, the confidence of the grading result is lower, the expert intervention is needed, and the grading result is checked.
In practical situations, the threshold value can be flexibly selected according to the situation, when the threshold value eta is lower, the number of tobacco leaves needing to be checked for the grading result is more, and when the threshold value eta is higher, the number of tobacco leaves needing to be checked for the grading result is less.
The expert guidance module of the method fully utilizes the interactivity of human and machine, manually marks out important attention positions in misjudgment and uncertain attention force diagram through the human intervention of the expert, and increases the attention of the depth feature extraction network to the parts through the updated attention guide diagram so as to further improve the feature extraction effect.
For misclassified tobacco leaves, an expert can check the misclassified tobacco leaves and provide a correct grading result to guide a grading judgment network to learn, so that the grading effect is improved.
As shown in fig. 5, when the depth feature extraction network attention area is incorrect, an expert may provide an attention guidance chart to guide the depth feature extraction network attention important area so as to improve the feature extraction accuracy. And after the expert corrects the grading result and the characteristics, updating the parameters of the depth characteristic extraction network and the grading judgment network by using the corrected grading result and characteristics.
In order to display the depth feature extraction network attention area on a hierarchical basis and to modify the attention area by means of an expert, attention branches need to be added on the depth feature extraction network obtained by searching by using a neural network architecture.
The calculation process of the depth feature extraction network is expressed as follows:
map1=F(I)
wherein F (·) is a convolution feature extractor, map 1 represents a feature map output by the convolution feature extractor, and I represents input tobacco image data.
The attention branches added at the depth feature extraction network are expressed as:
Mnet(I)=sigmoid(conv1(map1))
map2=conv2(map1)
v1=GAP(map2)
Wherein M net (I) represents a single-channel attention plot of output, sigmoid (·) represents a sigmoid activation function, conv 1 (·) represents a convolution layer, the number of input channels is equal to the feature map, the number of output channels is 1, conv 2 (·) represents a convolution layer, the number of input channels is equal to the feature map, the number of output channels is a depth feature vector length, and GAP (·) is a global average pooling operation. v 1 denotes the feature vector outputted by the feature map 2 after global average pooling.
Note that striving M net (I) will be used to calculate a new feature v 2, expressed as:
map3=conv3(map1+Mnet(I)·map1)
v2=GAP(map3)
Wherein conv 3 (·) represents a convolution layer, the number of input channels is equal to that of the feature map, the number of output channels is the depth feature vector length, map 3 represents the feature map output by conv 3 (·) of the convolution layer, and v 2 represents the feature vector output by map 3 after global average pooling.
At this time, the depth feature vector may be expressed as:
fd=v1+v2
the reason why the model makes the prediction result can be analyzed by using the attention map of the attention branch output.
Usually, only small areas in the tobacco leaf image often play a decisive role in tobacco leaf classification, so that an expert can judge whether a model attention area is correct or not by checking attention diagrams. If the model focuses on the wrong region, the expert needs to correct the region of attention seeking attention.
When the expert is required to check the result of the area of attention seeking, the module requests the expert to mark the basis area of the example hierarchy in the form of a popup window to form an attention guide map M expert (I). Calculating the error between the attention guide graph and the attention graph provided by the expert, and obtaining attention loss, wherein the attention loss is expressed as:
Latt=α|Mexpert(I)-Mnet(I)|
Where α represents the attention deficit weight.
When the expert does not provide the attention guide graph and only uses the tobacco classification labels to carry out model training, the training process uses the classification judgment network output and the tobacco correct classification labels to calculate classification loss, which is expressed as:
Lc=CE(P,labele)
Where label e represents the expert provided correct hierarchical label and CE (·) represents the cross entropy loss function.
When the expert provides an attention deficit map, the model training loss function is expressed as:
L=Latt+Lc
And respectively carrying out online incremental learning on the depth feature extraction network and the grading judgment network by using a correct grading result and an attention guide graph provided by an expert.
In the running process of the method, the classification result and the attention area are corrected by means of the guidance of an expert, so that the tobacco classification accuracy is continuously improved.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (6)

1. A deep learning tobacco grading method based on expert experience guidance is characterized by comprising the following steps:
obtaining a depth network feature vector of a tobacco leaf image by utilizing a preset depth feature extraction network;
Obtaining a manual feature vector of a tobacco leaf image by using a traditional computer vision method;
splicing the depth network feature vector and the manual feature vector into a joint feature vector;
inputting the combined feature vector into a preset grading judgment network, and outputting a tobacco grading result;
the expert performs reclassification on the tobacco leaf images with incorrect classification to obtain updated classification labels, learns the classification judgment network according to the updated classification labels, and obtains an optimized classification judgment network;
The depth feature extraction network outputs an attention map, an expert corrects an attention map corresponding to the tobacco leaf image with incorrect classification, an attention guide map is obtained, the depth feature extraction network is learned according to the attention guide map, an optimized depth feature extraction network is obtained, an optimized depth network feature vector is obtained according to the optimized depth feature extraction network, an optimized joint feature vector is obtained according to the optimized depth network feature vector, and a classification judgment network is learned according to the optimized joint feature vector and an updated classification label to obtain an optimized classification judgment network.
2. The deep learning tobacco leaf grading method based on expert experience guidance of claim 1, wherein the preset deep feature extraction network acquisition method comprises the following steps:
determining neural network basic parameters of a neural network architecture searching process, wherein the neural network basic parameters comprise image resolution and network depth;
Defining a search space for searching the neural network architecture, wherein the search space comprises a basic convolution module, a convolution kernel size, expansion coefficients and channel numbers;
sampling network parameters of the search space by using a random sampling method, and calculating search rewards of a model corresponding to the network parameters;
And repeating the network parameter sampling, calculating the search rewards of the model corresponding to the network parameters until the model search rewards reach the requirement or the sampling times reach the limit, and selecting the network parameter with the highest search rewards to construct the corresponding model to be used as a depth feature extraction network.
3. The method for deep learning tobacco leaf classification based on expert experience guidance of claim 1 wherein the manual feature vector comprises at least one of length, width, aspect ratio, perimeter, area, circularity, breakage rate, RGB red, green, blue channel mean or HSV hue, saturation, and brightness channel mean of the tobacco leaf.
4. The deep learning tobacco leaf grading method based on expert experience guidance of claim 2, wherein the basic convolution module has a search space { MBConv, fused-MBConv }, a convolution kernel size of {3x3,5x5}, a expansion coefficient of {1,2,4,6}, and a channel number of {32,64,128,256,512}.
5. The deep learning tobacco leaf grading method based on expert experience guidance of claim 1 is characterized in that the grading judgment network comprises an input layer, a hidden layer and an output layer, wherein the number of neurons of the input layer is equal to the length of the joint feature vector output by the joint feature extraction module, and the number of neurons of the output layer is equal to the number of tobacco leaf categories.
6. The deep learning tobacco grading method based on expert experience guidance according to claim 1 is characterized in that the specific method for inputting the combined feature vector into a preset grading judgment network and outputting the grading result of the tobacco comprises the following steps:
inputting the joint feature vector into a hierarchical judgment network, and outputting a predictive probability vector;
calculating probability entropy by using the predictive probability vector;
judging the relation between the calculated probability entropy and a set threshold value;
when the probability entropy is smaller than the set threshold value, grading is finished, and a tobacco grading result is output;
when the probability entropy is larger than a set threshold, expert intervention is needed, and tobacco grading results are checked.
CN202210017323.6A 2022-01-07 2022-01-07 Deep learning tobacco grading method based on expert experience guidance Active CN114359415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210017323.6A CN114359415B (en) 2022-01-07 2022-01-07 Deep learning tobacco grading method based on expert experience guidance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210017323.6A CN114359415B (en) 2022-01-07 2022-01-07 Deep learning tobacco grading method based on expert experience guidance

Publications (2)

Publication Number Publication Date
CN114359415A CN114359415A (en) 2022-04-15
CN114359415B true CN114359415B (en) 2025-07-22

Family

ID=81106991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210017323.6A Active CN114359415B (en) 2022-01-07 2022-01-07 Deep learning tobacco grading method based on expert experience guidance

Country Status (1)

Country Link
CN (1) CN114359415B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115661025A (en) * 2022-08-16 2023-01-31 农芯(南京)智慧农业研究院有限公司 Construction method of cigar coat quality grade discrimination model

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046707A (en) * 2019-04-15 2019-07-23 清华大学深圳研究生院 A kind of Evaluation and Optimization and system of neural network model

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014078862A1 (en) * 2012-11-19 2014-05-22 Altria Client Services Inc. Blending of agricultural products via hyperspectral imaging and analysis
CN108280104B (en) * 2017-02-13 2020-06-02 腾讯科技(深圳)有限公司 Method and device for extracting characteristic information of target object
CN107016413B (en) * 2017-03-31 2019-11-26 征图新视(江苏)科技股份有限公司 A kind of online stage division of tobacco leaf based on deep learning algorithm
FR3098960B1 (en) * 2019-07-16 2021-07-16 Idemia Identity & Security France Method of extracting a characteristic vector from an input image representative of an iris using an end-to-end trainable neural network
CN111274860B (en) * 2019-11-08 2023-08-22 杭州安脉盛智能技术有限公司 Recognition method for online automatic tobacco grade sorting based on machine vision
CN111476219B (en) * 2020-06-02 2024-09-17 苏州科技大学 Image target detection method in intelligent home environment
CN112529042B (en) * 2020-11-18 2024-04-05 南京航空航天大学 A medical image classification method based on dual attention multi-instance deep learning
CN112801212B (en) * 2021-03-02 2022-11-18 东南大学 White blood cell classification counting method based on small sample semi-supervised learning

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046707A (en) * 2019-04-15 2019-07-23 清华大学深圳研究生院 A kind of Evaluation and Optimization and system of neural network model

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于对困难样本迁移学习的烤烟分级特征表示;章春娥;雒慧心;严国涌;范磊;代绍周;解燕;李亚萍;;轻工科技;20181007(第10期);88-90+94 *

Also Published As

Publication number Publication date
CN114359415A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
CN114663346B (en) A strip steel surface defect detection method based on improved YOLOv5 network
CN112232371B (en) American license plate recognition method based on YOLOv3 and text recognition
CN111950453A (en) Optional-shape text recognition method based on selective attention mechanism
CN118485919A (en) Plant canopy leaf segmentation, completion model training method, leaf parameter extraction method and device
CN111340124A (en) Method and device for identifying entity category in image
CN119107447A (en) A multi-source pavement disease recognition method based on language and image large model
CN114463197B (en) Text recognition method and equipment for power equipment
US20220366242A1 (en) Information processing apparatus, information processing method, and storage medium
Marzan et al. Automated tobacco grading using image processing techniques and a convolutional neural network
CN114241326A (en) Progressive intelligent production method and system for ground feature elements of remote sensing images
CN113361530A (en) Image semantic accurate segmentation and optimization method using interaction means
CN119152502A (en) Landscape plant image semantic segmentation method based on weak supervision
CN116543386A (en) Agricultural pest image identification method based on convolutional neural network
CN119068486A (en) Traditional Chinese medicine tongue image feature extraction method and system based on deep model
CN114359415B (en) Deep learning tobacco grading method based on expert experience guidance
Li et al. How to identify pollen like a palynologist: A prior knowledge-guided deep feature learning for real-world pollen classification
CN110688512A (en) Pedestrian image search algorithm based on PTGAN region gap and depth neural network
CN114155249B (en) A 3D cell image instance segmentation method based on depth vector field regression
CN118887544B (en) A tunnel lining apparent defect recognition method based on query matching attention
CN117115614B (en) Object identification method, device, equipment and storage medium for outdoor image
CN119048454A (en) Color difference detection system and method for liquid crystal display screen
CN116109827A (en) Abalone detection method for nursery stage using knowledge distillation network for dense occlusion
CN113989253A (en) Method and device for acquiring information of farmland target object
Manibardo et al. Expert-driven Rule-based Refinement of Semantic Segmentation Maps for Autonomous Vehicles
CN119672484B (en) Intelligent recognition method of printed fabric defects based on multimodal data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant