Tree species identification method and system based on deep learning SSD technology

Through the tree species identification method based on deep learning SSD technology, combined with drone collection data and laser range finder, the SSD model is optimized to identify tree species, which solves the problems of low recognition accuracy and slow efficiency in traditional methods, and achieves efficient and accurate Tree species identification and biomass estimation.

CN118762297APending Publication Date: 2024-10-11NANKAI UNIV +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410883507.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Traditional drones and deep learning models have problems with low recognition accuracy and slow data collection efficiency in tree species identification and biomass estimation. Especially in large data volumes and complex environments, traditional models require manual segmentation of the canopy, which reduces work efficiency. .

Method used

A tree species identification method based on deep learning SSD technology is used to collect tree crown data through drones, target marking and data set construction are carried out, the scSE module is introduced to optimize the SSD target detection algorithm, the model is trained to identify tree species, and a laser rangefinder is used to obtain the tree crown. height, improving recognition accuracy and efficiency.

Benefits of technology

It achieves efficient and accurate tree species identification and biomass estimation, solves the problems of low identification accuracy and slow efficiency in traditional methods, significantly speeds up the work of forestry surveys, and reduces the difficulty of manual annotation and the time of data set production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762297A_ABST
    Figure CN118762297A_ABST
Patent Text Reader

Abstract

The invention discloses a tree species identification method and system based on a deep learning SSD technology, and relates to the technical field of computer vision and deep learning, and the method comprises the steps: obtaining a sample tree crown image and a sample tree crown height of a sample measurement tree species collected by an unmanned plane; performing target marking on the sample crown image to obtain a marked sample crown image; constructing an experimental data set according to each marked sample tree crown image; based on the experimental data set and the SSD target detection model, training the improved SSD target detection model to obtain a trained SSD target prediction model; the improved model is obtained by introducing an scSE module on the basis of the algorithm; and based on the trained SSD target prediction model, performing tree species identification on the crown image. According to the method, the SSD target detection algorithm is improved by introducing the scSE module, and the experimental data set is constructed in combination with the sample data collected by the unmanned aerial vehicle, so that accurate identification of the determined tree species in the crown image of the planting area is realized, and the tree species identification efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer vision and deep learning technology, and in particular to a tree species identification method and system based on deep learning SSD technology. Background Art

[0002] Studying forest biomass, the basis of carbon dynamics in terrestrial ecosystems, is one of the important topics in studying terrestrial ecosystem productivity and global climate change. When collecting data, the traditional machine learning models of commonly used drones often have poor training results and poor recognition accuracy due to insufficient data collected. In addition, when collecting data, traditional drones can only display the flight altitude of the drone, but cannot measure the altitude of the target, and collect even less target information.

[0003] Moreover, after inputting the drone data, the traditional deep learning model still needs to manually segment the tree crown, which reduces the work efficiency. The traditional deep learning model is divided into two stages. The first stage is to distinguish the foreground and background, and only performs binary classification, and regresses to obtain the area where the foreground is located. The second stage uses the features of the corresponding range on the extracted feature map to perform classification and regression prediction again. This makes the work efficiency relatively low and is not suitable for tree crowns with large amounts of data. Summary of the invention

[0004] The purpose of this application is to provide a tree species identification method and system based on deep learning SSD technology, which can improve the accuracy of tree species identification and biomass estimation, and at the same time solve the problem of slow biomass estimation by manual measurement and other models.

[0005] To achieve the above objectives, this application provides the following solutions:

[0006] In a first aspect, the present application provides a tree species identification method based on deep learning SSD technology, comprising:

[0007] The crown data of the sampled tree species collected by the drone are obtained; the crown data includes the sample crown image and the sample crown height.

[0008] The sample tree crown image is subjected to target marking to obtain a marked sample tree crown image; the target includes the tree species name of the tree crown.

[0009] An experimental data set is constructed according to each of the labeled sample tree crown images and the sample tree crown heights; the experimental data set includes a training set, a test set, and a validation set divided in a set ratio.

