Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
37
37
0 0.487500 0.490000 0.955000 0.960000
0 0.635000 0.222500 0.670000 0.245000
0 0.515000 0.705000 0.940000 0.570000
0 0.272500 0.327500 0.535000 0.555000
0 0.587500 0.210000 0.825000 0.410000
0 0.790000 0.767500 0.380000 0.445000
0 0.430000 0.755000 0.780000 0.390000
0 0.365000 0.387500 0.710000 0.755000
0 0.872500 0.657500 0.245000 0.465000
0 0.327500 0.292500 0.645000 0.405000
0 0.810000 0.397500 0.360000 0.505000
0 0.217500 0.745000 0.425000 0.420000
0 0.285000 0.350000 0.530000 0.660000
0 0.847500 0.165000 0.275000 0.230000
0 0.840000 0.395000 0.310000 0.370000
2 0.490000 0.922500 0.200000 0.155000
0 0.292500 0.342500 0.545000 0.655000
0 0.825000 0.375000 0.320000 0.740000
0 0.640000 0.115000 0.690000 0.220000
1 0.315000 0.540000 0.580000 0.170000
0 0.320000 0.312500 0.630000 0.385000
0 0.512500 0.690000 0.865000 0.180000
0 0.725000 0.850000 0.320000 0.180000
0 0.777500 0.460000 0.435000 0.460000
0 0.267500 0.200000 0.515000 0.390000
0 0.345000 0.862500 0.580000 0.265000
0 0.180000 0.425000 0.330000 0.640000
0 0.720000 0.770000 0.540000 0.390000
0 0.510000 0.342500 0.650000 0.405000
0 0.795000 0.345000 0.400000 0.570000
0 0.490000 0.247500 0.890000 0.245000
0 0.332500 0.535000 0.425000 0.280000
0 0.722500 0.465000 0.475000 0.480000
0 0.737500 0.205000 0.265000 0.280000
0 0.382500 0.747500 0.575000 0.365000
0 0.215000 0.830000 0.360000 0.220000
0 0.190000 0.507500 0.370000 0.365000
0 0.555000 0.732500 0.670000 0.265000
0 0.632500 0.537500 0.685000 0.255000
0 0.355000 0.127500 0.700000 0.245000
0 0.300000 0.672500 0.590000 0.275000
0 0.652500 0.157500 0.475000 0.255000
0 0.765000 0.440000 0.470000 0.200000
0 0.295000 0.567500 0.580000 0.325000
0 0.725000 0.655000 0.540000 0.210000
0 0.692500 0.755000 0.565000 0.150000
0 0.382500 0.515000 0.325000 0.300000
0 0.680000 0.720000 0.580000 0.230000
0 0.567500 0.237500 0.715000 0.235000
0 0.100000 0.430000 0.190000 0.740000
0 0.660000 0.517500 0.610000 0.235000
0 0.650000 0.290000 0.660000 0.350000
0 0.785000 0.607500 0.430000 0.555000
0 0.272500 0.467500 0.535000 0.305000
0 0.720000 0.242500 0.540000 0.255000
0 0.330000 0.807500 0.530000 0.295000
0 0.507500 0.347500 0.435000 0.455000
0 0.152500 0.322500 0.295000 0.305000
0 0.612500 0.540000 0.335000 0.290000
0 0.660000 0.257500 0.420000 0.235000
0 0.237500 0.497500 0.465000 0.235000
0 0.667500 0.480000 0.355000 0.380000
0 0.527500 0.337500 0.345000 0.465000
0 0.225000 0.755000 0.440000 0.250000
0 0.807500 0.725000 0.375000 0.280000
0 0.392500 0.782500 0.765000 0.225000
0 0.215000 0.262500 0.410000 0.465000
0 0.690000 0.655000 0.610000 0.270000
0 0.385000 0.242500 0.760000 0.275000
0 0.350000 0.790000 0.520000 0.280000
0 0.812500 0.307500 0.315000 0.445000
0 0.482500 0.280000 0.515000 0.270000
0 0.472500 0.595000 0.575000 0.300000
0 0.547500 0.827500 0.525000 0.285000
0 0.540000 0.637500 0.610000 0.335000
0 0.415000 0.265000 0.500000 0.270000
0 0.452500 0.592500 0.505000 0.295000
0 0.222500 0.580000 0.435000 0.280000
0 0.792500 0.737500 0.325000 0.365000
0 0.490000 0.535000 0.660000 0.290000
0 0.332500 0.830000 0.285000 0.260000
0 0.315000 0.192500 0.250000 0.285000
0 0.417500 0.512500 0.575000 0.395000
0 0.427500 0.212500 0.295000 0.235000
0 0.325000 0.715000 0.430000 0.270000
0 0.430000 0.750000 0.590000 0.350000
0 0.850000 0.417500 0.240000 0.805000
0 0.255000 0.802500 0.490000 0.175000
0 0.765000 0.682500 0.320000 0.275000
0 0.215000 0.545000 0.410000 0.260000
0 0.577500 0.237500 0.735000 0.235000
0 0.442500 0.620000 0.385000 0.330000
0 0.287500 0.230000 0.375000 0.370000
0 0.477500 0.667500 0.685000 0.425000
0 0.635000 0.690000 0.370000 0.210000
0 0.187500 0.337500 0.345000 0.255000
0 0.222500 0.340000 0.405000 0.290000
0 0.455000 0.185000 0.580000 0.320000
0 0.450000 0.717500 0.640000 0.355000
0 0.440000 0.367500 0.610000 0.275000
End of preview. Expand in Data Studio

