task_categories:image-segmentation size_categories:10K<n<100K license:cc-by-2.0 region:us
---
license: cc-by-2.0
pretty_name: GRAPEVISTA
size_categories:
- 10K<n<100K
task_categories:
- image-segmentation
---
# GRAPEVISTA - GRAPE Vineyard Imaging and Segmentation Technology Archive

## Description
This dataset contains two collections of high-resolution images captured in various vineyards called **VITIGEOSS** and **WGISD_Extension**. Each image is accompanied by either ground truth annotations or produced segmentation mask, providing valuable data for vineyard-related computer vision and machine learning tasks.


## Dataset Details
- **Source**: 
    - **VITIGEOSS**: These images were collected by infield cameras installed in 5 different vineyards across Italy, Spain and Portugal.
    - **WGISD_Extension**: These images were collected during field visits to vineyards as mentioned in the  [original work](https://github.com/thsant/wgisd).
- **Citation**: Please cite the dataset as follows:
``` latex
@inproceedings{blanco23automatic,
  title={On the automatic detection and monitoring of Leaves and Grapes using in-field optical cameras},
  author={Blanco, Giacomo and Oldani, Federico and Salza, Dario and Rossi, Claudio},
  booktitle={2023 IEEE international workshop on metrology for agriculture and forestry (MetroAgriFor)},
  year={2023},
  organization={IEEE}
}
```


## Dataset Content
- **Number of Images**: 
    - **VITIGEOSS**: 4545
    - **WGISD_Extension**: 8910 training + 1107 validation
- **File Format**: JPEG
- **Ground Truth Annotation Format**: PNG

## Data Fields/Columns
The two collections are provided with the following format:
- **VITIGEOSS**:
    - `image_filename`: {CompanyCode}_{VineyardCode}_{CameraCode}_{Variety}_{YYYY-MM-DDTHH:MM:SS}.jpg
    - `annotation_filename`: {CompanyCode}_{VineyardCode}_{CameraCode}_{Variety}_{YYYY-MM-DDTHH:MM:SS}.png
- **WGISD_Extension**:
    - `image_filename`: {WGISDOriginalName}_{N}.jpg where N is the number of augmentation of the same image
    - `annotation_filename`: {WGISDOriginalName}_{N}_labelTrainIds.jpg where N is the number of augmentation of the same image

## Ground Truth Annotation
For both collections semantic segmentation annotations are reported as images where each pixel indicates class among *background, leaves and grapes* for correspondent image
- **WGISD_Extension**: Ground truth annotations are obtained together with augmented images creation
- **VITIGEOSS**: Images are not provided with ground truth annotations but with the semgnation mask produced by the model developed in the aforemention work

## Dataset extraction
In order to extract GRAPEVISTA dataset for archive files, run the following commands
``` shell
cd data
cat grapevista.tar.*.gz.part > grapevista.tar.gz
tar -xvzf grapevista.tar.gz
``` 

## License Information
This dataset is provided under the CC BY-NC 2.0 license. See the [LICENSE](https://creativecommons.org/licenses/by-nc/2.0/) website for details.