[0010] Based on the experimental data set, the improved SSD target detection algorithm is trained to obtain a trained SSD target prediction model; wherein the improved SSD target detection algorithm is an algorithm obtained by introducing the scSE module after conv4_3, conv7, conv9, and conv11 on the basis of the original SSD target detection algorithm.

[0011] Based on the trained SSD target prediction model, tree species are identified in the crown images of any planting area taken by UAV.

[0012] Optionally, before obtaining the crown data of the tree species measured by the sample collected by the drone, it also includes:

[0013] Obtain samples to determine tree species in the study area.

[0014] Several sample plots are set up in the research area; the sample plots are landmark areas for sample determination of tree species.

[0015] A drone is used to take photos in each plot according to a designated planned route to obtain the crown data of the sample test tree species in each plot; the drone is equipped with a 4K high-definition lens and a laser rangefinder.

[0016] Optionally, before performing target marking on the sample tree crown image to obtain the marked sample tree crown image, the method further includes:

[0017] The sample tree crown image is expanded to obtain a sample data set of the sample tree crown image.

[0018] Optionally, the sample tree crown image is expanded to obtain a sample data set of the sample tree crown image, specifically including:

[0019] Based on the sample tree crown image, the image brightness, saturation, and contrast of the sample tree crown image are changed, and horizontal / vertical flipping is performed to obtain an expanded sample data set.

[0020] Optionally, after expanding the sample tree crown image to obtain a sample data set of the sample tree crown image, the method further includes:

[0021] The images in the sample data set are subjected to superpixel segmentation processing to obtain processed images; wherein the processed images are used for target marking to obtain marked sample tree crown images.

[0022] In the second aspect, the present application provides a tree species identification system based on deep learning SSD technology, including:

[0023] The data acquisition module is used to obtain the crown data of the sampled tree species collected by the drone; the crown data includes the sample crown image and the sample crown height.

[0024] The target marking module is used to mark the sample tree crown image to obtain a marked sample tree crown image; the target includes the tree species name of the tree crown.

[0025] The data set construction module is used to construct an experimental data set according to each of the labeled sample tree crown images and the sample tree crown heights; the experimental data set includes a training set, a test set and a validation set divided in a set ratio.

[0026] The training module is used to train the improved SSD target detection algorithm based on the experimental data set to obtain a trained SSD target prediction model; wherein the improved SSD target detection algorithm is an algorithm obtained by introducing the scSE module after conv4_3, conv7, conv9, and conv11 on the basis of the original SSD target detection algorithm.

[0027] The recognition module is used to identify tree species in the crown images of any planting area taken by the drone based on the trained SSD target prediction model.

[0028] Optionally, it also includes:

[0029] The area determination module is used to obtain the research area for sample determination of tree species.

[0030] The sample plot setting module is used to set up a number of sample plots in the research area; the sample plots are landmark areas for sample determination of tree species.

[0031] The data acquisition module is used to use a drone to take pictures in each sample plot according to a specified planned route to obtain the crown data of the sample test tree species in each sample plot; the drone is equipped with a 4K high-definition lens and a laser rangefinder.

[0032] Optionally, an image expansion module is also included.

[0033] The image expansion module is used to expand the sample tree crown image to obtain a sample data set of the sample tree crown image.

[0034] Optionally, the image expansion module specifically includes:

[0035] The image expansion submodule is used to change the image brightness, saturation, and contrast of the sample tree crown image based on the sample tree crown image, and to perform horizontal / vertical flipping to obtain an expanded sample data set.

[0036] Optionally, it also includes:

[0037] The image segmentation module is used to perform superpixel segmentation processing on the images in the sample data set to obtain processed images; wherein the processed images are used for target marking to obtain marked sample crown images.

[0038] According to the specific embodiments provided in this application, this application discloses the following technical effects:

