hard-hat-detection
收藏魔搭社区2026-05-24 更新2025-10-11 收录
下载链接:
https://modelscope.cn/datasets/keremberke/hard-hat-detection
下载链接
链接失效反馈官方服务:
资源简介:
<div align="center">
<img width="640" alt="keremberke/hard-hat-detection" src="https://huggingface.co/datasets/keremberke/hard-hat-detection/resolve/main/thumbnail.jpg">
</div>
### Dataset Labels
```
['hardhat', 'no-hardhat']
```
### Number of Images
```json
{'test': 2001, 'train': 13782, 'valid': 3962}
```
### How to Use
- Install [datasets](https://pypi.org/project/datasets/):
```bash
pip install datasets
```
- Load the dataset:
```python
from datasets import load_dataset
ds = load_dataset("keremberke/hard-hat-detection", name="full")
example = ds['train'][0]
```
### Roboflow Dataset Page
[https://universe.roboflow.com/roboflow-universe-projects/hard-hats-fhbh5/dataset/2](https://universe.roboflow.com/roboflow-universe-projects/hard-hats-fhbh5/dataset/2?ref=roboflow2huggingface)
### Citation
```
@misc{ hard-hats-fhbh5_dataset,
title = { Hard Hats Dataset },
type = { Open Source Dataset },
author = { Roboflow Universe Projects },
howpublished = { \\url{ https://universe.roboflow.com/roboflow-universe-projects/hard-hats-fhbh5 } },
url = { https://universe.roboflow.com/roboflow-universe-projects/hard-hats-fhbh5 },
journal = { Roboflow Universe },
publisher = { Roboflow },
year = { 2022 },
month = { dec },
note = { visited on 2023-01-16 },
}
```
### License
CC BY 4.0
### Dataset Summary
This dataset was exported via roboflow.com on January 16, 2023 at 9:17 PM GMT
Roboflow is an end-to-end computer vision platform that helps you
* collaborate with your team on computer vision projects
* collect & organize images
* understand and search unstructured image data
* annotate, and create datasets
* export, train, and deploy computer vision models
* use active learning to improve your dataset over time
For state of the art Computer Vision training notebooks you can use with this dataset,
visit https://github.com/roboflow/notebooks
To find over 100k other datasets and pre-trained models, visit https://universe.roboflow.com
The dataset includes 19745 images.
Hardhat-ppe are annotated in COCO format.
The following pre-processing was applied to each image:
* Auto-orientation of pixel data (with EXIF-orientation stripping)
* Resize to 640x640 (Stretch)
No image augmentation techniques were applied.
<div align="center">
<img width="640" alt="keremberke/hard-hat-detection" src="https://huggingface.co/datasets/keremberke/hard-hat-detection/resolve/main/thumbnail.jpg">
</div>
### 数据集标签
["安全帽(hardhat)", "未佩戴安全帽(no-hardhat)"]
### 图像数量
json
{"测试集": 2001, "训练集": 13782, "验证集": 3962}
### 使用方法
- 安装[datasets](https://pypi.org/project/datasets/)库:
bash
pip install datasets
- 加载数据集:
python
from datasets import load_dataset
ds = load_dataset("keremberke/hard-hat-detection", name="full")
example = ds['train'][0]
### Roboflow 数据集页面
[https://universe.roboflow.com/roboflow-universe-projects/hard-hats-fhbh5/dataset/2](https://universe.roboflow.com/roboflow-universe-projects/hard-hats-fhbh5/dataset/2?ref=roboflow2huggingface)
### 引用格式
@misc{ hard-hats-fhbh5_dataset,
title = { 安全帽数据集 },
type = { 开源数据集 },
author = { Roboflow 开源项目组 },
howpublished = { \url{ https://universe.roboflow.com/roboflow-universe-projects/hard-hats-fhbh5 } },
url = { https://universe.roboflow.com/roboflow-universe-projects/hard-hats-fhbh5 },
journal = { Roboflow 开源社区 },
publisher = { Roboflow },
year = { 2022 },
month = { 12月 },
note = { 2023年1月16日访问 },
}
### 许可证
CC BY 4.0
### 数据集概览
本数据集于2023年1月16日格林尼治标准时间晚9点17分通过roboflow.com导出
Roboflow是一款端到端计算机视觉平台,可助力您完成以下工作:
* 与团队协作开展计算机视觉项目
* 收集并整理图像数据
* 理解并检索非结构化图像数据
* 标注图像并构建数据集
* 导出、训练并部署计算机视觉模型
* 借助主动学习机制,随时间迭代优化数据集
如需可用于本数据集的前沿计算机视觉训练教程notebook,请访问 https://github.com/roboflow/notebooks
如需查找超过10万个其他数据集与预训练模型,请访问 https://universe.roboflow.com
本数据集共包含19745张图像,其中安全帽个人防护装备(hardhat-ppe)采用COCO格式进行标注。
以下预处理操作已应用于每张图像:
* 自动调整像素数据方向(剥离EXIF方向信息)
* 拉伸缩放至640×640分辨率
未使用任何图像增强技术。
提供机构:
maas
创建时间:
2025-10-03



