# MusselSeg: Drone Imagery Semantic Segmentation of Rocky Intertidal Mussel Beds, British Columbia and California (Hakai Institute)

## Facts

- Provider: Hakai Institute; University of California Santa Cruz
- License: CC-BY-4.0 (https://huggingface.co/datasets/HakaiInstitute/mussel-seg-1024-1024)
- Size: 17 files
- Stored at: Hugging Face, https://huggingface.co/datasets/HakaiInstitute/mussel-seg-1024-1024
- Access: public, readable without an account
- DOI: https://doi.org/10.57967/hf/2760
- Category: Environmental Science
- Source: https://huggingface.co/datasets/HakaiInstitute/mussel-seg-1024-1024
- Page: https://scigantic.com/archive/b734251f-0011-5d87-bd3e-18770e8e69cb
- Keywords: Environmental Science, image segmentation, Hugging Face

## About

A semantic segmentation dataset of rocky intertidal mussel habitat from very high resolution drone (UAV) imagery collected by the Hakai Institute and the University of California Santa Cruz between 2021 and 2023 on the central coast of British Columbia, Canada, and in California, USA, covering about 3,500 square meters. Each of 9,972 GeoTIFF tiles (1024 by 1024 pixels, 50 percent overlap, mean ground sampling distance 0.45 cm) is paired with a pixel mask that labels mussel bed (about 13 percent of pixels) or background, made by manual heads-up digitizing with manual verification. Data are WebDataset tar shards split into train, validation and test folders (42 GB), loaded with the datasets library (load_dataset with split train, validation or test; keys img.tif and seg.tif) or streamed. Intended for training models that map mussel beds for coastal ecology and intertidal monitoring. Released by the Hakai Institute under CC BY 4.0; cite the dataset, DOI 10.57967/hf/2760.

## Load the data

```python
from huggingface_hub import hf_hub_download
path = hf_hub_download(repo_id="HakaiInstitute/mussel-seg-1024-1024", filename="test/000000.tar", repo_type="dataset")
print(path)
```

## Data structure

Example file: `test/000000.tar`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/b734251f-0011-5d87-bd3e-18770e8e69cb
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/b734251f-0011-5d87-bd3e-18770e8e69cb
- Over MCP: `get_schema_card` with id `b734251f-0011-5d87-bd3e-18770e8e69cb` at https://api.scigantic.com/mcp

## Related topics

- [Image segmentation datasets](https://scigantic.com/topics/image-segmentation)
- [Environmental Science datasets](https://scigantic.com/topics/environmental-science)