[0039] The present application provides a tree species identification method and system based on deep learning SSD technology. The method includes the following steps: first, the crown data of the tree species is measured by collecting samples through drones, including sample crown images and corresponding sample crown heights; then, the collected sample crown images are marked with targets, and the tree species names of the crowns are clearly marked, so as to obtain the marked sample crown images; then, according to the marked sample crown images, an experimental data set is constructed, and the data set is divided into a training set, a test set and a validation set according to a set ratio; then, based on the experimental data set and the sample crown height, the improved SSD target detection algorithm is trained to obtain the trained SSD target prediction model; wherein the SSD target detection algorithm is based on the original version, and is optimized by introducing the scSE module after conv4_3, conv7, conv9, and conv11; finally, based on the trained SSD target detection model, the crown images of any planting area taken by the drone are used for tree species identification. Through this method, the present application can achieve accurate and efficient tree species identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 A flowchart of a tree species identification method based on deep learning SSD technology provided in one embodiment of the present application;

[0042] Figure 2 A schematic diagram of a research area provided for an embodiment of the present application;

[0043] Figure 3 A schematic diagram of a sample plot planning provided in an embodiment of the present application;

[0044] Figure 4 A schematic diagram of a drone route provided in one embodiment of the present application;

[0045] Figure 5 A front view of a customized drone provided in one embodiment of the present application;

[0046] Figure 6 A bottom view of a customized drone provided in one embodiment of the present application;

[0047] Figure 7 A schematic diagram of superpixel segmentation processing provided in an embodiment of the present application;

[0048] Figure 8 A schematic diagram of initial data in superpixel segmentation processing provided in an embodiment of the present application;

[0049] Fig. 9 A schematic diagram of processed data in a superpixel segmentation process provided in an embodiment of the present application;

[0050] Fig.10 A schematic diagram of a VOC data set provided in an embodiment of the present application;

[0051] Fig.11 A schematic diagram of matching a priori frame and annotated frame provided in an embodiment of the present application;

[0052] Fig.12 A schematic diagram of a feature fusion module provided in an embodiment of the present application;

[0053] Fig.13 A structural diagram of a tree species identification process provided in an embodiment of the present application;

[0054] Fig.14 A performance comparison diagram provided for an embodiment of the present application;

[0055] Fig.15 A structural diagram of a tree species identification system based on deep learning SSD technology provided in one embodiment of the present application.

[0056] Explanation of symbols:

[0057] High-speed motor—1, drone body—2, propeller—3, GPS positioning system—4, obstacle perception system—5, customized laser rangefinder—6, high-definition 180° camera—7, bracket—8, parameter adjustment interface—9, LED indicator—10, storage card slot—11, visual positioning system—12. DETAILED DESCRIPTION

[0058] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0059] The purpose of this application is to provide a tree species identification method and system based on deep learning SSD technology, which can improve the accuracy of tree species identification and biomass estimation, and at the same time solve the problem of slow biomass estimation by manual measurement and other models.

[0060] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0061] In one embodiment, Figure 1 As shown, a tree species identification method based on deep learning SSD technology is provided, including the following steps 101 to 105.

[0062] Step 101: Acquire crown data of sampled tree species collected by a drone; the crown data includes a sample crown image and a sample crown height.

[0063] Step 102: Mark the sample tree crown image to obtain a marked sample tree crown image; the target includes the tree species name of the tree crown.

[0064] Step 103: constructing an experimental data set according to each of the labeled sample tree crown images and the sample tree crown heights; the experimental data set includes a training set, a test set, and a validation set divided in a set ratio.

[0065] Step 104: Based on the experimental data set, the improved SSD target detection algorithm is trained to obtain a trained SSD target prediction model; wherein the improved SSD target detection algorithm is an algorithm obtained by introducing the scSE module after conv4_3, conv7, conv9, and conv11 on the basis of the original SSD target detection algorithm.

[0066] Step 105: Based on the trained SSD target prediction model, tree species are identified for the tree crown images of any planting area taken by the drone.

[0067] In some implementations of this embodiment, before executing step 101, the following steps may also be included:

[0068] Obtain samples to determine tree species in the study area.

[0069] Several sample plots are set up in the research area; the sample plots are landmark areas for sample determination of tree species.