NEU-DET-corrected

DOI

Hot-rolled steel strip surface defect detection — cleaned version of the NEU Surface Defect Database. 热轧带钢表面缺陷检测 —— NEU 表面缺陷数据库的清理修正版。

English · 中文


English

What is this?

A cleaned, complete and consistently packaged version of the NEU Surface Defect Database (NEU-DET) from Northeastern University (Song Kechen & Yan Yunhui).

The upstream release ships as a flat IMAGES/ + ANNOTATIONS/ (Pascal VOC) pair with no official split and a few annotation defects. This release keeps every image pixel unchanged, removes a small number of duplicates, and packages the data in both Pascal VOC and YOLO format with a reproducible train/val/test split.

⚠️ Upstream license: none stated. The original authors have never declared a license for NEU-DET. See License & attribution — verify before commercial use.

Corrections vs. the official release

# Correction Detail
1 Removed 1 exact-duplicate image patches_105.jpg is pixel-identical to patches_101.jpg (the same image annotated twice, with slightly different boxes).
2 Removed 2 near-duplicate images scratches_247.jpg is a 90°-rotated copy of scratches_232.jpg; pitted_surface_292.jpg is a 2-px-shifted copy of pitted_surface_171.jpg. Both show a sharp, isolated minimum in the alignment profile (random same-class pairs never drop below MAE ≈ 13).
3 Removed 3 duplicate boxes crazing_120, inclusion_62, patches_198 each contained one bounding box listed twice verbatim.
4 Added a reproducible split Upstream has no split. This release provides a seeded, class-stratified 80/10/10 split.
5 Dual format Upstream is Pascal VOC only. This release ships VOC + YOLO from a single verified conversion.
6 Packaging classes.txt, data.yaml, ImageSets/ added.

Image pixels are never modified. All 1,797 images are byte-for-byte identical to the upstream files.

Scope — structural clean-up only. This is not a re-annotation. We remove duplicates and re-package the data; we do not re-verify individual boxes (missed defects, wrong class labels, box tightness) — that requires domain expertise and is left untouched.

Structural checks performed on the released 1,797-image set:

Check Method Result
Exact duplicate images byte-wise MD5 1 found → removed
Rotation / mirror duplicates 8 dihedral transforms, perceptual hash 1 found → removed
Shifted duplicates aligned pixel MAE + sharp-minimum test 1 found → removed
Near-duplicate images 32×32/64×64 MAE + full aligned scan 0 remaining
Duplicate boxes within an image verbatim box comparison 3 found → removed
Empty / invalid labels 0-box files, out-of-range, zero-area boxes 0
Image ↔ label ↔ XML pairing bidirectional 0 orphans
Class-name consistency unique label set 6 classes, no anomalies
Split leakage train/val/test intersection 0

Dataset at a glance

Property Value
Images 1,797 (200 × 200, grayscale)
Classes 6 — crazing, inclusion, patches, pitted_surface, rolled-in_scale, scratches
Bounding boxes 4,177 (≈ 2.32 per image)
Formats Pascal VOC XML · YOLO TXT
Split train 1,437 / val 180 / test 180 (seeded, class-stratified)

Boxes per class: inclusion 1,010 · patches 875 · crazing 688 · rolled-in_scale 628 · scratches 546 · pitted_surface 430

Structure

NEU-DET-corrected/
├── images/{train,val,test}/   # 200x200 grayscale JPG
├── labels/{train,val,test}/   # YOLO: cls cx cy w h (normalized)
├── annotations/               # Pascal VOC XML (flat, cleaned)
├── ImageSets/{train,val,test}.txt
├── classes.txt
├── data.yaml                  # YOLO dataset config
├── LICENSE
└── README.md

