Crop lossless leaf stomata phenotype intelligent analysis method based on HDIoU
Through the method of combining HDIoU and YOLOv8 networks, the problem of low accuracy of stomatal detection in crop leaves in the existing technology has been solved, and efficient and automated detection of stomatal phenotype information has been achieved, promoting the development of smart agriculture.
Patent Information
- Application Number
- CN202410779456.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-24
Smart Images

Figure CN118691972A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart agricultural technology, and in particular to a method for intelligently analyzing stomatal phenotypes of non-destructive leaves of crops based on HDIoU. Background Art
[0002] The stomata of plants are mainly located on the surface of leaves. They are channels for gas exchange between plants and the external environment. The distribution and number of stomata are related to the plant species and are also affected by environmental factors. Stomata regulate gas exchange between plants and the environment and are an important target for genetic improvement of water use efficiency. The epidermal stomata of dicotyledonous plants are composed of a pair of guard cells and an aperture in the middle. In gas metabolism such as carbon assimilation, respiration, and transpiration, they become passages for air and water vapor. The amount of air passing through is regulated by the opening and closing of guard cells, which is of great physiological significance. Therefore, factors such as the location, density, and opening of stomata play an important role in the growth and development, stress resistance, and other aspects of the plant itself. Existing methods use network models to detect stomata on leaves, which usually cannot directly obtain phenotypic information of stomata. They need to be combined with segmentation models and other operations, and the accuracy of the detected stomatal phenotypic data is not high. Summary of the invention
[0003] In order to solve the technical problem that the stomatal phenotype data detected by the existing methods are not accurate enough, the purpose of the present invention is to provide an intelligent analysis method of stomatal phenotype of non-destructive leaves of crops based on HDIoU. The technical scheme adopted is as follows:
[0004] Obtain stomatal images of crop leaf epidermis to construct training set and validation set, and annotate the images in training set and validation set with dual-target rotating frames respectively;
[0005] The training set is trained for a preset number of rounds, including: using the backbone network of YOLOv8 to extract the stomatal texture and semantic features of the image to obtain a first type of feature map, fusing the first type of feature map with the second type of feature maps of different scales using the neck network of YOLOv8; inputting the fused feature map into the branch decoupled detection head for prediction to obtain predicted stomatal phenotype data;
[0006] The network model in each round of training is used to determine the optimal network model by calculating the loss function value based on HDIoU using the validation set, and the stomatal detection is performed on the crop leaf epidermal cell images using the optimal network model.
[0007] Preferably, the method for obtaining the optimal network model is:
[0008] The average value of the loss function of the network model in each round of training is calculated on the validation set, and the network model corresponding to the round with the minimum average value is taken as the optimal network model.
[0009] Preferably, the training of the training set for a preset number of rounds further comprises:
[0010] Dynamic sample allocation is used to determine the positive and negative sample boxes in the detected rotating box, and then the loss function value of each pore image is calculated, and the momentum stochastic gradient descent method is used to update the parameters of the network model.
[0011] Preferably, the loss function value calculated based on HDIoU is specifically:
[0012]
[0013] Among them, L total is the loss function value of the image, n positive is the number of positive sample frames, i represents the i-th positive sample frame, n pred represents the number of sample frames predicted for this image, j represents the jth predicted sample frame, and w obb and w VFL are the Loss weights of each part, L obb represents the positive prediction box position loss, L VFL Represents the prediction box category loss.
[0014] Preferably, the method for obtaining the positive prediction box position loss is specifically:
[0015] L obb =1-ThreeStageHDIoU
[0016] ThreeStageHDIoU=HDIoU-βsmoothCL-αV
[0017] Among them, ThreeStageHDIoU represents the intersection-over-union ratio based on Hellinger distance in three stages, HDIoU represents the intersection-over-union ratio based on Hellinger distance, α and β represent characteristic coefficients, V represents the aspect ratio loss of the predicted box, and smoothCL represents the center point loss after smoothing;
[0018] The prediction box category loss L VFL The specific method of obtaining is:
[0019]
[0020] Among them, p i is the intersection-over-union ratio between the predicted rotation box and the corresponding real box, and the real box belongs to the i-th category, q i It represents the score of the i-th category of the predicted rotation box, n represents the number of predicted rotation boxes, and γ is the scaling exponent.
[0021] Preferably, the step of labeling the images in the training set and the validation set with the rotating boxes of the two targets respectively includes:
[0022] Use the labeling tool roLabelImg to label the rotating boxes of the two targets in the images in the training set.
[0023] Preferably, the annotated information includes:
[0024] For any stoma in the stomatal image of the training set or the validation set, the center coordinates, width, height and rotation angle of the stomatal morphology are recorded as (c x 、c y , w, h, λ), the rotation box category is stomata; the center point coordinates, width, height and rotation angle of the stomata opening box are recorded as (c′ x ,c′ y ,w′,h′,λ′), the rotation box category is opening.
[0025] Preferably, the backbone network includes a first convolution module, a second convolution module, a first C2f module, a third convolution module, a second C2f module, a fourth convolution module, a third C2f module, a fifth convolution module and a fourth C2f module connected in sequence.
[0026] Preferably, the neck network includes a first upsampling module, a first aggregation module, a first C2f module, a second upsampling module, a second aggregation module, a second C2f module, a first convolution module, a third aggregation module, a third C2f module, a second convolution module, a fourth aggregation module, and a fourth C2f module, which are connected in sequence; the first C2f module and the third aggregation module are connected.
[0027] Preferably, the detection head adopts a prediction branch decoupling structure, and the prediction branch includes a target frame category and score prediction branch, and a target frame coordinate information prediction branch.
[0028] The embodiments of the present invention have at least the following beneficial effects:
[0029] 1. Using the method of the present invention, researchers can not only detect non-destructive crop leaf epidermis images, but also directly use handheld devices to achieve real-time measurement of crop leaf epidermis guard cell size, and automatically obtain phenotypic information such as stomatal location, density and opening.
[0030] 2. The method of the present invention designs a three-stage rotating frame loss function, which uses the similarity of two binary normal distributions to characterize the intersection-and-union ratio of the rotating frame, and introduces the rotation frame center point deviation loss and the length-to-width ratio loss. The three-stage rotating frame loss function enables the model to focus on different targets at different training stages. In the first stage, the model must learn to make the prediction frame close to the real frame as quickly as possible; in the second stage, the model only focuses on learning the real frame and achieves a higher intersection-and-union ratio; in the third stage, in addition to making the intersection-and-union ratio as close to 1 as possible, the model also pays extra attention to the length and width of the real frame. This design enables the detection frame to fit the real frame faster and better, and the detection frame fits the overall outline of the target more closely, making it possible for the model to better obtain the phenotypic information of the stomata. At the same time, the function is independent of the target scale and is more suitable for the detection of small targets such as stomata.
[0031] 3. The method of the present invention can realize real-time detection and identification of plant stomatal videos and external devices, so the stomatal characteristics of crop leaves throughout the growth stage can be studied, and the response mechanism of crops to environmental changes can be explored. The study of stomatal characteristics is of great significance and plays a positive role in promoting the development of smart agriculture. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0033] Figure 1 It is a flowchart of the steps of a method for intelligent analysis of stomatal phenotypes of non-destructive leaves of crops based on HDIoU provided by the present invention;
[0034] Figure 2 It is a structural schematic diagram of the network model provided by the present invention;
[0035] Figure 3 It is a schematic diagram of the detection result of the pore image provided by the present invention. DETAILED DESCRIPTION
[0036] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, characteristics and effects of a non-destructive leaf stomatal phenotype intelligent analysis method of crops based on HDIoU proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0037] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0038] The following is a detailed description of a specific scheme of a method for intelligent analysis of stomatal phenotypes of non-destructive leaves of crops based on HDIoU provided by the present invention in conjunction with the accompanying drawings.
[0039] See also Figure 1 , which shows a flowchart of a method for intelligent analysis of stomatal phenotypes of non-destructive leaves of crops based on HDIoU according to an embodiment of the present invention, the method comprising the following steps:
[0040] Step S100, obtaining stomatal images of crop leaf epidermis to construct a training set and a validation set, and annotating the images in the training set and the validation set with dual-target rotating frames.
[0041] Specifically, a portable stomatal photography device is used to collect non-destructive stomatal images of crop leaf epidermis. The stomatal images are randomly divided into a training set and a validation set according to a certain ratio. The labeling tool roLabelImg is used to label the stomatal images in the training set with dual-target rotating boxes.
[0042] For any stoma in the stomatal image of the training set or the validation set, the center coordinates, width, height and rotation angle of the stomatal morphology are recorded as (c x 、c y , w, h, λ), the rotation box category is stomata; the center point coordinates, width, height and rotation angle of the stomata opening box are recorded as (c′ x ,c′ y ,w′,h′,λ′), the rotation box category is opening.
[0043] Generate and save the annotated dual-target rotating boxes as corresponding XML files to obtain the position and bounding box coordinate information of each stomata, and then convert the saved XML files into TXT files in DOTA format for subsequent training. At the same time, considering that the stomata targets of crops are small and densely distributed, DOTA_devkit is used to segment the images in the training set, and each image is segmented into multiple images with a resolution of 640*640, and the corresponding TXT files are segmented so that the segmented images correspond one to one with the TXT label files. Among them, DOTA_devkit provides a series of tools and scripts for tasks such as preprocessing of data sets, parsing of annotation files, and evaluation of detection results, which will not be introduced in detail here.
[0044] Step S200, performing a preset round of training on the training set, including: using the backbone network of YOLOv8 to extract the stomatal texture and semantic features of the image to obtain a first type of feature map, and fusing the first type of feature map with the second type of feature maps of different scales using the neck network of YOLOv8; inputting the fused feature map into the branch decoupled detection head for prediction to obtain predicted stomatal phenotype data.
[0045] Specifically, the size of the stomata image is adjusted by reading all the stomata images in the training set and the annotation information of each stomata image. Then, the network model is iteratively trained using the training set. In this embodiment, the training process of any round of the network model is taken as an example for explanation. The training process of the network model specifically includes the following steps.
[0046] The first type of feature map is obtained by extracting the pore texture and semantic features of the image using the backbone network of YOLOv8, wherein the backbone network includes a first convolution module, a second convolution module, a first C2f module, a third convolution module, a second C2f module, a fourth convolution module, a third C2f module, a fifth convolution module, and a fourth C2f module connected in sequence. The first type of feature map contains representations of relevant information such as the position, shape, and texture of the pores.
[0047] In order to extract the information of pores of different scales and speed up the calculation time, SimSPPF of YOLOv6 is used after the backbone network to further extract image information of different scales, that is, SimSPPF of YOLOv6 is used to obtain the second type of feature maps of different scales.
[0048] In YOLOv6, SimSPPF (Simplified spatial pyramid pooling-fast) is an improved feature fusion mechanism that can capture the feature information of the target at different scales for target detection. These feature maps have different resolutions, which contain feature information extracted from the original image at different scales to help the model recognize targets of different sizes and positions.
[0049] Then, the first type of feature map is fused with the second type of feature map of different scales using the neck network of YOLOv8. Figure 2 In the feature extraction network shown in the figure, C represents feature channel cascade, U represents upsampling, C2f represents C2f-net structure, Conv represents convolution, batch normalization operation and SiLU activation function, Pn represents the nth layer feature, and P5 represents the 5th layer feature.
[0050] In this embodiment, select Figure 2The feature maps obtained at the 4th, 6th and 9th layers in the feature extraction network shown are input into the neck network of YOLOv8 to fuse the features at different levels. The neck network includes a first upsampling module, a first aggregation module, a first C2f module, a second upsampling module, a second aggregation module, a second C2f module, a first convolution module, a third aggregation module, a third C2f module, a second convolution module, a fourth aggregation module and a fourth C2f module connected in sequence; the first C2f module is connected to the third aggregation module.
[0051] Furthermore, the fused feature map is input into the branch decoupled detection head for prediction to obtain the predicted stomatal phenotype data. Specifically, the three fused feature maps are introduced into the detection head for prediction. The detection head adopts a prediction branch decoupling structure to decouple the detection head into two prediction branches, namely the category and score prediction branch of the target box and the prediction branch of the coordinate information of the target box. Each bounding box predicts a set of categories, and obtains the category with the largest score as the category of the bounding box. The score is also the confidence of the box; finally, the outputs of the two branch decoupling heads are connected as the total feature map output. The feature map of the final total output contains the predicted stomatal phenotype data.
[0052] Among them, the size of the total output feature map is (N1×N1+N2×N2+N3×N3)×(cls+obb reg ), N1, N2 and N3 are the sizes of the three feature maps, cls is the score of each category, obb reg The coordinate information of the target rotation box.
[0053] Finally, it should be noted that, in this embodiment, the number of iterations required for training the entire training set is set to s, and the number of images read in at one time is m, where s≥1 and m≥1.
[0054] Step S300, determining the optimal network model according to the loss function value calculated by the network model using the validation set during each round of training, and performing stomatal detection on the crop leaf epidermal cell image using the optimal network model.
[0055] In this embodiment, all images of the training set are trained in each round, and dynamic sample allocation is used to determine the positive and negative sample frames in the detected rotating frame, and then the loss function value of each pore image is calculated, and the momentum stochastic gradient descent method is used to update the parameters of the network model.
[0056] After each round of network model training, the average value of the loss function of the network model is calculated on the validation set, and the network model that currently minimizes the average value of the loss function of the validation set is saved. The iterative training process of the network model is repeated until the set rounds are completed or the average value of the loss function does not decrease significantly.
[0057] The calculation method of the loss function value of each image is as follows:
[0058]
[0059] Among them, L total is the loss function value of the image, n positive is the number of positive sample frames, i represents the i-th positive sample frame, n pred represents the number of sample frames predicted for this image, j represents the jth predicted sample frame, and w obb and w VFL are the Loss weights of each part, L obb represents the positive prediction box position loss, L VFL Represents the prediction box category loss.
[0060] L obb =1-ThreeStageHDIoU
[0061] ThreeStageHDIoU=HDIoU-βsmoothCL-αV
[0062] Among them, ThreeStageHDIoU represents the intersection-over-union ratio based on Hellinger distance in three stages, HDIoU represents the intersection-over-union ratio based on Hellinger distance, α and β represent characteristic coefficients, V represents the aspect ratio loss of the predicted box, and smoothCL represents the center point loss after smoothing.
[0063]
[0064] Among them, w truth Indicates the width of the positive sample box, h truth represents a positive sample, w pred Indicates the width of the prediction sample box, h pred Represents the height of the predicted sample frame.
[0065]
[0066] Among them, H D represents the Hellinger distance.
[0067] The steps for obtaining HDIoU specifically include:
[0068] First, the two-dimensional area corresponding to each rotation box is converted into a normal distribution. The two-dimensional area included in the rotation box corresponding to each pore corresponds to a two-dimensional normal distribution. The two-dimensional normal distribution is the normal distribution of the two-dimensional coordinates of the pixel points in the two-dimensional area included in the rotation box. The mean of the two-dimensional normal distribution is:
[0069]
[0070] Among them, c x Indicates the horizontal coordinate of the pixel point in the two-dimensional area included in the rotation box, c y Indicates the vertical coordinate of the pixel point in the two-dimensional area included in the rotation box.
[0071] The covariance matrix is:
[0072]
[0073] Among them, μ is the mean of the two-dimensional normal distribution, N is the area of the two-dimensional region Ω corresponding to the rotation box, and R θ is a two-dimensional rotation matrix, w is the width of the rotation box, h is the height of the rotation box, and θ is the rotation angle.
[0074] Considering that the actual problem in target detection is two-dimensional vectors and matrices, when in, Indicates that the two-dimensional area corresponding to the rotation box p satisfies the two-dimensional normal distribution Indicates that the two-dimensional area corresponding to the rotation box q satisfies the two-dimensional normal distribution The Bhattacharyya distance between p and q can be expressed as B D (p,q)=B1+B2, where:
[0075]
[0076] in, a1, b1, c1 are elements in Σ1 respectively, and a2, b2, c2 are elements in Σ2 respectively.
[0077] Since the Bhattacharyya distance does not satisfy the triangle inequality, it is not the real distance. Therefore, in order to express the real distance between the two, the Hellinger distance calculation formula can be expressed as:
[0078]
[0079] Among them, H D (p,q)∈[0,1], if and only if the two distributions are the same, H D (p,q)=0. The specific calculation formula of HDIoU is HDIoU=1-H D (p,q).
[0080] For the center of the rotation box, smoothCL is calculated as follows:
[0081]
[0082] in, Represents the horizontal coordinate of the center point of the prediction box, Represents the horizontal coordinate of the center point of the real frame, Represents the ordinate of the center point of the prediction box, Indicates the ordinate of the center point of the real frame, x n Indicates the horizontal coordinate of the center of the rotating box, y n Indicates the ordinate of the center of the rotation box.
[0083] For the network model to predict the scores of the n categories of the rotation box, they are [p1, p2, ..., p n ], L VFL The calculation method is as follows
[0084]
[0085] where γ represents the scaling exponent, [q1,q2,…,q n ]=[0,…,0,p i ,0,…,0],p i is the intersection-over-union ratio between the predicted rotation box and the corresponding real box, and the real box belongs to the i-th category, q i represents the score of the i-th category of the predicted rotation box, and n represents the number of predicted rotation boxes. When the predicted rotation box has no corresponding real box, the predicted rotation box is a negative sample box. In this case, [q1,q2,…,q n ]=[0,…,0,…,0]. When the predicted rotation box has a corresponding real box, the predicted rotation box is the positive sample box.
[0086] By coefficient p γ To scale the loss, the contribution of the negative sample boxes is reduced, while the contribution of the positive sample boxes is not reduced. This is because positive samples are extremely rare compared to negative samples and should be retained. In addition, the training target q is used to weight the positive samples. If the intersection of a positive sample and the union is large, its contribution to the loss will be correspondingly larger. In this way, the network focuses on the training of those high-quality positive samples, which is more important for achieving higher accuracy.
[0087] At this point, after loading the trained network model, the stomatal images of crop leaf epidermal cells can be used for stomatal detection. The total number of stomata can also be predicted in real time using a handheld device, and the stomatal density can be calculated. The number of open stomata and their open length and width information can be predicted. The detection results are as follows: Figure 3 The pore data information table formed by the test results is shown in Table 1 below.
[0088] Table 1 Porosity data information table of test results
[0089]
[0090] After introducing the improved loss function, the pore detection accuracy of YOLOv8 increased by 1.2% mAP (meanAverage Precision). The comparison results are shown in Table 2 below.
[0091] Table 2 Results comparison table
[0092]
[0093] It should be noted that the detection images or videos can also be viewed. If the detection and identification results of the stomatal phenotypic traits of crops are satisfactory, the threshold adjustment is stopped, and the stomatal size and phenotypic information are calculated and obtained. If not, the stomatal target confidence threshold and the intersection-over-union ratio threshold in the rotation non-maximum suppression are adjusted as needed, and the trained network model is repeatedly loaded until the desired result is achieved.
[0094] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for intelligent analysis of stomatal phenotypes of non-destructive leaves of crops based on HDIoU, characterized in that: The method comprises the following steps: Obtain stomatal images of crop leaf epidermis to construct training set and validation set, and annotate the images in training set and validation set with dual-target rotating frames respectively; The training set is trained for a preset number of rounds, including: using the backbone network of YOLOv8 to extract the stomatal texture and semantic features of the image to obtain a first type of feature map, fusing the first type of feature map with the second type of feature maps of different scales using the neck network of YOLOv8; inputting the fused feature map into the branch decoupled detection head for prediction to obtain predicted stomatal phenotype data; The network model in each round of training is used to determine the optimal network model by calculating the loss function value based on HDIoU using the validation set, and the stomatal detection is performed on the crop leaf epidermal cell images using the optimal network model.
2. The method for intelligent analysis of stomatal phenotypes of non-destructive leaves of crops based on HDIoU according to claim 1, characterized in that: The method for obtaining the optimal network model is: The average value of the loss function of the network model in each round of training is calculated on the validation set, and the network model corresponding to the round with the minimum average value is taken as the optimal network model.
3. The method for intelligent analysis of stomatal phenotypes of non-destructive leaves of crops based on HDIoU according to claim 1, characterized in that: The training of the training set for a preset number of rounds further includes: Dynamic sample allocation is used to determine the positive and negative sample boxes in the detected rotating box, and then the loss function value of each pore image is calculated, and the momentum stochastic gradient descent method is used to update the parameters of the network model.
4. The method for intelligent analysis of stomatal phenotypes of crop leaves based on HDIoU according to claim 3 is characterized in that: The loss function value calculated based on HDIoU is specifically: Among them, L total is the loss function value of the image, n positive is the number of positive sample frames, i represents the i-th positive sample frame, n pred represents the number of sample frames predicted for this image, j represents the jth predicted sample frame, and w obb and w VFL are the Loss weights of each part, L obb represents the positive prediction box position loss, L VFL Represents the prediction box category loss.
5. The method for intelligent analysis of stomatal phenotypes of non-destructive leaves of crops based on HDIoU according to claim 4, characterized in that: The method for obtaining the positive prediction box position loss is specifically as follows: L obb =1-ThreeStageHDIoU ThreeStageHDIoU=HDIoU-βsmoothCL-αV Among them, ThreeStageHDIoU represents the intersection-over-union ratio based on Hellinger distance in three stages, HDIoU represents the intersection-over-union ratio based on Hellinger distance, a and β represent the characteristic coefficients, y represents the aspect ratio loss of the predicted box, and smoothCL represents the center point loss after smoothing; The prediction box category loss L VFL The specific method of obtaining is: Among them, p i is the intersection-over-union ratio between the predicted rotation box and the corresponding real box, and the real box belongs to the i-th category, q i It represents the score of the i-th category of the predicted rotation box, n represents the number of predicted rotation boxes, and γ is the scaling exponent.
6. The method for intelligent analysis of stomatal phenotypes of non-destructive leaves of crops based on HDIoU according to claim 1, characterized in that: The labeling of the dual-target rotating boxes of the images in the training set and the validation set respectively specifically includes: Use the labeling tool roLabelImg to label the rotating boxes of the two targets in the images in the training set.
7. The method for intelligent analysis of stomatal phenotypes of crop leaves based on HDIoU according to claim 6, characterized in that: The marked information includes: For any stoma in the stomatal image of the training set or the validation set, the center coordinates, width, height and rotation angle of the stomatal morphology are recorded as (c x 、c y , w, h, θ), the rotation box category is stomata; the center point coordinates, width, height and rotation angle of the stomata opening box are recorded as (c′ x , c′ y , w′, h′, θ′), the rotation box category is opening.
8. The method for intelligent analysis of stomatal phenotypes of non-destructive leaves of crops based on HDIoU according to claim 1, characterized in that: The backbone network includes a first convolution module, a second convolution module, a first C2f module, a third convolution module, a second C2f module, a fourth convolution module, a third C2f module, a fifth convolution module and a fourth C2f module which are connected in sequence.
9. The method for intelligent analysis of stomatal phenotypes of crop non-destructive leaves based on HDIoU according to claim 1, characterized in that: The neck network includes a first upsampling module, a first aggregation module, a first C2f module, a second upsampling module, a second aggregation module, a second C2f module, a first convolution module, a third aggregation module, a third C2f module, a second convolution module, a fourth aggregation module, and a fourth C2f module, which are connected in sequence; the first C2f module and the third aggregation module are connected.
10. The method for intelligent analysis of stomatal phenotypes of non-destructive leaves of crops based on HDIoU according to claim 1, characterized in that: The detection head adopts a prediction branch decoupling structure, and the prediction branch includes a target frame category and score prediction branch, and a target frame coordinate information prediction branch.