[0070] A drone is used to take photos in each plot according to a designated planned route to obtain the crown data of the sample test tree species in each plot; the drone is equipped with a 4K high-definition lens and a laser rangefinder.

[0071] Specifically, Figure 2 As shown in the figure, select the research area for determining tree species. Select the research area in the satellite image and set up five 100*100 sample plots in the area, as shown in the figure. Figure 3 As shown in the figure, the sample plot is located in the landmark area of ​​the tree species to be measured, and the drone is used to follow the Figure 4 The designated planned route shown is photographed in the sample plot, a fixed appropriate height is set, the tree crown is photographed vertically from top to bottom, the shooting interval is set to 5s, and a customized laser rangefinder is used to measure the height from the tree crown when taking pictures. From the original photos, some pictures without samples are eliminated, and the remaining pictures are processed as training data sets.

[0072] Among them, the drone selected in this embodiment is a specially customized drone, such as Figure 5 and Figure 6 As shown, the customized UAV includes a high-speed motor 1, a UAV body 2, a propeller 3, a GPS positioning system 4, an obstacle sensing system 5, a customized laser rangefinder 6, a high-definition 180° camera 7, a bracket 8, a parameter adjustment interface 9, an LED indicator light 10, a storage card slot 11, and a visual positioning system 12. In particular, because the UAV device carries a 4K high-definition lens and a customized laser rangefinder, the distance between the UAV and the tree canopy is measured by the laser rangefinder, and the UAV itself can know its own flight altitude, which is generally measured by an ultrasonic sensor or a barometer (sensor). Therefore, the height of the tree can be estimated based on the height of the UAV itself.

[0073] In some implementations of this embodiment, before executing step 102, the following steps may also be included:

[0074] The sample tree crown image is expanded to obtain a sample data set of the sample tree crown image.

[0075] The images in the sample data set are subjected to superpixel segmentation processing to obtain processed images; wherein the processed images are used for target marking to obtain marked sample tree crown images.

[0076] Specifically, a sample data set is created by changing the brightness, saturation, and contrast of the image, and flipping the original image horizontally / vertically. The image difference method is first used to change the size of the original image to different sizes, and then five areas are randomly cropped from the scaled image to generate new images. Expand enough data sets. Using the principle of the Mask-RCNN instance segmentation network, while improving the receptive field and enhancing the network's attention to shallow features such as edges and colors, a method for creating a tree crown data set based on superpixel segmentation is used. A controllable linear iterative clustering (Simple Linear Iterative Cluster, SILC) superpixel segmentation algorithm is selected. The number of pixels is k, and the total number of pixels in the grid is N, then the grid size S is After dividing the image into S*S grids, each grid center is the superpixel center. For pixel pi = (x, y, r, g, b), according to the formula

[0077]

[0078] Where d1 represents the distance between pixels 1 and 2 in three-dimensional space, and d2 represents the distance in color space.

[0079] According to the formula, the distance between each pixel and the superpixel center can be calculated, and the nearest center point is selected to assign the pixel to the superpixel. After the superpixel center points are grouped, the weighted average is generally used as the superpixel center update method to find the brightest point in the internal pixel in the superpixel, and the new superpixel center point is used to replace the original superpixel center point. Finally, iterate repeatedly until the center point no longer changes. When using the iterative acceleration method to segment single tree crowns using small-scale drone remote sensing images, the parameter value needs to be appropriately increased. Figure 7-9 As shown in the figure, after segmentation, forest land and buildings can be distinguished. This can significantly reduce the difficulty of labeling, facilitate the subsequent crown extraction work to realize the crown and surrounding buildings, save time in making data sets, and help train models to capture features, making prediction results more accurate.

[0080] In some implementations of this embodiment, the captured photos are also pre-processed, which may be as follows:

[0081] The preprocessed images were formatted and unified into .jpg format. Adobe Bridge 2024 was used to unify the naming, starting from 000001 and ending with the final image. All images were stored in the JPEGimages folder in the VOC dataset. Labelimg was used to create a label file for the tree species to be identified. The format was xml and stored in the Annotations folder in the VOC dataset. At the same time, the data file in the Labelimg file was modified to list the names of the tree species to be identified. Fig.10 The VOC dataset shown.

