Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -25,11 +25,175 @@ configs:
|
|
| 25 |
path: "parquet_data/val-*"
|
| 26 |
- split: test
|
| 27 |
path: "parquet_data/test-*"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
---
|
| 29 |
-
# The MixCount Dataset
|
| 30 |
-
### Check out the [**Project page**](https://corentindumery.github.io/projects/mixcount.html)
|
| 31 |
|
| 32 |
-
|
| 33 |
-
It includes images of objects to count, text and visual prompts to query specific objects, and high-quality dense ground-truth annotations.
|
| 34 |
-
MixCount is designed to be a powerful training dataset, with high diversity, scale, and realism, and reduces visual counting error by around 20% in our experiments.
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
path: "parquet_data/val-*"
|
| 26 |
- split: test
|
| 27 |
path: "parquet_data/test-*"
|
| 28 |
+
tags:
|
| 29 |
+
- counting
|
| 30 |
+
- synthetic
|
| 31 |
+
- computer-vision
|
| 32 |
+
- open-vocabulary
|
| 33 |
+
- segmentation
|
| 34 |
+
pretty_name: MixCount
|
| 35 |
+
task_categories:
|
| 36 |
+
- image-classification
|
| 37 |
+
- object-detection
|
| 38 |
---
|
|
|
|
|
|
|
| 39 |
|
| 40 |
+
# The MixCount Dataset: Bridging the Data Gap for Open-Vocabulary Object Counting
|
|
|
|
|
|
|
| 41 |
|
| 42 |
+
<p align="center">
|
| 43 |
+
<a href="https://corentindumery.github.io/"><strong>Corentin Dumery*</strong></a> · <a href="https://reuben.ox.ac.uk/people/niki-amini-naieni">Niki Amini-Naieni*</a> · <a href="https://www.linkedin.com/in/shervin-n">Shervin Naini</a> · <a href="https://people.epfl.ch/pascal.fua">Pascal Fua</a>
|
| 44 |
+
<br>
|
| 45 |
+
<sub>EPFL · University of Oxford · Northwestern University · (* equal contribution)</sub>
|
| 46 |
+
</p>
|
| 47 |
+
|
| 48 |
+
<p align="center">
|
| 49 |
+
<a href="https://arxiv.org/abs/2605.18063"><img src="https://img.shields.io/badge/Paper-arXiv-b31b1b?style=for-the-badge" alt="Paper"></a>
|
| 50 |
+
<a href="https://corentindumery.github.io/projects/mixcount.html"><img src="https://img.shields.io/badge/Project-Page-143038?style=for-the-badge" alt="Project page"></a>
|
| 51 |
+
</p>
|
| 52 |
+
|
| 53 |
+
<style>
|
| 54 |
+
.mixcount-stats {
|
| 55 |
+
display: grid;
|
| 56 |
+
grid-template-columns: repeat(5, minmax(0, 1fr));
|
| 57 |
+
gap: 10px;
|
| 58 |
+
max-width: 900px;
|
| 59 |
+
margin: 0 auto 1.5em;
|
| 60 |
+
}
|
| 61 |
+
.mixcount-stat {
|
| 62 |
+
background: linear-gradient(180deg, #f8fbfc 0%, #eef4f7 100%);
|
| 63 |
+
border: 1px solid #d8e4ea;
|
| 64 |
+
border-radius: 10px;
|
| 65 |
+
padding: 0.85em 0.5em;
|
| 66 |
+
text-align: center;
|
| 67 |
+
}
|
| 68 |
+
.mixcount-stat b {
|
| 69 |
+
display: block;
|
| 70 |
+
font-size: 1.35em;
|
| 71 |
+
color: #143038;
|
| 72 |
+
}
|
| 73 |
+
.mixcount-stat span {
|
| 74 |
+
display: block;
|
| 75 |
+
margin-top: 0.3em;
|
| 76 |
+
font-size: 0.82em;
|
| 77 |
+
color: #4f6468;
|
| 78 |
+
line-height: 1.3;
|
| 79 |
+
}
|
| 80 |
+
.mixcount-lead {
|
| 81 |
+
max-width: 820px;
|
| 82 |
+
margin: 0 auto 1.5em;
|
| 83 |
+
padding: 1em 1.15em;
|
| 84 |
+
background: #f7fafb;
|
| 85 |
+
border-left: 4px solid #5ba4c4;
|
| 86 |
+
border-radius: 0 8px 8px 0;
|
| 87 |
+
line-height: 1.55;
|
| 88 |
+
}
|
| 89 |
+
.mixcount-compare-wrap {
|
| 90 |
+
display: flex;
|
| 91 |
+
justify-content: center;
|
| 92 |
+
margin: 0 auto 1.25em;
|
| 93 |
+
overflow-x: auto;
|
| 94 |
+
}
|
| 95 |
+
.mixcount-compare-wrap table {
|
| 96 |
+
margin: 0 auto;
|
| 97 |
+
}
|
| 98 |
+
@media (max-width: 720px) {
|
| 99 |
+
.mixcount-stats { grid-template-columns: repeat(2, 1fr); }
|
| 100 |
+
}
|
| 101 |
+
</style>
|
| 102 |
+
|
| 103 |
+
<p align="center">
|
| 104 |
+
<img src="images/teaser.png" width="96%" alt="MixCount sample scenes (2×6 grid)">
|
| 105 |
+
</p>
|
| 106 |
+
|
| 107 |
+
<div class="mixcount-lead">
|
| 108 |
+
<b>MixCount</b> is a large-scale synthetic dataset for <b>mixed-object, open-vocabulary counting</b>, the setting that dominates industrial inspection and sorting, but breaks current counting models. Our automatic generation pipeline produces pixel-perfect labels, text prompts at several levels of detail, and visual exemplars at scale.
|
| 109 |
+
</div>
|
| 110 |
+
|
| 111 |
+
<div class="mixcount-stats">
|
| 112 |
+
<div class="mixcount-stat"><b>58K</b><span>counting scenes</span></div>
|
| 113 |
+
<div class="mixcount-stat"><b>1,522</b><span>object classes</span></div>
|
| 114 |
+
<div class="mixcount-stat"><b>4M+</b><span>counting instances</span></div>
|
| 115 |
+
<div class="mixcount-stat"><b>−18.3%</b><span>MAE on PairTally (train)</span></div>
|
| 116 |
+
<div class="mixcount-stat"><b>−20.14%</b><span>MAE on FSC-147 (train)</span></div>
|
| 117 |
+
</div>
|
| 118 |
+
|
| 119 |
+
## Usage
|
| 120 |
+
|
| 121 |
+
```python
|
| 122 |
+
from datasets import load_dataset
|
| 123 |
+
import matplotlib.pyplot as plt
|
| 124 |
+
|
| 125 |
+
ds = load_dataset("CorentinDumery/MixCount", split="train[:1]")
|
| 126 |
+
|
| 127 |
+
sample = ds[0]
|
| 128 |
+
print(sample["file_name"], sample["total_count"], "objects,", sample["num_classes"], "classes")
|
| 129 |
+
|
| 130 |
+
plt.imshow(sample["image"])
|
| 131 |
+
plt.axis("off")
|
| 132 |
+
plt.show()
|
| 133 |
+
```
|
| 134 |
+
|
| 135 |
+
## Overview
|
| 136 |
+
|
| 137 |
+
Object counting models often struggle in **mixed-object scenes**. Common failure modes include:
|
| 138 |
+
|
| 139 |
+
- **(a)** Distinguishing **visually similar objects** (e.g. *big marbles* in PairTally)
|
| 140 |
+
- **(b)** Recognizing **self-similar components** as a single entity (e.g. counting pairs of sunglasses rather than lenses)
|
| 141 |
+
- **(c)** Ignoring **repetitive background patterns** and focusing on the queried object class
|
| 142 |
+
|
| 143 |
+
MixCount combines the scale of synthetic datasets with the photorealism of real-world 3D captures while targeting these failure modes. Training on MixCount yields about **20% lower error** on recent open-vocabulary counting benchmarks.
|
| 144 |
+
|
| 145 |
+
<p align="center">
|
| 146 |
+
<img src="images/bridging.png" width="68%" alt="Training on MixCount improves CountGD++ on PairTally, FSC-147, and MixCount">
|
| 147 |
+
</p>
|
| 148 |
+
|
| 149 |
+
## Dataset overview
|
| 150 |
+
|
| 151 |
+
<div class="mixcount-compare-wrap">
|
| 152 |
+
|
| 153 |
+
| | FSC-147 | PairTally | MCAC / SITUATE | **MixCount** |
|
| 154 |
+
|---|:---:|:---:|:---:|:---:|
|
| 155 |
+
| Multiple object types per image | | ✓ | ✓ | **✓** |
|
| 156 |
+
| Fine-grained text prompts | | ✓ | | **✓** |
|
| 157 |
+
| External visual exemplars | | | | **✓** |
|
| 158 |
+
| Segmentation & bounding boxes | | | ✓ | **✓** |
|
| 159 |
+
| # images | 6,135 | 681 | 6.9K–20K | **58,000** |
|
| 160 |
+
| # object classes | 147 | 98 | 4–343 | **1,522** |
|
| 161 |
+
|
| 162 |
+
</div>
|
| 163 |
+
|
| 164 |
+
|
| 165 |
+
**Visual & text inputs.** Multiple visual exemplars per object (external crops and in-scene crops at different scales), together with **short, concise, and detailed** text descriptions for flexible open-vocabulary counting prompts.
|
| 166 |
+
|
| 167 |
+
<p align="center">
|
| 168 |
+
<img src="images/features.png" width="65%" alt="MixCount exemplars and tiered text descriptions">
|
| 169 |
+
</p>
|
| 170 |
+
|
| 171 |
+
**Dense annotations.** Pixel-perfect counting supervision plus instance and class segmentations, bounding boxes, depth, and normal maps.
|
| 172 |
+
|
| 173 |
+
<p align="center">
|
| 174 |
+
<img src="images/annotations.png" width="65%" alt="MixCount dense annotations">
|
| 175 |
+
</p>
|
| 176 |
+
|
| 177 |
+
**Automatic generator.** Objects, distractors, environment, and camera placement are sampled procedurally to create photorealistic training scenes from high-quality real-world captures of objects, materials, and lighting.
|
| 178 |
+
|
| 179 |
+
<p align="center">
|
| 180 |
+
<img src="images/data_generator.png" width="65%" alt="MixCount data generation pipeline">
|
| 181 |
+
</p>
|
| 182 |
+
|
| 183 |
+
|
| 184 |
+
See the [project page](https://corentindumery.github.io/projects/mixcount.html) and [paper](https://arxiv.org/abs/2605.18063) for additional details.
|
| 185 |
+
|
| 186 |
+
## Citation
|
| 187 |
+
|
| 188 |
+
```bibtex
|
| 189 |
+
@article{dumery2026mixcount,
|
| 190 |
+
title = {The MixCount Dataset: Bridging the Data Gap for Open-Vocabulary Object Counting},
|
| 191 |
+
author = {Dumery, Corentin and Amini-Naieni, Niki and Naini, Shervin and Fua, Pascal},
|
| 192 |
+
journal = {arXiv preprint arXiv:2605.18063},
|
| 193 |
+
year = {2026}
|
| 194 |
+
}
|
| 195 |
+
```
|
| 196 |
+
|
| 197 |
+
## Acknowledgements
|
| 198 |
+
|
| 199 |
+
We thank [DTC](https://www.projectaria.com/datasets/dtc/), [VasTextures](https://sites.google.com/view/infinitexture/home), [LavalIndoor](http://hdrdb.com/indoor/), and [PolyHaven](https://polyhaven.com/), as well as the [Blender Foundation](https://www.blender.org/). We also thank Andrew Zisserman for insightful discussions. This work is partially funded by the Swiss National Science Foundation.
|