Introduction #
The authors introduce CWFID: A Crop/Weed Field Image Dataset as a standardized dataset for addressing tasks such as distinguishing between crops and weeds, conducting single plant phenotyping, and other computer vision challenges in precision agriculture. These images were captured in an organic carrot farm during the early true leaf growth stage of the carrot plants, utilizing the autonomous field robot Bonirob. The dataset encompasses scenarios involving both intra- and inter-row weeds, where weeds and crops share similar size and grow in close proximity.
Each image in the dataset is accompanied by a ground truth vegetation segmentation mask, and the authors have manually annotated the plant type (crop or weed) for further reference. They also present preliminary findings for solving the crop/weed classification phenotyping problem and introduce evaluation methodologies to facilitate comparisons between various approaches.
Summary #
CWFID: A Crop/Weed Field Image Dataset is a dataset for instance segmentation, semantic segmentation, and object detection tasks. It is used in the agricultural industry, and in the biological research.
The dataset consists of 60 images with 492 labeled objects belonging to 2 different classes including crop and weed.
Images in the CWFID dataset have pixel-level instance segmentation annotations. Due to the nature of the instance segmentation task, it can be automatically transformed into a semantic segmentation (only one mask for every class) or object detection (bounding boxes for every object) tasks. All images are labeled (i.e. with annotations). There are no pre-defined train/val/test splits in the dataset. The dataset was released in 2015 by the Bosch Research and Leibniz Universitat Hannover.
Here is the visualized example grid with animated annotations:
Explore #
CWFID dataset has 60 images. Click on one of the examples below or open "Explore" tool anytime you need to view dataset images with annotations. This tool has extended visualization capabilities like zoom, translation, objects table, custom filters and more. Hover the mouse over the images to hide or show annotations.
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/g/n/Sk/osUuHqeMJKnwLWXa31Yfas2nmSxNfQ0GWps68PFp7wKO3QLsvV92H2aPUu9e7DUkJowEJ6uRsOtiOlW02uwJGWQhUZsnwzE1vPSXXTSC8oHoBVADDTYijYz9JGP9.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/t/O/3p/UY0fBO3W6e35nXkxApFtayXOqiSkoEThy3p7sV4EE6sUna2LmYes97KKqr62OMwGVMUp4sGzZ2cs3xTgIytDXQEQf3uDQ2YWesD4xP0OAN58ayWFK1dEtLWxhYqY.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/W/W/DW/ZAPVIOjF2NyWfzBJz2tQUHZvErQNNREp2y1pmEoC8ByE1NjNxamEh00VYoce50nRsZDkcoWVY6oplmrhe0I7yK9roSK3972L1PopZJ1kmgsoeNaGduWmb2nx9l4w.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/y/0/8Y/O2jMEviHN1f63GRqpD2RkCp0VdXUpK2SLTCUkAD2urHvHo042bjh4wa0CYUKjHQoCyR1rmR3zpF7dXbfiiFh2D1P9Q7hH9O8pxLMMq0xgInER8PM21fIzGErWWIt.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/S/e/iO/gcTpoHKbSJx8uguo7asYaccwM76jqmD9nmj8vpT858HjWF5dt5cqX04WdSRr8TKwYtyvn9lHHzrokmDyTdneDxDe89tYvk3DNo1u5MVUhzCCB46Mea3Glja0levr.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/e/M/Ng/PI3rehpVADVAHWrT8xfP3WWdLacWjpEOASy8TpiQKls7KGqdj4sHFezOk8Ksv10iCLamhxOIC4ysePUw8KQVcxprjvg4otThoO3IjdZq73yAEKVEAURHdq5dIlzW.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/R/Y/sd/2NyEyqvmQDCJ5eGJYfFz1DEK8FSLRO0XPn6PokPwojGamu4Jd8v7fq4TGDzkAVaLFR4XOS7O1XA65OTGN2EoWrxMnBZi55dZWihHtaYzpb2QKO4SD3m5KKnHwvlf.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/l/q/60/NGxNKYNfspG248J1nyt9iD1VbO5OHODY7wCYCthceeqsjECuhoNGFE3urxzgkzTMPghLzXhFsJ9HCHhPxLRJulO3ymzkZg7ZbPlNB9aRU4x9ozhtYN4OFrIl0nVi.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/H/L/O3/IEUTaAT0SyqI3ItHYxZpcusRlljZB5ve66ZP5pDOwbCkvxQYVs2GtdTttQy1YqpT7qM20IIx1BIHu06Fq8A6zDZoOxJWk8Ftpi4kZDIz6gFqaSjICEF7fnHabpid.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/g/t/WQ/Uo7LmaOBex1GqPHPTdPSbxlI4bxa8welpDe0bkoLdBesgGGD1FgqNiXLvO7Tvo6q1dTDLNtBDgyYjtvLxNATAIop3i7clSoOYYmKaK9hIC4fs7DFXVLzeNrpmp6T.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/r/A/AX/6tpGox9W5yGhcRq9WSNm40WffazzlKY52K2Mo0cNbCcfcWZEfeg3Uz0ReOXUYI64qMBRNQmKv6k2pAbVBvwYRNe21hUPQhM2Q3O7fU2kPv53g2NSVLmnEi9YlkcG.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/F/u/68/H2Dz7Md7tPQDgbiKaICRwlPlIIKqOt2xJJ7SsSXOaGibesZPF5rhsyklDMVvMEcUKhpBxUWr8nWdcJcicREuB29UBHRPZScNQjWqBFI4Ot6Mb7QZRaffQTny1OvQ.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/s/Y/jE/OnPh4qyVjiCC9T5M1bdAupKuTFHI8gozAC8Bxl132iTMWAGfHHqHQdmKu8TOyu5F2fBXC8YGtDEE53GMzEZYEv2D4O4nsFsKINWF2FMAAqTvAY3fcX5KRBYEjBRN.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/d/j/9I/RXKQ9u5tkQMLuNzd51A5IfcZgtobaIRsfBX8gZbKl1wBfTObtMD5xby9FFofUJzNTdYKEFccV1ZEPjieDDYDjOg8dlsCxHWu3Wn06BrJ5Y9OGYILZVO7isfhlKLx.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/7/g/As/asrjyp8ap855D5biSpnJ6lmS1wFBp9twxbl3gOPZAbqmZPEWpqjyBoqimZyWLmeufXZKn1lj1C6fn97cw2YPUYg3SXmh2zUV0qStgEH3kfAdeBhh6IbsX8zHGhXR.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/T/p/j0/ycZk91NYPPRt2bK39Ta88hV4vUWYaqm0SKPPjSxEjTbAS4tMR8YxrKvjuHrVXIYswvDL9A9tbJbIQm74o5j0IlA5UvKgGx51rxbjK7zFcWR0F2DDjTmNO3NFEvDw.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/q/w/Bs/xbeCGsFNSuWFSIyj6E8CjvzCdQkUmiScP39b3Y0ZVPrElmfySLxRr2dmPpYzor9UZgjaJNylTiRbTGB1ToDhyOrKapitjkSPY8ZK0PnuoZI2PqUswlmQYmzHmnYu.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/E/W/nh/80DF3ojohPMN3D3KixGFTGDLukWn87gAbWbRbsOnDFt7WL14q2DKB6ICep1XXVnIuMZI9dkOY1hRDwF6AdCZz5mp4LgBAPtyDfQzwNjjiZC4gAx7U1fAjUPHpRfh.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/I/O/a3/uBE71oRcWjTBcp5zE9rJ3jiPaydOYRbgF1UgzfbzewzkVyx8DVWsyYlJkNtNZGRZxykKHnCWYCnrp080QdxxXv3zGEb7nbVx78Pdck58qOeJoHqovLmBvjHh1i7o.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/E/N/UG/drlbxS3zMjhUmpU4QhzTlqWX9syjdDruhHdkE3Vq70TpG7vPuqOEJRmRDAKQcKU4kx8O82X4dVIBccTifpJvdlPPz7tIK5Zqe8vKznFyWLLBd6xeSqbXgMfqqBv8.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/I/w/J3/IAxya5jEcOB6rnhC2BUqxQ8owdUp8mFPM3Z9ZtQ8P8mxSduvXCnBRWitE6iph9KxduR2xDOWhohjSqLHNWxWGdf06EhhFEEWBVrYGH24jTKUtCwd6SXECTQezZdG.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/T/o/lS/U1yZqyhVZxg1I6Dw9r3QxiEZycr4LLTy7LhtfEk86KAmKZhtwZz5VSLWawYHLTKhw0DozjlJtqtBbLjVX9QbC37MIeuDFiAsnbuInvVKjwelqsWVCupDqqVKh2qk.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/G/e/qL/UJnELfcHLHmTjJq5XE7tUiW2R5hyA6RtrhZEvzijezsEf8yVK1FFd9pHJQNzVd3kHO7BNP9x3rli7EeMGbqktW03QrT8WCqPz6MwYCI4raOrwHGccVFFxf9Vsdri.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/e/I/S4/C5J6qi0oAk3T0xvm8OlRJXWfEiG06dJes3aJmtWu64Fv1wVC02lBF8zxIAbnW4b2AY0TzEVJsBmF2t0HdP8pCd5WzBZHGxWbrNSobzk2hLKMCgRTBqrSxOkmIgdB.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/s/m/fk/mO9RP6ssKh6eHsrpSySgs9eaO4ykhwla9qPoGLeV13xWjddjSTW0WGI7UG3cqoDR0ZBHTywNuVfTXFdgHiCZTdCM1i40F09rq9qVc4VS2nE0z8DKxJfBitLGHxdx.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/w/z/uN/KWDJTOL2tznYKfBk2p3DRkCgp63R0ekWgKJo80DARAfyUVE3aBmuCTm4ZYNjy3cJvUGXx1zFRy9IEaFwF80dejFAElnOfq2RMttX1guVYcYHjVjGBjyDCjiGmeWL.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/P/j/JV/lAXjrThIURTgCL6TkjvfzOeTkY9b5w0ztnhDVfBzd9q6co1P8E0Y81rqMh20ygBozRbP9g2URHZczQ5EWTTE1p8XgmCwiejhOFuI0hG5DfXyvwXF0KlIaTJrEf05.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/n/8/px/d276ZJb1hMXU5EqMEbQ8bvph3uSJIG3jFR3NPeIDeI8JYhFEuW8RRpByQitSPuoZqQr3tuMkyjor6e5Za0tni6QFIuVFrl8WVQCaogTpGszkNYCxeeAbAehGW1pM.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/A/v/TC/9zYT137FnmB1RXwEH6oySDVhwfuW3Ajc8x66SibsKsYbUpfU52ynXbYsNktC64YOAbjWt7sa85L912IYof1Uofid7qKQlLHR6Pn5sXAlunbGXvKP0CsFvO754AsT.png)
![Sample image from CWFID](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/d/i/en/WsJLpNnkxjOmLuZW1lCDFeoJpHhUJSDDgf3sOTp8aYePSBZY31EXRFPqrDpYbmboLqmQSz1Y6b1FUllA7eddFaVU8tfCssdAEaAPZrC1IC4ERDeZMZQPeFRle1SX.png)
Class balance #
There are 2 annotation classes in the dataset. Find the general statistics and balances for every class in the table below. Click any row to preview images that have labels of the selected class. Sort by column to find the most rare or prevalent classes.
Class ㅤ | Images ㅤ | Objects ㅤ | Count on image average | Area on image average |
---|---|---|---|---|
crop➔ mask | 60 | 162 | 2.7 | 1.61% |
weed➔ mask | 59 | 330 | 5.59 | 5.85% |
Co-occurrence matrix #
Co-occurrence matrix is an extremely valuable tool that shows you the images for every pair of classes: how many images have objects of both classes at the same time. If you click any cell, you will see those images. We added the tooltip with an explanation for every cell for your convenience, just hover the mouse over a cell to preview the description.
Images #
Explore every single image in the dataset with respect to the number of annotations of each class it has. Click a row to preview selected image. Sort by any column to find anomalies and edge cases. Use horizontal scroll if the table has many columns for a large number of classes in the dataset.
Object distribution #
Interactive heatmap chart for every class with object distribution shows how many images are in the dataset with a certain number of objects of a specific class. Users can click cell and see the list of all corresponding images.
Class sizes #
The table below gives various size properties of objects for every class. Click a row to see the image with annotations of the selected class. Sort columns to find classes with the smallest or largest objects or understand the size differences between classes.
Class | Object count | Avg area | Max area | Min area | Min height | Min height | Max height | Max height | Avg height | Avg height | Min width | Min width | Max width | Max width |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
weed mask | 330 | 1.05% | 7.19% | 0.03% | 29px | 3% | 682px | 70.6% | 186px | 19.28% | 36px | 2.78% | 600px | 46.3% |
crop mask | 162 | 0.6% | 1.98% | 0.08% | 42px | 4.35% | 272px | 28.16% | 137px | 14.2% | 39px | 3.01% | 308px | 23.77% |
Spatial Heatmap #
The heatmaps below give the spatial distributions of all objects for every class. These visualizations provide insights into the most probable and rare object locations on the image. It helps analyze objects' placements in a dataset.
![Spatial Heatmap](https://cdn.datasetninja.com/github/dataset-ninja/cwfid/main/stats/classes_heatmaps.png)
Objects #
Table contains all 492 objects. Click a row to preview an image with annotations, and use search or pagination to navigate. Sort columns to find outliers in the dataset.
Object ID ㅤ | Class ㅤ | Image name click row to open | Image size height x width | Height ㅤ | Height ㅤ | Width ㅤ | Width ㅤ | Area ㅤ |
---|---|---|---|---|---|---|---|---|
1➔ | weed mask | 003_image.png | 966 x 1296 | 176px | 18.22% | 163px | 12.58% | 1.08% |
2➔ | weed mask | 003_image.png | 966 x 1296 | 238px | 24.64% | 282px | 21.76% | 1.73% |
3➔ | weed mask | 003_image.png | 966 x 1296 | 130px | 13.46% | 323px | 24.92% | 1.14% |
4➔ | crop mask | 003_image.png | 966 x 1296 | 84px | 8.7% | 206px | 15.9% | 0.3% |
5➔ | crop mask | 003_image.png | 966 x 1296 | 248px | 25.67% | 236px | 18.21% | 1.7% |
6➔ | weed mask | 003_image.png | 966 x 1296 | 165px | 17.08% | 104px | 8.02% | 0.37% |
7➔ | weed mask | 003_image.png | 966 x 1296 | 107px | 11.08% | 114px | 8.8% | 0.39% |
8➔ | weed mask | 003_image.png | 966 x 1296 | 167px | 17.29% | 166px | 12.81% | 1.13% |
9➔ | weed mask | 011_image.png | 966 x 1296 | 160px | 16.56% | 97px | 7.48% | 0.41% |
10➔ | weed mask | 011_image.png | 966 x 1296 | 319px | 33.02% | 224px | 17.28% | 1.26% |
License #
All data is subject to copyright and may only be used for non-commercial research. In case of use please cite our publication.
Contact Sebastian Haug sebastian.haug@de.bosch.com for any questions.
Citation #
If you make use of the CWFID data, please cite the following reference:
@inproceedings{haug15,
author={Haug, Sebastian and Ostermann, J{\"o}rn},
title={A Crop/Weed Field Image Dataset for the Evaluation of Computer Vision Based Precision Agriculture Tasks},
year={2015},
booktitle={Computer Vision - ECCV 2014 Workshops},
doi={10.1007/978-3-319-16220-1_8},
url={http://dx.doi.org/10.1007/978-3-319-16220-1_8},
pages={105--116},
}
If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:
@misc{ visualization-tools-for-cwfid-dataset,
title = { Visualization Tools for CWFID Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/cwfid } },
url = { https://datasetninja.com/cwfid },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-08 },
}
Download #
Dataset CWFID can be downloaded in Supervisely format:
As an alternative, it can be downloaded with dataset-tools package:
pip install --upgrade dataset-tools
… using following python code:
import dataset_tools as dtools
dtools.download(dataset='CWFID', dst_dir='~/dataset-ninja/')
Make sure not to overlook the python code example available on the Supervisely Developer Portal. It will give you a clear idea of how to effortlessly work with the downloaded dataset.
The data in original format can be downloaded here.
Disclaimer #
Our gal from the legal dep told us we need to post this:
Dataset Ninja provides visualizations and statistics for some datasets that can be found online and can be downloaded by general audience. Dataset Ninja is not a dataset hosting platform and can only be used for informational purposes. The platform does not claim any rights for the original content, including images, videos, annotations and descriptions. Joint publishing is prohibited.
You take full responsibility when you use datasets presented at Dataset Ninja, as well as other information, including visualizations and statistics we provide. You are in charge of compliance with any dataset license and all other permissions. You are required to navigate datasets homepage and make sure that you can use it. In case of any questions, get in touch with us at hello@datasetninja.com.