[0082] After the data set is arranged, the VOC data set is obtained. You need to use voc_annotation.py to obtain the two txt files, train and val, for training. Modify the parameters in voc_annotation.py. For the first training, you can only modify the classes_path. The classes_path is used to point to the txt corresponding to the detection category. Create a cls_classes.txt, in which you write the categories of tree species you need to distinguish, such as maobaiyang and wutong. Note that pinyin letters need to be used instead of Chinese. Modify the classes_path in voc_annotation.py to correspond to cls_classes.txt, and run voc_annotation.py.

[0083] In some implementations of this embodiment, when executing step 104, the specific steps may be as follows:

[0084] During the training process, we first need to determine which prior box the annotation box in the training image should match, and the bounding box corresponding to the matching prior box will be responsible for predicting it. Fig.11 As shown in the figure, the SSD prior box will first find the prior box with the largest overlap rate and match it to ensure that each prior box has a matching annotation box. (The prior box that matches the annotation box is a true sample. If the prior box does not match a recognized annotation box, it is a false sample.) There are very few annotation boxes in an image, but there are many prior boxes. If there is only a one-to-one correspondence, the positive and negative samples are extremely unbalanced, so it is necessary to adjust the SSD threshold parameter to 0.5. For unmatched prior boxes, if a certain annotation box is greater than a certain threshold, then the prior box is also matched with this annotation box. Achieve matching of one annotation box with multiple prior boxes.

[0085] Secondly, calculate the loss function L(loss), which is the weighted sum of the confidence error L1 and the position error L2. The formula is as follows:

[0086]

[0087] Where N is the number of true samples, and the solution formula for the confidence error L1(x,c) is as follows:

[0088]

[0089] Among them, the weight coefficient Set to 1, N is the number of true samples, is an indicator parameter. When , it means that the i-th prior box matches the j-th annotation box, and the category of the annotation box is p, c is the category confidence prediction value; l is the position prediction value of the corresponding bounding box of the prior box, and g is the position parameter of the annotation box, x is the indicator parameter, is the confidence encoding value of the i-th prior box category p; is the standard confidence of the i-th prior box.

[0090] For the position error L2, Smooth L1 loss is used, which is defined as follows:

[0091]

[0092]

[0093] In the formula, m refers to the number of feature maps, and the range of i and j is 0-|f k |, f k is the feature map size, d is the expansion rate parameter, {cx, cy, w, h} is the center coordinate of the priori box, cx is the horizontal coordinate of the priori box, cy is the total coordinate of the priori box, w is the width of the priori box, h is the height of the priori box, and the position of the i-th priori box is express, is the position parameter of the jth annotation box, is the encoding position parameter of the jth annotation box, is the matching indicator parameter between the i-th prior box and the j-th annotation box in the k-th feature map; is the position prediction value of the i-th prior frame; is the encoding position parameter of the jth annotation box.

[0094] because The existence of , so the position error is only calculated for positive samples. It is worth noting that the g of the annotation box must be encoded first to obtain Because the predicted value l is also an encoded value, set variance_encoded_in_target = True.

[0095] In order to ensure that the positive and negative samples are as balanced as possible, SSD adopts the method of sampling the negative samples. When sampling, they are arranged in descending order according to the confidence error (the smaller the confidence of the predicted background, the larger the error), and the top-k samples with larger errors are selected as negative samples for training to ensure that the ratio of positive and negative samples is close to 1:3.

[0096] In target detection, the box predicted by the model is compared with the labeled box. After training multiple epochs (epoch is the generation that needs to be trained, and each generation is when the code runs through all the data once), the weights will be generated in the logs folder.

[0097] Among them, the improvements in the SSD target detection model are as follows:

