| Literature DB >> 35606537 |
Xinfa Wang1,2, Zubko Vladislav3, Onychko Viktor3, Zhenwei Wu4, Mingfu Zhao5.
Abstract
In order to realize the intelligent online yield estimation of tomato in the plant factory with artificial lighting (PFAL), a recognition method of tomato red fruit and green fruit based on improved yolov3 deep learning model was proposed to count and estimate tomato fruit yield under natural growth state. According to the planting environment and facility conditions of tomato plants, a computer vision system for fruit counting and yield estimation was designed and the new position loss function was based on the generalized intersection over union (GIoU), which improved the traditional YOLO algorithm loss function. Meanwhile, the scale invariant feature could promote the description precision of the different shapes of fruits. Based on the construction and labeling of the sample image data, the K-means clustering algorithm was used to obtain nine prior boxes of different specifications which were assigned according to the hierarchical level of the feature map. The experimental results of model training and evaluation showed that the mean average precision (mAP) of the improved detection model reached 99.3%, which was 2.7% higher than that of the traditional YOLOv3 model, and the processing time for a single image declined to 15 ms. Moreover, the improved YOLOv3 model had better identification effects for dense and shaded fruits. The research results can provide yield estimation methods and technical support for the research and development of intelligent control system for planting fruits and vegetables in plant factories, greenhouses and fields.Entities:
Mesh:
Year: 2022 PMID: 35606537 PMCID: PMC9127091 DOI: 10.1038/s41598-022-12732-1
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.996
Figure 1Micro-Tom dwarf tomatoes planted in the PFAL laboratory of our university and its image acquisition system.
Figure 2Samples of collected original image data.
Figure 3Enhanced illustration of the original image data.
Figure 4Principle of YOLO target recognition algorithm.
Figure 5Principle of DarkNet53 Multi-scale feature extraction.
Prior bounding boxes allocation of feature maps of different scales.
| Feature map size/(pixels × pixels) | Prior bounding box size/(pixels × pixels) |
|---|---|
| 13 × 13 | (73 × 46), (93 × 75), (128 × 125) |
| 26 × 26 | (36 × 45), (52 × 34), (55 × 64) |
| 52 × 52 | (22 × 17), (25 × 31), (37 × 24) |
Figure 6Tomato fruit border boxes GIOU.
Figure 7Data annotation demonstration.
Setting of model training parameters.
| Parameters | Value |
|---|---|
| Iteration ordinal number | 700 |
| Batch size | 8 |
| Momentum parameter | 0.9 |
| Learning rate | 0.001 |
| Confidence threshold | 0.5 |
| Non-maximum suppression threshold | 0.3 |
Figure 8Algorithm flow chart.
Figure 9Loss function of training.
Performance comparison of algorithms.
| Algorithm | mAP (Mean average precision %) | Single image detection time (ms) |
|---|---|---|
| YOLOv3 | 96.5 | 15 |
| Improved YOLOv3 | 99.3 | 15 |
Statistics of accuracy of tomato fruit yield estimation.
| Model/algorithm | For red fruits (%) | For green fruits (%) | For whole fruits (%) |
|---|---|---|---|
| YOLOv3 | 97.0 | 95.2 | 96.1 |
| Improved YOLOv3 | 99.4 | 99.3 | 99.3 |
Figure 10Fruit recognition effect in special field of view.
Yield estimation accuracy of tomato in special field of view.
| Model/algorithm | For red fruits | For green fruits | ||||
|---|---|---|---|---|---|---|
| Sparse | Dense | Occluded | Sparse | Dense | Occluded | |
| YOLOv3 | 96.7 | 93.6 | 89.7 | 96.74 | 92.3 | 89.3 |
| Improved YOLOv3 | 99.6 | 99.5 | 98.9 | 99.5 | 99.4 | 98.7 |