annotations/*.xml and labels/**/*.txt are two representations of the same cleaned annotations and are verified to agree.

Citation

1. The original dataset — please always cite this.

@article{he2020neudet,
  title   = {An End-to-end Steel Surface Defect Detection Approach via Fusing Multiple Hierarchical Features},
  author  = {He, Yu and Song, Kechen and Meng, Qinggang and Yan, Yunhui},
  journal = {IEEE Transactions on Instrumentation and Measurement},
  volume  = {69}, number = {4}, pages = {1493--1504}, year = {2020},
  doi     = {10.1109/TIM.2019.2915404}
}
@article{song2013neudet,
  title   = {A noise robust method based on completed local binary patterns for hot-rolled steel strip surface defects},
  author  = {Song, Kechen and Yan, Yunhui},
  journal = {Applied Surface Science},
  volume  = {285}, pages = {858--864}, year = {2013},
  doi     = {10.1016/j.apsusc.2013.08.123}
}

2. This corrected release — please cite it as well. It is not identical to the official release: 3 duplicate images (1 exact, 2 near-duplicates under rotation / shift) and 3 duplicate boxes were removed, a reproducible split was added, and the data was re-packaged, so a citation to the papers alone does not describe this version.

@misc{neudet_corrected,
  author    = {KeenForgeAI},
  title     = {NEU-DET-corrected: a cleaned release of the NEU Surface Defect Database},
  year      = {2026},
  version   = {1.0},
  publisher = {KeenForgeAI},
  url       = {https://huggingface.co/datasets/KeenForgeAI/NEU-DET-corrected},
  note      = {Curated by Lu Gan and Sam Li. Derived from He et al. (2020),
               doi:10.1109/TIM.2019.2915404. Upstream licence unstated.}
}

3. The annotation tool (optional).

@software{keenforge,
  author    = {KeenForgeAI},
  title     = {KeenForge: a local-first, offline image annotation and model-training desktop tool},
  year      = {2026},
  publisher = {KeenForgeAI},
  url       = {https://github.com/KeenForgeAI/KeenForge},
  note      = {MIT licensed. Developed by Lu Gan and Sam Li.}
}

License & attribution

The upstream NEU-DET dataset states no license. The original authors provide it for research use via their official page (Google Drive / Baidu Netdisk) and only request a citation. The copyright status of the original images and annotations is therefore undetermined — verify it before any commercial use. See LICENSE in this repository.

Our modifications (de-duplication, re-packaging, split, documentation) are released openly. Image pixels are unmodified and remain subject to the upstream terms.

Provenance

  • Source: official NEU-DET release (Google Drive), retrieved 2026-09-21.
  • Upstream: 1,800 images + 1,800 Pascal VOC XML, no split.
  • Verified: 1,797 images retained, byte-identical to upstream; 4,177 boxes after removing 3 duplicate boxes and 3 duplicate images (1 exact, 2 near-duplicates).

中文

这是什么?

NEU 表面缺陷数据库(NEU-DET)(东北大学,宋克臣、颜云辉)的清理、补全、规范化打包版。

上游发布是扁平的 IMAGES/ + ANNOTATIONS/(Pascal VOC),无官方划分,且存在少量标注缺陷。 本版不修改任何图像像素,仅删除少量重复项,并以 Pascal VOC + YOLO 双格式打包, 附带可复现的 train/val/test 划分。

⚠️ 上游未声明许可证。 原作者从未为 NEU-DET 声明许可证。详见 许可证与署名——商用前请自行确认。

相对官方版的修正

# 修正 说明
1 删除 1 张完全重复图 patches_105.jpg 与 patches_101.jpg 像素完全相同(同一张图被标注两次,框略有差异)。
2 删除 2 张近似重复图 scratches_247.jpg 是 scratches_232.jpg 旋转 90° 的副本;pitted_surface_292.jpg 是 pitted_surface_171.jpg 平移 2px 的副本。两者在对齐剖面中都呈尖锐唯一极小值(随机同类对从未低于 MAE ≈ 13)。
3 删除 3 个重复框 crazing_120、inclusion_62、patches_198 各有 1 个边界框逐字重复出现两次。
4 补充可复现划分 上游无划分;本版提供固定随机种子、按类别分层的 80/10/10 划分。
5 双格式 上游仅有 Pascal VOC;本版同时提供 VOC + YOLO(由同一次转换生成并校验一致)。
6 规范化打包 新增 classes.txt、data.yaml、ImageSets/。

图像像素从不修改——1,797 张图与上游文件逐字节一致。

本版范围——仅结构化清理。 这是结构性清理,不是重新标注。我们只去重、重新打包; 不重新核对单个标注框(漏标、类别标错、框松紧)——那需要领域专业知识,一律保持原样。

已执行的结构化检查(针对发布的 1,797 张):

检查 方法 结果
样本重复 · 精确 逐字节 MD5 1 组 → 已删
样本重复 · 旋转/镜像 8 种二面体变换感知哈希 1 组 → 已删
样本重复 · 平移 对齐像素 MAE + 尖锐极小值判定 1 组 → 已删
样本重复 · 近似 32×32/64×64 MAE + 全库对齐扫描 0 剩余
标签重复 · 图内 逐字比对同一图内的框 3 个 → 已删
空/非法标签 0 框文件、越界框、零面积框 0
图片↔标签↔XML 配对 双向 0 孤儿
类别名一致性 唯一类别名集合 6 类,无杂名
划分泄漏 train/val/test 交集 0

数据集概览

属性 值
图片 1,797(200 × 200 灰度)
类别 6 —— crazing、inclusion、patches、pitted_surface、rolled-in_scale、scratches
标注框 4,177(约 2.32 框/图)
格式 Pascal VOC XML · YOLO TXT
划分 train 1,437 / val 180 / test 180(固定种子、类别分层)

各类框数:inclusion 1,010 · patches 875 · crazing 688 · rolled-in_scale 628 · scratches 546 · pitted_surface 430

目录结构

NEU-DET-corrected/
├── images/{train,val,test}/   # 200x200 灰度 JPG
├── labels/{train,val,test}/   # YOLO:cls cx cy w h(归一化)
├── annotations/               # Pascal VOC XML(扁平,已清理)
├── ImageSets/{train,val,test}.txt
├── classes.txt
├── data.yaml                  # YOLO 配置
├── LICENSE
└── README.md

annotations/*.xml 与 labels/**/*.txt 是同一份清理后标注的两种表示,已校验一致。

引用

使用本数据集请同时引用原始工作与本修正版:

1. 原始数据集(请务必引用)

@article{he2020neudet,
  title   = {An End-to-end Steel Surface Defect Detection Approach via Fusing Multiple Hierarchical Features},
  author  = {He, Yu and Song, Kechen and Meng, Qinggang and Yan, Yunhui},
  journal = {IEEE Transactions on Instrumentation and Measurement},
  volume  = {69}, number = {4}, pages = {1493--1504}, year = {2020},
  doi     = {10.1109/TIM.2019.2915404}
}
@article{song2013neudet,
  title   = {A noise robust method based on completed local binary patterns for hot-rolled steel strip surface defects},
  author  = {Song, Kechen and Yan, Yunhui},
  journal = {Applied Surface Science},
  volume  = {285}, pages = {858--864}, year = {2013},
  doi     = {10.1016/j.apsusc.2013.08.123}
}

2. 本修正版(请一并引用) —— 本版与官方发布并不相同:删除了 1 张重复图与 3 个重复框, 补充了可复现划分,并重新打包,因此只引用论文无法描述本版本。

@misc{neudet_corrected,
  author    = {KeenForgeAI},
  title     = {NEU-DET-corrected: a cleaned release of the NEU Surface Defect Database},
  year      = {2026},
  version   = {1.0},
  publisher = {KeenForgeAI},
  url       = {https://huggingface.co/datasets/KeenForgeAI/NEU-DET-corrected},
  note      = {Curated by Lu Gan and Sam Li. Derived from He et al. (2020),
               doi:10.1109/TIM.2019.2915404. Upstream licence unstated.}
}

3. 标注工具(可选)

@software{keenforge,
  author    = {KeenForgeAI},
  title     = {KeenForge: a local-first, offline image annotation and model-training desktop tool},
  year      = {2026},
  publisher = {KeenForgeAI},
  url       = {https://github.com/KeenForgeAI/KeenForge},
  note      = {MIT licensed. Developed by Lu Gan and Sam Li.}
}

许可证与署名

上游 NEU-DET 未声明许可证。 原作者通过 官方主页(Google Drive / 百度网盘) 以研究用途提供,仅要求引用。因此原始图像与标注的版权状态未定——商用前请自行确认。 详见本仓库 LICENSE。

我们对数据集的修改部分(去重、重新打包、划分、文档)开源发布。图像像素未修改, 仍受上游条款约束。

来源

  • 来源:官方 NEU-DET 发布(Google Drive),获取于 2026-09-21
  • 上游:1,800 图 + 1,800 Pascal VOC XML,无划分
  • 已校验:保留 1,797 图,与上游逐字节一致;删除 3 个重复框与 3 张重复图(1 张完全重复 + 2 张近似重复)后共 4,177 框
Downloads last month
3,682