Introduction #
Weed detection from images has garnered substantial attention from scientific communities in recent years. However, there are only a few available datasets suitable for weed detection from unmanned and other ground vehicles and systems. Addressing mentioned issues, the authors introduce a new dataset named Carrot-Weed designed for weed detection under varying light conditions. This dataset comprises RGB images captured from young carrot seedlings throughout the month of February in the vicinity of Negotino, Republic of Macedonia. The authors conducted an initial analysis of the dataset and reported their preliminary findings, achieved through the utilization of convolutional neural network architectures.
Summary #
Carrot-Weed: Weed Detection Dataset with RGB Images Taken under Variable Light Conditions is a dataset for instance segmentation, semantic segmentation, and object detection tasks. It is used in the agricultural research.
The dataset consists of 39 images with 745 labeled objects belonging to 2 different classes including weed and carrot.
Images in the Carrot-Weed 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 2017 by the University of Sts. Cyril and Methodius in Skopje, Macedonia.
Here is the visualized example grid with animated annotations:
Explore #
Carrot-Weed dataset has 39 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 Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/B/l/3M/ZgOlGueZrHCOWKffi1qPOjJWZCZ2H4RkLTvTtI2DottrAAEueWyzfWxIV98Ccip7N2keYJUjyIatZcXBJq322142GbpiMPS9oXfaA1AT0O2soc0P78wYWzqoDyob.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/v/q/nO/Khah182mYtkIhlKfLBb9QpfglHL8qqldavUwDflrlbZHm62Q4eeMGWUQaqwkATviJbdVkod2fznijZ1XeN4wwNJrS8Bxzgkc2WjBhrOgJnki8gtHy73Rkcd6wsFL.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/V/W/QA/fEQiGRGeeEUgNmEcMOgc5s5LFVyq7MuogFzVxnofAGIRRM0mgrxhtQfkvX0Crx7yKby8eupzoJRq8KhKao7XniuDRDkDAQpVoYFL0kljankVYSJwpK1PMafMP9E6.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/d/C/R8/NtAYruyeQqGHNONoMzEymgtqWDbdZ2Kp5fD7uiAwiLHuODIX1TcC7zzYvZift1YKoVPrQce8cSEYp38Ps9QhY8MFZuSEjLYbyRivz984IaRgpkspf3u9PyU1CM1i.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/A/C/N5/vINMKpH6kjNHdVoBTxBz79L4WxVhXbEVqVB5fHg4puznWbiC0cmFYAzxrByafT6FyLhuaLmD63t0U2A54CnQ2FjCvayjd0fxw06DKRDZOd062SKwvQp3It9GHufF.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/N/I/fM/0VPY163uswbpVuReZiqHQseXOmnkB56Pt0Zx44tiWo81XyMNVgetVkMkTuzNJEMMxwbgTrtmzLGsz5C1rxAUnqXuApMiitTHTZE0vtYxUM95OeDjqfg7lS5NzHaw.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/B/c/BB/XhNijZfdO7sIOKFsPGcFnGiCii1xlZm4JGourktrKYe1jmAGkUxUEtOQp44I2IdkpPM0tMSx85Z4zyKMMB53trAH3WtiJb4FdsK7ZpJ2FfM2bDMR64HxMoyORYgi.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/b/6/KQ/A9QooWtAdFsPosr8WyJyq3afZgK2CHWI96AKUI3bL50toPcEl7KouTCsfgU2fmdvXURwbELEJtb88JWthSJ3yReM2yeQrQ7J80KZLSQaKYI0FYQwldMYwQmwxUuc.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/G/G/St/P1WrSbz5BuuwANGwKp3IUQuIslP5dszPxrHOqgnFv7fKjIyrpBwBIztGhqO1ZN3A3kTIq1fymDCkSOgu2YjvCY36MSiITJpEyPBpA7lM1hofiVnSuLSQy8J5M9um.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/w/S/ZJ/MAl0MHUL9Ot8fiitRmswH0a0wiECNtMXXvxT5RwYVbaH4JDIm8Jo0vFvMvN887ggYlj0B1Rrill0ywMLiVj6ZFga2wHc2t40gUFPZTRTb0Tt0dKicuu9Q7IUUdyh.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/q/i/cl/hsp8hx98HPi1ZRpDa2nNyx8V5inli4PcqWh8dXZNfXqNgBnYxqKOrdp1o8xyL0Ss3fxGXjo2oFKbP18SU5kVqq9sZvOCWSWJrQRo9gfnHfSMcU7H6HCvX3lyYPEY.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/7/D/yh/7klVStuPUYZG5ZsTGS3P47G9bDYvhjwIp3oypc32Wt90IBy3qsQ7jOaGxnw7dfboFXbuwyTCm3dlYm91oYyJauDXbgd4SCgp21ZTU7EqxBNdXiiRdmw84AFYBy7P.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/I/z/H9/BueDm6Uw8Rdxpky4We6jjJFYInqOlzdzIZIoztE995NeCKwY9xanhKPLHUPOuv6P0KUrcJi3a9Lz9L8d2PztI6XHCYUHo6ZaFfoR9eCDqn64w2lkbpfyuV4oXOLz.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/L/m/fN/pxRnp0oSNd9mrPmCoTZx9MRUGzuayEZEm40kndCnZnU6qBPSOp9ajyPmXJ0qOheu1biccdYMZd3edAjr4iF8RW98zZDIttOpHjtcBYcaZLHNYkQaB6OO7UapgCVR.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/M/8/Sf/VqWHZRua39ya2ELKuAJ9Kn8WxDj4Uaeqt56RNQ4VGUkXuNmLMjPEc8a70lbO7D6EMo7wsdEnIYD69lOnr7XYaUqY2SvAbHZ4xpzNjSOTkrutXFQ07lgxULdTbaJC.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/D/S/36/GK5ra8DlgOTJL9tyJhYx1X1Rqe8AcSxedukqiI52FiETRVwbXpcf7Bn1Y68w1Azaxt0i2JgDi3Y0YFkJMybdpzNgQyzRaxvXXGcgotIKbn2i1uyLrYfcZ2qOryx2.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/p/P/aL/JUxjJX7391Eat4PSDiDayUStBglOBMQ9unAED39wH8Wi31lk9NyQpp4GTDCy2kJKXBEkJ1Bh2ugep9hJkPQleFBKcwqdGrSwOxkKx25zXwTco2sBJqFvNYDeaVx8.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/U/u/FX/rX7WHGHo1nwUGn29yDBH4HvE2yXbDSR8PlWGyzv2K1LxCE4NWhEDM943dGqbQ4DfnfpKn57AVSH3hF4hHuUN0V6sthAzyorj07cEzzsJHUTlSHOhnt6trUHPrNyk.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/F/F/IG/4EDb6HRWSCWNzhMCD6YqA26XcYRX29W9XmyeLertPKgzLeuZq31jSBdNCigKyt9QfVGik1eRVyeoEkP6g4mYg5Yv7OgdDWbbVLayiN7zbWvRfR3DEJi64WhdIHR5.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/X/h/RC/osAQ7Jd8lv9LdK9y1JIYfSSuhrLAdNhfafTESdWXLl4BJb3eIuFTrNhX1ZTq2AkqMRgmrtYLs1QswbSi3wiJgLKkUBRUEyk3nYe1BDUqJ6WsfXrZsFFkkUkyz8TH.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Y/k/oj/zBFTmtKfeyUUpjIxD43ZejQhRsuJ4El45oyxxRoC9S17vooTtGvkiABASYT4aUAeDREBfU1Cv2gk5tdIJm1s5Zf07Qpmld2F4vS9plkeN4sybUfsDfpsCvmeQ2vV.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/C/w/LZ/F45JlmWSS6BQNm9ztx68eQftGihrYEbOqcQ2bo88IZ9O7aAfIATiZ0OYORav2Bm7iBGgJQ0f8Tbfo2ADkPZkGNWcW7AtjsbBUXsrdxi9DxUdkADuMDQmkBXTIsas.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/d/y/Q1/eqFVjaT6pAtEBDBuBVV0nXWwkrgq7HTfEEdtbuBFCDeXiYiwLEOODlc3mAjLn1Lcb7sOuOrurTpiX63U8Haq62ZNSPlIadWDwo29Nt8oKJZzO52v1ilaT9b9iVmU.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/2/p/ko/z8AigHLDdmjVUMpMH4sEhhUosKjk0fiNuP2ve1OE9XDG7GJYK09VRNKqHyXs3AjJck8yG8zrIvVthq1gXCGWRDO7ubYxfi8IrXBawoQ1GifkkY77JqWm5J8rhFNd.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/P/T/P0/iTUHBf6NJpEWtCFRrkcD0ZgNUmcOwJaM5PFf2OhnUDQMgAxxOFEptFqOyEGuRyD8pGAXHV0RbH2QRXCy1OwJiQdnpUBqNAz7Vug8U6BzrQCfTxT1WB34GWkdoqBS.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/d/k/F6/oIVslDzmgBXFUD3oJUNMj8XamMsClWYnG2B1QyL7Frr3ii6zQUDr6JSuseGunXHurd8GlprC1JHYQ0XPRbe37GLC0KbjZJTIoflY7EG4gPWqAtysKJyx4rBesap6.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/I/IB/TPJbqNSILX6RRDIaGI7UIEcRJGMrS4yOs4BdN6pPxOtLtzr5sE04mdUmNo9I2qEG4gN2eq364CShrP0c0FjUS9yvsyUOftodkjVdH58xeJufoZR5BI5bvSmFKwfF.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/y/l/od/xhKeVDU8yZLkPWv68V2IMUiwVZsq3WlZFYkIX4BJSkEgBg4amvWORSP15Iv8ndiz6g5Pl4JPaEKdEoask6aDrEEQyRER0HnRkoP9ZGlCGjoi5ie6qeKTToJ49d0a.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/W/n/YD/fTfPfj2YRuzollh0jkfqLvzuXPQRFhSh67S46PCP2xoplhqBpa3gsIG047zIqH0JCdYb0QbhJXORql8qynkd6edTKL0LKmjiSgAqvp3Gjy0I9p3NGk699wN0ELeF.jpg)
![Sample image from Carrot-Weed](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/p/1/PO/KmNCzyIAePV9MIbj25GoYDaODv6zCGKiweXUclSCSFyZtqgwVM1tiLtdujChuuEmu6Y6JdlrSk12BTGnkFLhlBeeLdxbEmbEnIHXv1rsIcvCzxK2M3eZMOz5pjxO.jpg)
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 |
---|---|---|---|---|
weedâž” mask | 39 | 624 | 16 | 5.45% |
carrotâž” mask | 39 | 121 | 3.1 | 8.53% |
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 | 624 | 0.34% | 8.56% | 0.04% | 33px | 1.35% | 2448px | 100% | 262px | 10.7% | 40px | 1.23% | 3264px | 100% |
carrot mask | 121 | 2.75% | 9.59% | 0.05% | 86px | 3.51% | 1739px | 71.04% | 703px | 28.7% | 85px | 2.6% | 1724px | 52.82% |
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/weed/main/stats/classes_heatmaps.png)
Objects #
Table contains all 745 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 | IMG_3450.JPG | 2448 x 3264 | 95px | 3.88% | 198px | 6.07% | 0.1% |
2âž” | weed mask | IMG_3450.JPG | 2448 x 3264 | 114px | 4.66% | 46px | 1.41% | 0.04% |
3âž” | weed mask | IMG_3450.JPG | 2448 x 3264 | 1018px | 41.58% | 1108px | 33.95% | 2.88% |
4âž” | weed mask | IMG_3450.JPG | 2448 x 3264 | 125px | 5.11% | 68px | 2.08% | 0.04% |
5âž” | weed mask | IMG_3450.JPG | 2448 x 3264 | 108px | 4.41% | 146px | 4.47% | 0.04% |
6âž” | weed mask | IMG_3450.JPG | 2448 x 3264 | 1019px | 41.63% | 1038px | 31.8% | 3.67% |
7âž” | weed mask | IMG_3450.JPG | 2448 x 3264 | 136px | 5.56% | 422px | 12.93% | 0.22% |
8âž” | weed mask | IMG_3450.JPG | 2448 x 3264 | 158px | 6.45% | 121px | 3.71% | 0.07% |
9âž” | weed mask | IMG_3450.JPG | 2448 x 3264 | 214px | 8.74% | 290px | 8.88% | 0.15% |
10âž” | weed mask | IMG_3450.JPG | 2448 x 3264 | 500px | 20.42% | 782px | 23.96% | 1.56% |
License #
The dataset can be used freely for non-commercial applications. For any additional information please contact: Petre Lameski petre.lameski@finki.ukim.mk
Citation #
If you make use of the Weed detection data, please cite the following reference:
Petre Lameski, Eftim Zdravevski, Vladimir Trajkovik, Andrea Kulakov, "Weed detection dataset with RGB images taken under variable light conditions", 9th International Conference ICT Innovations 2017, 18-21 September, Skopje, Macedonia
If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:
@misc{ visualization-tools-for-weed-dataset,
title = { Visualization Tools for Carrot-Weed Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/weed } },
url = { https://datasetninja.com/weed },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-08 },
}
Download #
Dataset Carrot-Weed 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='Carrot-Weed', 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.