# UC Merced Land Use (2010)

> 2,100 aerial photos of US cities at 30 cm per pixel, in 21 land-use classes.

Page: https://mralbu.github.io/ai-datasets/d/uc-merced

## Key facts

- Category: Vision, Remote sensing
- Task: Aerial scene classification
- Creators: Yi Yang, Shawn Newsam (University of California, Merced)
- Size: 2,100 images (100 per class)
- Splits: all 2,100
- Input: 256×256 color aerial photo, about 30 cm per pixel (77 × 77 m)
- Labels: One of 21 classes, from agricultural and airplane to storage tanks and tennis court
- License: Public domain imagery (USGS National Map); no explicit license for the dataset
- Paper: [Bag-Of-Visual-Words and Spatial Extensions for Land-Use Classification](https://faculty.ucmerced.edu/snewsam/papers/Yang_ACMGIS10_BagOfVisualWords.pdf)
- Homepage: http://weegee.vision.ucmerced.edu/datasets/landuse.html
- Hugging Face: [blanchon/UC_Merced](https://huggingface.co/datasets/blanchon/UC_Merced)
- Sampled at Hub revision b79f9bfb55cd7731306d583c3e072c8c010bac61 (2026-11-08)

## Why it matters

The first widely used benchmark for classifying aerial scenes, made when the best methods were bags of visual words. Its tiles are sharp enough to see cars, tennis court lines and airplane wings, unlike satellite sets such as EuroSAT where a pixel covers 10 m. When CNN features pretrained on ImageNet pushed accuracy to near 99% around 2015, it became the standard demonstration that ImageNet features transfer to remote sensing, and the field moved to larger sets like AID and NWPU-RESISC45.

## Worth knowing

- The images were cut by hand from the USGS National Map Urban Area Imagery of 20 US regions.
- With only 100 images per class, results are reported as averages over several random train/test splits.
- Dense, medium and sparse residential are three separate classes, and the hardest to tell apart.

## Get the data

```bash
# pip install -U huggingface_hub
hf download blanchon/UC_Merced --repo-type dataset \
  --local-dir uc-merced
```

```python
from datasets import load_dataset   # pip install datasets

ds = load_dataset("blanchon/UC_Merced")
print(ds)
```

```python
import polars as pl

df = pl.read_parquet("hf://datasets/blanchon/UC_Merced@~parquet/default/train/*.parquet")
print(df.shape)
```

## Related datasets

- [EuroSAT](https://huggingface.co/datasets/timm/eurosat-rgb): 2017, 64×64 Sentinel-2 satellite tiles at 10 m per pixel (on this site: https://mralbu.github.io/ai-datasets/d/eurosat)
- [AID](https://captain-whu.github.io/AID/): 2017, 10,000 aerial images in 30 classes
- [NWPU-RESISC45](https://arxiv.org/abs/1703.00121): 2017, 31,500 images in 45 classes
- [ImageNet](https://huggingface.co/datasets/ILSVRC/imagenet-1k): 2009, whose features made the benchmark easy (on this site: https://mralbu.github.io/ai-datasets/d/imagenet)

## Landmark papers

- [Do Deep Features Generalize from Everyday Objects to Remote Sensing and Aerial Scenes Domains?](https://openaccess.thecvf.com/content_cvpr_workshops_2015/W13/html/Penatti_Do_Deep_Features_2015_CVPR_paper.html) (2015)
- [AID: A Benchmark Data Set for Performance Evaluation of Aerial Scene Classification](https://arxiv.org/abs/1608.05167) (2017)
