diff --git a/projects/VISION-Datasets/README.md b/projects/VISION-Datasets/README.md new file mode 100644 index 00000000000..bff0d24e087 --- /dev/null +++ b/projects/VISION-Datasets/README.md @@ -0,0 +1,103 @@ +# 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. + +
+ +
+ +## 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}, +} +``` diff --git a/projects/VISION-Datasets/README_zh-CN.md b/projects/VISION-Datasets/README_zh-CN.md new file mode 100644 index 00000000000..f476365f938 --- /dev/null +++ b/projects/VISION-Datasets/README_zh-CN.md @@ -0,0 +1,103 @@ +# 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. + +
+ +
+ +## Dataset Preparation + +首先你应该从 https://huggingface.co/datasets/VISION-Workshop/VISION-Datasets 下载数据集,并将其组织为如下格式: + +```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 +``` + +然后你可以使用将以下命令保存为 `vision_unzip.sh` 文件,并将其放置于 `mmdetection` 根目录下,然后 `bash vision_unzip.sh` 运行脚本进行解压处理 + +```shell +#!/usr/bin/env bash + +for file in data/VISION-Datasets/*.tar.gz; do + tar -xzvzf "$file" -C data/VISION-Datasets/ +done +``` + +最终的文件组织格式如下所示: + +```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}, +} +```