# Annotated Food Crop and Weed Images for Robotic Vision: 1,176 Images of 6 Crops and 8 Weed Species with 7,853 Boxes (AgML Mirror)

## Facts

- Provider: Kaspars Sudars et al.; Hugging Face mirror by Project-AgML
- License: CC-BY-4.0 (https://data.mendeley.com/public-api/datasets/nj4vtk4tt6?version=1)
- Size: 3 files
- Format: Parquet (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/Project-AgML/crop_weed_detection_latvia
- Access: public, readable without an account
- DOI: https://doi.org/10.17632/nj4vtk4tt6.1
- Category: Agriculture & Environment
- Source: https://huggingface.co/datasets/Project-AgML/crop_weed_detection_latvia
- Page: https://scigantic.com/archive/169229b1-ff9b-597c-b8a5-e34d35274359
- Keywords: Agriculture & Environment, Parquet, Hugging Face

## About

The dataset holds 1,176 images in which six food crops and eight weed species are annotated, 7,853 annotations in total, made for computer vision control of agricultural robots. Three RGB cameras were used: an Intel RealSense D435, a Canon EOS 800D and a Sony W800. Plants were grown in controlled environment and field conditions and photographed at different growth stages. The original release gives XML annotation files per image; this mirror groups the boxes into two categories (crop and weed). Useful for crop and weed detection and for training weeding robots. Stored as Parquet shards with the image bytes and annotations in columns; load with datasets.load_dataset("Project-AgML/crop_weed_detection_latvia") or through the AgML Python library (Project-AgML, UC Davis), which reformatted the original release. License: CC BY 4.0, as stated by the original publisher; cite Kaspars Sudars et al. et al. and the DOI 10.17632/nj4vtk4tt6.1.

## Load the data

```python
from datasets import load_dataset
ds = load_dataset("Project-AgML/crop_weed_detection_latvia")
print(ds)
```

## Data structure

File types in sampled files: Parquet

Example file: `data/train-00000-of-00001.parquet`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/169229b1-ff9b-597c-b8a5-e34d35274359
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/169229b1-ff9b-597c-b8a5-e34d35274359
- Over MCP: `get_schema_card` with id `169229b1-ff9b-597c-b8a5-e34d35274359` at https://api.scigantic.com/mcp

## Related topics

- [Parquet datasets](https://scigantic.com/topics/parquet)
- [Agriculture & Environment datasets](https://scigantic.com/topics/agriculture-and-environment)
