Synth-Eye-GAN-Data
收藏资源简介:
Synth.Eye GAN工业检测数据集是一个用于计算机视觉目标检测任务的合成数据集,专为工业零件指纹残留缺陷检测而设计。该数据集是Synth.Eye GAN项目的一部分,通过三个StyleGAN2-ADA生成器模型和物理启发的合成流程自动生成,无需手动标注。数据集包含三个类别:工业零件正面(无缺陷)、背面和正面带指纹残留缺陷,旨在训练下游YOLO模型进行零件方向分类和缺陷检测。数据规模方面,默认生成6,000张合成图像,包括3,000张背面、1,500张正面和1,500张带指纹复合图像;数据集划分为训练集(约4,800张合成图像)、验证集(约600张合成图像)和测试集(来自INTEMAC研究中心的真实工业照片)。图像格式为256×256像素PNG,合成在绿色相机背景上,标签采用YOLO格式的.txt文件(包含归一化边界框),并附带Ultralytics格式的data.yaml配置文件。该数据集适用于工业AI和缺陷检测应用,但存在局限性:数据针对单一工业零件类型,多样性有限;指纹生成器基于墨水指纹扫描数据,与金属表面光学指纹残留存在视觉差异;训练和验证集为合成数据,测试集为真实照片,可能引入域差距。数据集采用MIT许可证,由INTEMAC研究创新中心开发。
The Synth.Eye GAN Industrial Inspection Dataset is a synthetic dataset designed for computer vision object detection tasks, specifically for fingerprint residue defect detection on industrial parts. It is part of the Synth.Eye GAN project and is automatically generated using three StyleGAN2-ADA generator models and a physics-inspired synthesis pipeline, eliminating the need for manual annotation. The dataset includes three classes: front side of industrial parts (defect-free), back side, and front side with fingerprint residue defects, aiming to train downstream YOLO models for part orientation classification and defect detection. In terms of data scale, it defaults to generating 6,000 synthetic images, comprising 3,000 back side, 1,500 front side, and 1,500 fingerprint composite images; the dataset is split into a training set (approximately 4,800 synthetic images), a validation set (approximately 600 synthetic images), and a test set (real industrial photos from the INTEMAC research center). The images are in 256×256 pixel PNG format, synthesized on a green camera background, with labels in YOLO format .txt files (containing normalized bounding boxes) and accompanied by a data.yaml configuration file in Ultralytics format. This dataset is suitable for industrial AI and defect detection applications but has limitations: the data is focused on a single industrial part type, limiting diversity; the fingerprint generator is based on ink fingerprint scan data, which may differ visually from optical fingerprint residues on metal surfaces; and the training and validation sets are synthetic, while the test set consists of real photos, potentially introducing domain gaps. The dataset is released under the MIT license and developed by the INTEMAC Research and Innovation Center.
Synth.Eye GAN — Industrial Inspection Dataset 数据集概述
基本信息
- 数据集名称:Synth.Eye GAN — Industrial Inspection Dataset
- 许可证:MIT
- 任务类别:目标检测(Object Detection)
- 语言:英语
- 标签:合成数据、StyleGAN2-ADA、工业AI、缺陷检测、指纹、YOLOv8、计算机视觉、生成式
- 数据集规模:1,000 < n < 10,000
- 标注来源:机器自动生成
- 数据来源:原始数据
数据集描述
该数据集是 Synth.Eye GAN 项目的训练数据集,包含工业零件的合成 YOLO 格式图像,部分图像带有指纹残留缺陷。这些图像由三个 StyleGAN2-ADA 模型和一个基于物理模型的合成管线生成。该数据集驱动两个下游 YOLO 模型:一个用于零件方向分类,一个用于指纹缺陷检测。
类别结构
| ID | 名称 | 描述 |
|---|---|---|
| 0 | Cls_Obj_Front_Side |
工业零件正面(无缺陷) |
| 1 | Cls_Obj_Back_Side |
工业零件背面 |
| 2 | Cls_Defect_Fingerprint |
正面的指纹残留合成缺陷 |
数据划分
| 划分 | 内容 | 数量 |
|---|---|---|
train |
合成 GAN 图像(80%) | 约 4,800 张 |
val |
合成 GAN 图像(10%) | 约 600 张 |
test |
来自 INTEMAC 研究中心的真实工业照片 | 数量不定 |
默认生成总数为:3,000 张背面 + 1,500 张正面 + 1,500 张正面+指纹合成 = 6,000 张合成图像
数据格式
- 图像:256 × 256 像素 PNG 格式,合成在绿色相机背景上
- 标签:YOLO
.txt格式(每行一个边界框:class cx cy w h,归一化坐标),与图像目录树结构一致 - 配置文件:
data.yaml(Ultralytics 格式)
生成管线
三个 StyleGAN2-ADA 生成器分别产生原始图像:
front.pkl:生成 256×256 正面零件图像back.pkl:生成 256×256 背面零件图像fingerprint.pkl:生成 128×128 指纹残留图像
合成步骤将指纹图像通过压力噪声、梯度调制、运动模糊、alpha 羽化和多种混合模式(alpha / multiply / overlay)混入正面零件图像,无需手动标注。
使用示例
python from ultralytics import YOLO
model = YOLO("yolov8m_object_detection") results = model("image.png", imgsz=640)
局限性
- 领域特定性:所有生成器仅基于 INTEMAC 研究中心约 130 张真实图像训练,输出多样性有限
- 指纹领域差异:指纹 GAN 基于扫描的墨水指纹训练,与金属表面光学相机拍摄的指纹残留视觉差异较大
- 合成训练/验证,真实测试:测试集包含真实照片,训练集和验证集完全由 GAN 生成
相关资源
| 资源 | 链接 |
|---|---|
| GAN + YOLO 模型 | https://huggingface.co/LukasMoravansky/Synth-Eye-GAN |
| StyleGAN2-ADA 分支 | https://github.com/LukasMoravansky/stylegan2-ada-pytorch |
| 前身项目(基于 Blender) | https://github.com/LukasMoravansky/Synth_Eye |
| 原始 StyleGAN2-ADA | https://github.com/NVlabs/stylegan2-ada-pytorch |