[0098] Improvement 1: The semantic information captured in the forward calculation of the convolution is passed back to the shallower layer to improve the detection performance of small objects, making up for the defect that SSD does not use VGG and does not use conv feature maps. Since a large receptive field usually introduces a lot of useless background noise, an appropriate conv layer is used to provide useful contextual information, and the receptive fields of different layers are explored through convolution methods to enhance the display and select a suitable feature fusion layer. Inject contextual information into the shallower layer (conv4_3) that lacks semantic information, and design as follows Fig.12 The feature fusion module shown in Figure 1. Among them, ReLU is the activation function, which is responsible for accepting the output value of the neuron in the previous layer as the input value of this neuron, and passing the input value to the next layer. The neuron node in the input layer will pass the input attribute value directly to the next layer. In order to make the feature map of the conv5_3 layer the same size as the conv4_3 layer, the conv5_3 layer is followed by a deconvolution layer, and the deconvolution layer is initialized by bilinear upsampling. Two 3×3 convolution layers are used after the conv4_3 layer and the conv5_3 layer to learn better features for fusion. Then they are connected along the channel axis. The final fused feature map is generated by a 1×1 convolution layer for dimensionality reduction and feature reorganization.

[0099] Improvement point 2: The scSE module is introduced after conv4_3, conv7, conv9, and conv11 to improve network performance.

[0100] When executing step 105, the specific steps may be as follows:

[0101] In the prediction process, two files are needed for training result prediction, namely ssd.py and predict.py. Modify model_path and classes_path in ssd.py. model_path points to the trained weight file in the logs folder. classes_path points to the txt file corresponding to the detection category. After completing the modification, you can run predict.py for detection. Fig.13 As shown in the figure, after running, input the image path to detect an input image (300x300), input it into the pre-trained classification network (improved traditional VGG16 network) to obtain feature maps of different sizes; extract the convolution layers of Conv4_3, Conv7, Conv8_2, Conv9_2, Conv10_2, and Conv11_2, and then construct 6 prior frames of different sizes at each point on these convolution layers. Then perform detection and classification respectively to generate multiple prior frames that initially meet the conditions. For each prior frame, first determine its category (the one with the largest confidence) and confidence value based on the category confidence, and filter out the predicted frames belonging to the background. Then filter out the predicted frames with lower thresholds based on the confidence threshold (such as 0.5). The remaining prediction frames are decoded, and their true position parameters are obtained according to the prior frames. The non-maximum suppression method (NMS) is used to remove and filter out the prior frames that do not meet the requirements. Because a large number of erroneous and inaccurate prior frames will be generated in multiple convolutional layers, a large number of overlapping detections will occur if they are not processed, which will affect the performance of the image algorithm. The prior frames finally obtained are the recognition results. Combined with the identified tree species and height information, the information such as forest carbon storage is refined.

[0102] Among them, in this embodiment, the tree species identification method based on deep learning SSD technology in this application is also compared with the identification method based on FasterR-CNN and YOLO. Fig.14 As shown. This application uses the SSD target detection model to train and identify tree crowns, which captures tree crown features more accurately and is superior to manual work in terms of accuracy and speed. Due to the use of a one-time prediction method, the repeated calculation process is reduced, which greatly speeds up the training speed. The training speed is significantly higher than the currently commonly used Faster-Rcnn. A large amount of data can be trained in a short period of time to identify tree crowns. While taking into account speed, the accuracy of the SSD target detection model is much higher than that of YOLO for the same amount of data.

[0103] In one embodiment, Fig.15 As shown, a tree species identification system based on deep learning SSD technology includes:

[0104] The data acquisition module 1501 is used to acquire the crown data of the sample measurement tree species collected by the drone; the crown data includes the sample crown image and the sample crown height.

[0105] The target marking module 1502 is used to mark the sample tree crown image as a target to obtain a marked sample tree crown image; the target includes the tree species name of the tree crown.

[0106] The data set construction module 1503 is used to construct an experimental data set according to each of the labeled sample tree crown images and the sample tree crown heights; the experimental data set includes a training set, a test set and a validation set divided in a set ratio.

