| Literature DB >> 36092399 |
Peiyi Lin1, Denghui Li1, Yuhang Jia1, Yingyi Chen1, Guangwen Huang1, Hamza Elkhouchlaa1, Zhongwei Yao1, Zhengqi Zhou1, Haobo Zhou1, Jun Li1,2, Huazhong Lu3.
Abstract
Litchi flowering management is an important link in litchi orchard management. Statistical litchi flowering rate data can provide an important reference for regulating the number of litchi flowers and directly determining the quality and yield of litchi fruit. At present, the statistical work regarding litchi flowering rates requires considerable labour costs. Therefore, this study aims at the statistical litchi flowering rate task, and a combination of unmanned aerial vehicle (UAV) images and computer vision technology is proposed to count the numbers of litchi flower clusters and flushes in a complex natural environment to improve the efficiency of litchi flowering rate estimation. First, RGB images of litchi canopies at the flowering stage are collected by a UAV. After performing image preprocessing, a dataset is established, and two types of objects in the images, namely, flower clusters and flushes, are manually labelled. Second, by comparing the pretraining and testing results obtained when setting different training parameters for the YOLOv4 model, the optimal parameter combination is determined. The YOLOv4 model trained with the optimal combination of parameters tests best on the test set, at which time the mean average precision (mAP) is 87.87%. The detection time required for a single image is 0.043 s. Finally, aiming at the two kinds of targets (flower clusters and flushes) on 8 litchi trees in a real orchard, a model for estimating the numbers of flower clusters and flushes on a single litchi tree is constructed by matching the identified number of targets with the actual number of targets via equation fitting. Then, the data obtained from the manual counting process and the estimation model for the other five litchi trees in the real orchard are statistically analysed. The average error rate for the number of flower clusters is 4.20%, the average error rate for the number of flushes is 2.85%, and the average error for the flowering rate is 1.135%. The experimental results show that the proposed method is effective for estimating the litchi flowering rate and can provide guidance regarding the management of the flowering periods of litchi orchards.Entities:
Keywords: UAV images; convolutional neural network; image analysis; litchi flowering rate; object detection
Year: 2022 PMID: 36092399 PMCID: PMC9453484 DOI: 10.3389/fpls.2022.966639
Source DB: PubMed Journal: Front Plant Sci ISSN: 1664-462X Impact factor: 6.627
FIGURE 1Flower clusters and flushes during the litchi flowering stage.
FIGURE 2Geographical location of the material samples and the top view of the litchi orchard during the flowering period. (A) Geographical location of material samples. (B) Top view the of litchi orchard during the flowering period.
FIGURE 3Image acquisition method.
FIGURE 4Materials, image acquisition, image preprocessing, image annotation, and model training. (A) Image data collected by UAV. (B) Image cropping process. (C) Data enhancement process. (D) Data annotation process. (E) Whole training process.
Numbers of images and pieces of sample information contained in the dataset.
| Dataset | Images | Flower_cluster bounding boxes | Flush bounding boxes |
| Training dataset | 720 | 22908 | 3579 |
| Validation dataset | 240 | 7863 | 1841 |
| Testing dataset | 240 | 7591 | 1638 |
| Complete dataset | 1200 | 38362 | 8830 |
FIGURE 5Network model structure diagram of YOLOv4.
FIGURE 6TP, FP, and FN samples of flower clusters and flushes.
mAPs and speeds obtained with different input image sizes.
| Resolution of each input image (pixels) | mAP (%) | Speed of detection per image (s) |
| 320 × 320 | 84.32 | 0.036 |
| 480 × 480 | 87.09 | 0.039 |
| 640 × 640 | 87.87 | 0.043 |
| 800 × 800 | 87.78 | 0.052 |
| 960 × 960 | 87.61 | 0.069 |
| 1280 × 720 | 85.61 | 0.073 |
Information regarding the mAPs obtained with different batch sizes.
| Batch_size | mAP (%) | |
| Freezing | Unfreezing | |
| 2 | 2 | 87.26 |
| 4 | 2 | 87.87 |
| 8 | 2 | 87.81 |
| 4 | 4 | 86.15 |
| 8 | 4 | 86.03 |
| 16 | 8 | 84.39 |
FIGURE 7Line chart of the mAP of detection with different numbers of epochs.
Evaluation index results of the test set with different models.
| Model | R | P | F1 | AP (%) | mAP | Speed of detection per image (s) | ||||
| Flower_cluster | Flush | Flower_cluster | Flush | Flower_cluster | Flush | Flower_cluster | Flush | (%) | ||
| Faster R-CNN | 85.5 | 82.48 | 74.16 | 71.67 | 0.79 | 0.77 | 82.56 | 79.27 | 80.91 | 0.093 |
| YOLOv4-tiny | 70.92 | 63.17 | 86.37 | 83.31 | 0.78 | 0.72 | 85.59 | 79.57 | 82.58 | 0.036 |
| CenterNet | 75.95 | 74.91 | 90.96 | 84.68 | 0.83 | 0.79 | 87.45 | 82.26 | 84.85 | 0.064 |
| SSD | 82.48 | 80.16 | 83.98 | 76.87 | 0.83 | 0.78 | 87.34 | 83.39 | 85.37 | 0.078 |
| YOLOv4 (this paper) | 85.39 | 74.73 | 86.96 | 83.27 | 0.86 | 0.79 | 90.96 | 84.78 | 87.87 | 0.043 |
Quantitative information for the manual counts and the YOLOv4 model detection results.
| Number | Actual number of flower_clusters (clusters) | Identified number of flower_clusters (clusters) | Actual number of flushes (pcs) | Identified number of flushes (pcs) |
| 1 | 237 | 174 | 10 | 6 |
| 2 | 215 | 132 | 4 | 3 |
| 3 | 302 | 229 | 13 | 9 |
| 4 | 486 | 379 | 48 | 29 |
| 5 | 285 | 203 | 19 | 12 |
| 6 | 396 | 285 | 17 | 11 |
| 7 | 363 | 271 | 46 | 35 |
| 8 | 511 | 348 | 23 | 17 |
FIGURE 8Fitting results for the numbers of flower clusters and flushes on eight litchi trees.
Precision information of the YOLOv4 model detection results obtained under different lighting conditions.
| Illumination conditions | Ground_truth | R (%) | P (%) | F1 | AP (%) | mAP (%) | |||||
| Flower_cluster | Flush | Flower_cluster | Flush | Flower_cluster | Flush | Flower_cluster | Flush | Flower_cluster | Flush | ||
| Front lighting | 743 | 116 | 86.27 | 67.24 | 86.27 | 85.71 | 0.86 | 0.75 | 91.30 | 83.83 | 89.81 |
| Back lighting | 526 | 45 | 89.54 | 75.56 | 89.04 | 82.93 | 0.89 | 0.79 | 94.22 | 85.40 | 87.57 |
FIGURE 9Results of the YOLOv4 model detection results obtained under different lighting conditions.
Precision information of the YOLOv4 model detection results obtained under different sparseness conditions.
| Densities | Ground_truth | R (%) | P (%) | F1 | AP (%) | mAP (%) | |||||
| Flower_cluster | Flush | Flower_cluster | Flush | Flower_cluster | Flush | Flower_cluster | Flush | Flower_cluster | Flush | ||
| Sparse | 358 | 69 | 89.11 | 81.16 | 90.11 | 83.58 | 0.85 | 0.90 | 94.03 | 89.09 | 91.56 |
| Dense | 1274 | 79 | 85.09 | 63.29 | 85.83 | 71.43 | 0.67 | 0.82 | 90.52 | 73.25 | 81.88 |
FIGURE 10Results of YOLOv4 model detection obtained under different sparseness conditions.
FIGURE 11Statistical information of the flower clusters and flushes of 5 litchi trees. (A) Statistical information of the flower clusters. (B) Statistical information of the flushes. (C) Error rates of flower clusters. (D) Error rates of flushes.
Information on the actual and predicted flowering rates of the five trees and their errors.
| Tree number | Actual number of flower_clusters (cluster) | Actual number of flushes | Actual flowering rate | Predicted number of flower_clusters (cluster) | Predicted number of flushes | Predicted flowering rate | Error of flowering rate (%) |
| 1 | 295 | 4 | 98.662 | 308 | 4 | 98.7 | 0.038 |
| 2 | 279 | 7 | 97.552 | 294 | 7 | 97.62 | 0.068 |
| 3 | 232 | 70 | 76.821 | 240 | 67 | 72.08 | 4.741 |
| 4 | 380 | 46 | 89.202 | 372 | 43 | 88.44 | 0.762 |
| 5 | 283 | 29 | 90.705 | 299 | 28 | 90.64 | 0.065 |
| Mean | / | / | / | / | / | / | 1.135 |