| Literature DB >> 30832283 |
Yang-Yang Zheng1, Jian-Lei Kong2,3, Xue-Bo Jin4,5, Xiao-Yi Wang6,7, Min Zuo8,9.
Abstract
Intelligence has been considered as the major challenge in promoting economic potential and production efficiency of precision agriculture. In order to apply advanced deep-learning technology to complete various agricultural tasks in online and offline ways, a large number of crop vision datasets with domain-specific annotation are urgently needed. To encourage further progress in challenging realistic agricultural conditions, we present the CropDeep species classification and detection dataset, consisting of 31,147 images with over 49,000 annotated instances from 31 different classes. In contrast to existing vision datasets, images were collected with different cameras and equipment in greenhouses, captured in a wide variety of situations. It features visually similar species and periodic changes with more representative annotations, which have supported a stronger benchmark for deep-learning-based classification and detection. To further verify the application prospect, we provide extensive baseline experiments using state-of-the-art deep-learning classification and detection models. Results show that current deep-learning-based methods achieve well performance in classification accuracy over 99%. While current deep-learning methods achieve only 92% detection accuracy, illustrating the difficulty of the dataset and improvement room of state-of-the-art deep-learning models when applied to crops production and management. Specifically, we suggest that the YOLOv3 network has good potential application in agricultural detection tasks.Entities:
Keywords: Internet of Things; agricultural autonomous robots; deep convolutional neural networks; greenhouse; real-time online processing
Mesh:
Year: 2019 PMID: 30832283 PMCID: PMC6427818 DOI: 10.3390/s19051058
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Summary of popular general and fine-grained vision datasets with plants.
| Dataset | Classes | Image Number | Annotation Samples Number |
|---|---|---|---|
| Flowers 102 | 102 | 1020 | 0 |
| CUB 200-2011 | 200 | 5994 | 0 |
| Urban Trees | 18 | 14,572 | 0 |
| LeafSnap | 185 | 30,866 | 0 |
| ImageNet | 1000 | 14,197,122 | 1,034,908 |
| MS-COCO | 80 | 300,000 | More than 2,000,000 |
| AI Challenge | 61 | 47,393 | 0 |
| PlantVillage | 38 | 19,298 | 0 |
| iNat2017 | 5089 | 858,184 | 561,767 |
| VegFru | 70 | 160,731 | 0 |
| CropDeep | 31 | 31,147 | 49,765 |
Figure 1Basic dataset comparison chart.
Figure 2The dataset collecting process of agricultural monitoring and management platform.
Images and annotated samples number of each category in CropDeep dataset.
| No. | Categories | Images Number | Annotated Samples Number | Annotated Percentage (%) |
|---|---|---|---|---|
| 1 | Tomato ( | 1021 | 1543 | 3.10 |
| 2 | Unripe tomato ( | 898 | 1367 | 2.75 |
| 3 | Tomato early-blossom ( | 985 | 1914 | 3.85 |
| 4 | Tomato full-blossom ( | 1083 | 1820 | 3.66 |
| 5 | Cucumber ( | 972 | 1287 | 2.59 |
| 6 | Cucumber blossom ( | 1112 | 1646 | 3.31 |
| 7 | Unripe cucumber ( | 898 | 1382 | 2.78 |
| 8 | Winter squash ( | 971 | 1429 | 2.87 |
| 9 | Fingered citron ( | 1083 | 1588 | 3.19 |
| 10 | Pawpaw ( | 930 | 1704 | 3.42 |
| 11 | Head lettuce ( | 916 | 1373 | 2.76 |
| 12 | Endive ( | 951 | 1785 | 3.59 |
| 13 | Butter lettuce ( | 908 | 1527 | 3.07 |
| 14 | Rutabaga ( | 1116 | 1764 | 3.54 |
| 15 | Purple cabbage ( | 977 | 1379 | 2.77 |
| 16 | Luosheng lettuce ( | 1294 | 1840 | 3.70 |
| 17 | Celery ( | 1047 | 1739 | 3.49 |
| 18 | Wolfberry ( | 952 | 1421 | 2.86 |
| 19 | Lemon ( | 1113 | 1545 | 3.10 |
| 20 | Persimmon ( | 1099 | 1893 | 3.80 |
| 21 | Iceberg lettuce ( | 923 | 1802 | 3.62 |
| 22 | Chinese cabbage ( | 1094 | 1594 | 3.20 |
| 23 | Turnip ( | 1029 | 1629 | 3.27 |
| 24 | Green turnip ( | 951 | 1903 | 3.82 |
| 25 | Spinach ( | 1057 | 1557 | 3.13 |
| 26 | Scallion ( | 1033 | 1647 | 3.31 |
| 27 | Watermelon ( | 960 | 1573 | 3.16 |
| 28 | Muskmelon ( | 1190 | 1896 | 3.81 |
| 29 | Chili pepper ( | 1026 | 1821 | 3.66 |
| 30 | Pumpkin ( | 983 | 1652 | 3.32 |
| 31 | Person | 575 | 745 | 1.50 |
| Total | 31147 | 49765 | 100 |
Figure 3Different growth period states of tomato. Left to right: (a) early-blossom, (b) full-blossom, (c) unripe, and (d) ripe.
Figure 4These images belong to different classes but with subtle interclass difference. Left to Right: (a) winter squash, (b) watermelon, (c) muskmelon, and (d) pumpkin.
Figure 5Annotating principle of CropDeep dataset.
Figure 6Experimental frameworks of deep-learning detection and classification model for various crops in the CropDeep dataset.
Averaging accuracy across all species computed by seven classification models.
| Categories | VGG16 | VGG19 | SqueezeNet | InceptionV4 | DenseNet121 | ResNet18 | ResNet50 |
|---|---|---|---|---|---|---|---|
| Tomato | 100 | 100 | 97.9 | 81.63 | 100 | 100 | 100 |
| Unripe tomato | 97.9 | 100 | 97.9 | 100 | 100 | 100 | 100 |
| Tomato early-blossom | 96.5 | 96.3 | 90.9 | 85.1 | 98.4 | 98.1 | 98.8 |
| Tomato full-blossom | 97.5 | 97.2 | 92.3 | 90.2 | 100 | 100 | 100 |
| Cucumber | 96.2 | 98.1 | 90.4 | 88.5 | 98.08 | 96.2 | 98.1 |
| Cucumber blossom | 96.9 | 97.1 | 88 | 86.3 | 98.5 | 96.7 | 98.7 |
| Unripe cucumber | 100 | 100 | 93.5 | 100 | 100 | 100 | 100 |
| Winter squash | 95.2 | 100 | 87.3 | 100 | 100 | 100 | 100 |
| Fingered citron | 100 | 100 | 98.1 | 100 | 100 | 100 | 100 |
| Pawpaw | 100 | 100 | 100 | 100 | 100 | 100 | 100 |
| Head lettuce | 97.3 | 98.3 | 96.5 | 100 | 98.8 | 100 | 100 |
| Endive | 100 | 100 | 95.9 | 100 | 100 | 100 | 100 |
| Butter lettuce | 100 | 100 | 100 | 94.8 | 100 | 100 | 100 |
| Rutabaga | 100 | 98.2 | 89.6 | 100 | 100 | 100 | 100 |
| Purple cabbage | 100 | 100 | 89.5 | 100 | 100 | 100 | 100 |
| Luosheng lettuce | 98.2 | 100 | 92.6 | 100 | 100 | 100 | 100 |
| Celery | 100 | 98.5 | 92.5 | 100 | 100 | 100 | 100 |
| Wolfberry | 100 | 97.7 | 97.7 | 90.7 | 97.6 | 100 | 100 |
| Lemon | 100 | 100 | 95.5 | 100 | 100 | 100 | 100 |
| Persimmon | 98.77 | 100 | 98.8 | 98.7 | 100 | 100 | 100 |
| Iceberg lettuce | 100 | 100 | 100 | 100 | 100 | 100 | 100 |
| Chinese cabbage | 100 | 100 | 100 | 100 | 100 | 100 | 100 |
| Turnip | 100 | 100 | 89.7 | 100 | 100 | 100 | 100 |
| Green turnip | 100 | 98.8 | 91.6 | 100 | 98.8 | 100 | 100 |
| Spinach | 100 | 100 | 94 | 100 | 100 | 100 | 100 |
| Scallion | 100 | 100 | 95.7 | 96.7 | 100 | 100 | 100 |
| Watermelon | 100 | 100 | 90.3 | 100 | 100 | 100 | 100 |
| Muskmelon | 97.7 | 97.8 | 84.2 | 100 | 100 | 100 | 100 |
| Chili pepper | 98.2 | 97.5 | 87.1 | 97.9 | 100 | 100 | 100 |
| Pumpkin | 96.3 | 96.3 | 85.1 | 97.2 | 100 | 100 | 100 |
| Person | 88.8 | 92.3 | 81.6 | 96.1 | 96.3 | 97.3 | 98.6 |
| Average accuracy | 98.56 | 98.84 | 93.03 | 96.89 | 99.56 | 99.62 | 99.81 |
Figure 7Loss function graphs of each classification network.
Detection results offered by different models.
| Detection Architectures | Faster R-CNN | SSD | RFB | YOLOv2 | YOLOv3 | RetNet |
|---|---|---|---|---|---|---|
| Feature Extractor | VGG-16 | VGG-16 | VGG-19 | Darknet-19 | Darknet-53 | ResNet50 |
| Tomato | 90.82 | 90.91 | 90.45 | 97.28 | 97.51 | 98.82 |
| Unripe tomato | 88.76 | 89.18 | 90.18 | 93.3 | 92.34 | 97.62 |
| Tomato early-blossom | 84.16 | 79.82 | 85.17 | 83.02 | 88.42 | 91.09 |
| Tomato full-blossom | 90.13 | 87.11 | 89.79 | 91.28 | 88.41 | 85.1 |
| Cucumber | 79.87 | 80.34 | 80.37 | 88.41 | 86.85 | 83.21 |
| Cucumber blossom | 76.12 | 75.74 | 84.29 | 81.85 | 81.07 | 84.09 |
| Unripe cucumber | 75.47 | 82.05 | 86.17 | 88.01 | 80.5 | 85.21 |
| Winter squash | 91.48 | 90.91 | 90.8 | 96.18 | 96.06 | 92.73 |
| Fingered citron | 94.6 | 99.18 | 95.19 | 99.38 | 98.29 | 100 |
| Pawpaw | 67.17 | 78.89 | 81.38 | 97.52 | 97.36 | 98.61 |
| Head lettuce | 95.76 | 97.02 | 95.47 | 98.79 | 96.21 | 99.38 |
| Endive | 89.02 | 87.92 | 89.12 | 91.81 | 88.78 | 87.54 |
| Butter lettuce | 88.43 | 90.46 | 90.57 | 96.03 | 96.79 | 99.15 |
| Rutabaga | 87.71 | 88.08 | 88.18 | 97.42 | 98.56 | 100 |
| Purple cabbage | 88.79 | 89.15 | 87.99 | 95.3 | 94.47 | 97.61 |
| Luosheng lettuce | 95.29 | 100 | 100 | 100 | 97.71 | 99.3 |
| Celery | 75.74 | 88.24 | 81.15 | 76.62 | 82.67 | 87.61 |
| Wolfberry | 90.33 | 98.42 | 99.86 | 96.81 | 99.35 | 98.11 |
| Lemon | 55.44 | 60.54 | 52.96 | 63.94 | 70.39 | 74.28 |
| Persimmon | 90.46 | 80.22 | 89.09 | 82.54 | 85.65 | 89.63 |
| Iceberg lettuce | 95.65 | 90.91 | 90.91 | 98.61 | 99.14 | 100 |
| Chinese cabbage | 100 | 100 | 100 | 100 | 100 | 100 |
| Turnip | 43.53 | 80.37 | 21.76 | 100 | 100 | 100 |
| Green turnip | 91.31 | 96.97 | 90.7 | 98.91 | 99.97 | 100 |
| Spinach | 63.64 | 63.64 | 63.64 | 62.12 | 63.6 | 66.25 |
| Scallion | 73.02 | 72.73 | 81.06 | 76.42 | 82.54 | 85.62 |
| Watermelon | 80.01 | 79.81 | 84.5 | 90.41 | 89.12 | 91.33 |
| Muskmelon | 90.17 | 86.58 | 90.62 | 86.78 | 88.93 | 87.36 |
| Chili pepper | 88.73 | 87.62 | 88.41 | 94.92 | 100 | 100 |
| Pumpkin | 83.26 | 88.27 | 89.71 | 92.9 | 96.15 | 97.54 |
| Person | 84.71 | 90.91 | 92.62 | 97.63 | 97.88 | 99.3 |
| Average mAP | 83.53 | 86.19 | 85.23 | 90.78 | 91.44 | 92.79 |
Figure 8Speed performance of deep-learning detection networks.
Figure 9Loss function graphs of various detection networks. Left to right: (a) Faster RCNN loss, (b) SSD loss, (c) RFB loss, (d) YOLOv2 loss, (e) YOLOv3 loss, and (f) RetNet loss.
Figure 10Sample detection results for 30 crop class. We see that small and similar objects pose a challenge for classification, even when localized well, in our CropDeep dataset.
Figure 11Test results of practical application in agricultural greenhouse.