| Literature DB >> 35399196 |
Shubo Wang1,2, Yu Han3,4, Jian Chen1, Xiongkui He2, Zichao Zhang1,5, Xuzan Liu1, Kai Zhang1.
Abstract
With the development of ecological irrigation area, a higher level of detection and control categories for weeds are currently required. In this article, an improved transfer neural network based on bionic optimization to detect weed density and crop growth is proposed, which used the pre-trained AlexNet network for transfer learning. Because the learning rate of the new addition layer is difficult to tune to the best, the weight and bias learning rate of the newly added fully connected layer is set with particle swarm optimization (PSO) and bat algorithm (BA) to find the optimal combination on the small data set. Data are transported to the convolutional neural network (CNN) by collecting red-green-blue (RGB) and 5-band multispectral images of 3 kinds of weeds and 3 kinds of crops as data sets, through cutting, rotating, and other operations. Finally, 6 kinds of classifications are implemented. At the same time, a self-constructed CNN based on model-agnostic meta-learning (MAML) is proposed in order to realize the learning of neural networks with small sample and high efficiency, and its accuracy is verified in the test set. The neural networks optimized by two bionic optimization algorithms are compared with the self-constructed CNN based on MAML and histogram of oriented gradient + support vector machine (HOG + SVM). The experimental results show that the combination of learning rate through BA is the best, and its accuracy can reach 99.39% for RGB images, 99.53% for multispectral images, and 96.02% for a 6-shot small sample. The purpose of the classification proposed in this article is to calculate the growth of various plants (including weeds and crops) in the farmland. And various plant densities can be accurately calculated through the plant density calculation formula and algorithm proposed in this article, which provides a basis for the application of variable herbicides by experimenting in different farmlands. Finally, an excellent cycle of ecological irrigation district can be promoted.Entities:
Keywords: UAV remote sensing; bat algorithm; bionic optimization; convolutional neural network; model-agnostic meta-learning; multispectral; weeds density
Year: 2022 PMID: 35399196 PMCID: PMC8987725 DOI: 10.3389/fpls.2021.735230
Source DB: PubMed Journal: Front Plant Sci ISSN: 1664-462X Impact factor: 5.753
FIGURE 1Flowchart of algorithm selection based on different sample sizes.
FIGURE 2The overall flow of the bionic optimization.
FIGURE 3Optimal solution process for PSO.
Parameter settings in PSO.
| Subject |
|
|
|
| ω | ω |
|
|
| Parameter | 20 | 30 | 2 | 2 | 1.2 | 0.8 | 2 | −2 |
FIGURE 4An iterative process for bats looking for food.
FIGURE 5Optimal solution process for BA.
Parameter settings in BA.
| Subject | maxiter |
|
|
|
|
|
| Parameter | 20 | 10 | −1 | 1 | 0.85 | 0.1 |
FIGURE 6The iterative graph. (A) Experiment 1 of PSO. (B) Experiment 2 of PSO. (C) Experiment 1 of BA. (D) Experiment 1 of BA.
Results of two optimizations.
| Subject | BA | PSO | ||
| Weight | Bias | Weight | Bias | |
| First | 10.2354 | 7.6387 | 6.1143 | 9.7588 |
| Second | 6.3334 | 9.4124 | 2.2756 | 14.0331 |
| Average | 8 | 8 | 4 | 12 |
FIGURE 7The training process of MAML.
FIGURE 8Flowchart of MAML fusion CNN.
FIGURE 9(A) Route rules. (B) Ground condition.
FIGURE 10Multispectral image acquisition.
RedEdge parameters.
| Band number | Band | Center wavelength (nm) | Bandwidth FWHM (nm) |
| 1 | Blue | 475 | 20 |
| 2 | Green | 560 | 20 |
| 3 | Red | 668 | 10 |
| 4 | Near IR | 840 | 40 |
| 5 | RedEdge | 717 | 10 |
FIGURE 11(A) Low-altitude captured image. (B) Cropped image.
Collection of sample set and label.
| Subject |
|
| Maize | Peanut seedlings | Wheat | Total | |
| Label | 100000 | 010000 | 001000 | 000100 | 000010 | 000001 | |
| Train set | 370 | 252 | 227 | 490 | 490 | 458 | 2287 |
| Test set | 158 | 108 | 97 | 210 | 210 | 196 | 979 |
FIGURE 12Each band of multispectral image.
Accuracy and time of every method.
| Method | CNN + RGB | CNN + MS | MAML + CNN + RGB ( | HOG + SVM ( | |||||||
| PSO | BA | Default | BA | 2-Shot | 6-Shot | ||||||
| Parameters | Learning rate factor | (8,8) | (4,12) | (1,1) | (4,12) | ||||||
| Iteration | 72 | 144 | 72 | 144 | 72 | 144 | 144 | 9,600 | 9,600 | ||
| Time (s) | 68 | 116 | 68 | 116 | 68 | 116 | 196 | 11 | 25 | 400 | |
| Accuracy | 93.46% | 98.47% | 95.20% | 99.39% | 38.51% | 71.20% | 99.53% | 68.62% | 96.02% | 69.46% | |
The density calculation results of different farmlands.
| Subject |
|
| Maize | Peanut seedlings | Wheat | |
| Farmland 1 | 5 | 5 | 10 | 162 | 0 | 0 |
| Ground truth 1 | 2.75% | 2.75% | 5.49% | 89.01% | ||
| CNN+RGB | 2.20% | 2.75% | 4.95% | 90.11% | ||
| CNN+MS | 2.20% | 2.75% | 6.04% | 89.01% | ||
| MAML+CNN+RGB | 2.20% | 2.20% | 7.69% | 87.91% | ||
| Farmland 2 | 3 | 5 | 15 | 0 | 151 | 0 |
| Ground truth 2 | 1.72% | 2.87% | 8.62% | 86.78% | ||
| CNN+RGB | 1.15% | 4.02% | 7.47% | 87.36% | ||
| CNN+MS | 2.30% | 3.45% | 8.62% | 85.63% | ||
| MAML+CNN+RGB | 2.87% | 4.02% | 9.20% | 83.91% | ||
| Farmland 3 | 2 | 7 | 12 | 0 | 0 | 140 |
| Ground truth 3 | 1.24% | 4.35% | 7.45% | 86.96% | ||
| Experiment 3 | 1.24% | 4.35% | 6.83% | 87.58% | ||
| CNN+MS | 1.24% | 3.73% | 8.07% | 86.96% | ||
| MAML+CNN+RGB | 1.24% | 2.48% | 8.07% | 88.20% |
FIGURE 13(A) Density histogram of Farmland 1.(B) Density histogram of Farmland 2. (C) Density histogram of Farmland 3.