[0107] The training module 1504 is used to train the improved SSD target detection algorithm based on the experimental data set to obtain a trained SSD target prediction model; wherein the improved SSD target detection algorithm is an algorithm obtained by introducing the scSE module after conv4_3, conv7, conv9, and conv11 on the basis of the original SSD target detection algorithm.

[0108] The identification module 1505 is used to identify tree species in the tree crown image of any planting area taken by the drone based on the trained SSD target prediction model.

[0109] In some embodiments, the system further comprises:

[0110] The area determination module is used to obtain the research area for sample determination of tree species.

[0111] The sample plot setting module is used to set up a number of sample plots in the research area; the sample plots are landmark areas for sample determination of tree species.

[0112] The data acquisition module is used to use a drone to take pictures in each sample plot according to a specified planned route to obtain the crown data of the sample test tree species in each sample plot; the drone is equipped with a 4K high-definition lens and a laser rangefinder.

[0113] Image expansion module: The image expansion module is used to expand the sample tree crown image to obtain a sample data set of the sample tree crown image.

[0114] The image expansion module specifically includes: an image expansion submodule, which is used to change the image brightness, saturation, and contrast of the sample crown image based on the sample crown image, and to perform horizontal / vertical flipping to obtain an expanded sample data set.

[0115] The image segmentation module is used to perform superpixel segmentation processing on the images in the sample data set to obtain processed images; wherein the processed images are used for target marking to obtain marked sample crown images.

[0116] In summary, this application has the following beneficial effects:

[0117] 1) This application proposes a method for identifying trees by combining an unmanned aerial vehicle with an SSD model (SSD is the abbreviation of Single Shot MultiBox Detector, which is a single-stage target detection model) in deep learning. When estimating forest biomass, this method is used to determine the tree species in forest plots, which solves the time-consuming and labor-intensive traditional manual identification of tree species when measuring small-area forest biomass, and avoids the problem that the biomass of forest land in environments such as quagmires and swamps is difficult to measure manually. It solves the problem of poor accuracy in biomass prediction due to macro remote sensing, improves the accuracy of tree species identification and biomass estimation, and is of great significance to the estimation of forest carbon storage. At the same time, it solves the problem of slow speed of manual measurement and other models in estimating biomass, greatly speeding up the work of forestry surveys.

[0118] 2) This application improves the segmentation technology and training model during data processing, and uses exposure, reverse cropping and other methods to enhance the data. The final amount of data is 5 times higher than the original data, making the data volume better than other methods. UAV remote sensing technology can help automatically collect various types of high-precision forest data and reduce manpower investment.

[0119] 3) When processing the collected data, the present application uses machine learning to pre-segment the collected data, which can significantly reduce the difficulty of labeling, facilitate the subsequent crown extraction work to realize the crown and surrounding buildings, save the time of making data sets, improve the model's feature extraction effect on trees, and help train the model to capture features, making the prediction results more accurate.

[0120] 4) The SSD in this application proposes the knowledge of the prior box. Compared with the Prior Box, a preset candidate area is set, which can better locate the target to be identified, adjust the aspect ratio of the prior box, and set the prior box at different scales. Therefore, it can handle targets of different sizes well and avoid errors caused by height and angle. It is suitable for tree crowns of different sizes and distances.

[0121] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0122] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. A tree species identification method based on deep learning SSD technology, characterized in that: The tree species identification method based on deep learning SSD technology includes: Acquire the crown data of the sampled tree species collected by the drone; the crown data includes the sample crown image and the sample crown height; Performing target marking on the sample tree crown image to obtain a marked sample tree crown image; the target includes the tree species name of the tree crown; Constructing an experimental data set according to each of the labeled sample tree crown images and the sample tree crown heights; the experimental data set includes a training set, a test set, and a validation set divided in a set ratio; Based on the experimental data set, the improved SSD target detection model is trained to obtain a trained SSD target prediction model; wherein the improved SSD target detection model is a model obtained by introducing the scSE module after conv4_3, conv7, conv9, and conv11 on the basis of the original SSD target detection algorithm; Based on the trained SSD target prediction model, tree species are identified in the crown images of any planting area taken by UAV.

