File size: 4,176 Bytes
2402804 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | # VISION-Datasets
> VISION Datasets: A Benchmark for Vision-based InduStrial InspectiON
## Introduction
Despite progress in vision-based inspection algorithms, real-world industrial challenges β specifically in data availability, quality, and complex production requirements β often remain under-addressed. We introduce the VISION Datasets, a diverse collection of 14 industrial inspection datasets, uniquely poised to meet these challenges. Unlike previous datasets, VISION brings versatility to defect detection, offering annotation masks across all splits and catering to various detection methodologies. Our datasets also feature instance-segmentation annotation, enabling precise defect identification. With a total of 18k images encompassing 44 defect types, VISION strives to mirror a wide range of real-world production scenarios. By supporting two ongoing challenge competitions on the VISION Datasets, we hope to foster further advancements in vision-based industrial inspection. The datasets are available at https://huggingface.co/datasets/VISION-Workshop/VISION-Datasets.
<div align=center>
<img src="https://github.com/open-mmlab/mmdetection/assets/17425982/1d8e81d1-0023-49ce-a855-a09149509fe7" width="70%"/>
</div>
## Dataset Preparation
At first, you should download the dataset from https://huggingface.co/datasets/VISION-Workshop/VISION-Datasets and organize it as follows:
```text
mmdetection
βββ mmdet
βββ tools
βββ configs
βββ data
βββ βββ VISION-Datasets
βββ β βββ Cable.tar.gz
βββ β βββ Capacitor.tar.gz
βββ β βββ Casting.tar.gz
βββ | βββ Console.tar.gz
βββ β βββ Cylinder.tar.gz
βββ β βββ Electronics.tar.gz
βββ β βββ Groove.tar.gz
βββ β βββ Hemisphere.tar.gz
βββ β βββ Lens.tar.gz
βββ β βββ PCB_1.tar.gz
βββ β βββ PCB_2.tar.gz
βββ | βββ README.md
βββ β βββ Ring.tar.gz
βββ β βββ Screw.tar.gz
βββ β βββ Wood.tar.gz
```
Then you can use the following command to save the following command as the `vision_unzip.sh` file and place it in the `mmdetection` root directory, and then run the script `bash vision_unzip.sh` to unzip it.
```shell
#!/usr/bin/env bash
for file in data/VISION-Datasets/*.tar.gz; do
tar -xzvzf "$file" -C data/VISION-Datasets/
done
```
Finally, the file organization format is as follows:
```text
mmdetection
βββ mmdet
βββ tools
βββ configs
βββ data
| βββ VISION-Datasets
| β βββ Cable.tar.gz
| β βββ Capacitor.tar.gz
| β βββ Casting.tar.gz
| | βββ Console.tar.gz
| β βββ Cylinder.tar.gz
| β βββ Electronics.tar.gz
| β βββ Groove.tar.gz
| β βββ Hemisphere.tar.gz
| β βββ Lens.tar.gz
| β βββ PCB_1.tar.gz
| β βββ PCB_2.tar.gz
| | βββ README.md
| β βββ Ring.tar.gz
| β βββ Screw.tar.gz
| β βββ Wood.tar.gz
| β βββ Cable
| β | |ββ train
| β | | |ββ _annotations.coco.json # COCO format annotation
| β | | |ββ 000001.png # Images
| β | | |ββ 000002.png
| β | | |ββ xxxxxx.png
| β | |ββ val
| β | | |ββ _annotations.coco.json # COCO format annotation
| β | | |ββ xxxxxx.png # Images
| β | |ββ inference
| β | | |ββ _annotations.coco.json # COCO format annotation with unlabeled image list only
| β | | |ββ xxxxxx.png # Images
...
```
## Models and Results
TODO
## Citation
```latex
@article{vision-datasets,
title = {VISION Datasets: A Benchmark for Vision-based InduStrial InspectiON},
author = {Haoping Bai, Shancong Mou, Tatiana Likhomanenko, Ramazan Gokberk Cinbis, Oncel Tuzel, Ping Huang, Jiulong Shan, Jianjun Shi, Meng Cao},
journal = {arXiv preprint arXiv:2306.07890},
year = {2023},
}
```
|