2. According to the tree species identification method based on deep learning SSD technology in claim 1, it is characterized in that: Before obtaining the canopy data of the tree species collected by drone samples, it also includes: Study area where samples were obtained to determine tree species; Several sample plots are set up in the research area; the sample plots are landmark areas for sample determination of tree species; A drone is used to take photos in each plot according to a designated planned route to obtain the crown data of the sample test tree species in each plot; the drone is equipped with a 4K high-definition lens and a laser rangefinder.

3. According to the tree species identification method based on deep learning SSD technology in claim 1, it is characterized in that: Before performing target marking on the sample tree crown image to obtain the marked sample tree crown image, the method further includes: The sample tree crown image is expanded to obtain a sample data set of the sample tree crown image.

4. According to the tree species identification method based on deep learning SSD technology of claim 3, it is characterized in that: Expanding the sample tree crown image to obtain a sample data set of the sample tree crown image specifically includes: Based on the sample tree crown image, the image brightness, saturation, and contrast of the sample tree crown image are changed, and horizontal / vertical flipping is performed to obtain an expanded sample data set.

5. The tree species identification method based on deep learning SSD technology according to claim 4 is characterized in that: After expanding the sample tree crown image to obtain a sample data set of the sample tree crown image, the method further includes: The images in the sample data set are subjected to superpixel segmentation processing to obtain processed images; wherein the processed images are used for target marking to obtain marked sample tree crown images.

6. A tree species identification system based on deep learning SSD technology, characterized in that: include: A data acquisition module is used to acquire the crown data of the sampled tree species collected by the drone; the crown data includes the sample crown image and the sample crown height; A target marking module is used to mark the sample tree crown image to obtain a marked sample tree crown image; the target includes the tree species name of the tree crown; A data set construction module, used to construct an experimental data set according to each of the labeled sample tree crown images and the sample tree crown heights; the experimental data set includes a training set, a test set and a validation set divided in a set ratio; A training module is used to train the improved SSD target detection algorithm based on the experimental data set to obtain a trained SSD target prediction model; wherein the improved SSD target detection algorithm is an algorithm obtained by introducing the scSE module after conv4_3, conv7, conv9, and conv11 on the basis of the original SSD target detection algorithm; The recognition module is used to identify tree species in the crown images of any planting area taken by the drone based on the trained SSD target prediction model.

7. The tree species identification system based on deep learning SSD technology according to claim 6 is characterized in that: Also includes: The area determination module is used to obtain the study area for sample determination of tree species; A sample plot setting module, used for setting a number of sample plots in the research area; The sample plot is a landmark area for sample determination of tree species; The data acquisition module is used to use a drone to take pictures in each sample plot according to a specified planned route to obtain the crown data of the sample test tree species in each sample plot; the drone is equipped with a 4K high-definition lens and a laser rangefinder.

8. The tree species identification system based on deep learning SSD technology according to claim 6 is characterized in that: Also includes image expansion module; The image expansion module is used to expand the sample tree crown image to obtain a sample data set of the sample tree crown image.

9. The tree species identification system based on deep learning SSD technology according to claim 8 is characterized in that: The image expansion module specifically includes: The image expansion submodule is used to change the image brightness, saturation, and contrast of the sample tree crown image based on the sample tree crown image, and to perform horizontal / vertical flipping to obtain an expanded sample data set.

10. A tree species identification system based on deep learning SSD technology according to claim 9, characterized in that: Also includes: An image segmentation module is used to perform superpixel segmentation processing on the images in the sample data set to obtain processed images; The processed image is used for target marking to obtain a marked sample crown image.

Citation Information

Patent Citations

  • Tree species identification method based on multi-source remote sensing of unmanned aerial vehicle

    CN113591766A

  • Large-scale trademark detection method based on deep learning

    CN114266887A

  • Unmanned aerial vehicle tree identification method, equipment, storage medium and device

    CN116258956A