File size: 1,454 Bytes
8ef7c4e
 
7536657
 
d490408
7536657
 
 
 
559eb08
 
 
67ca4bf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0748d8c
 
 
 
350b6cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d490408
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
---
license: mit
language:
- en
- zh
tags:
- yolov8
- tfjs
- hard-hat
- ultralytics
- yolo
- object-detection
library_name: ultralytics
library_version: 8.0.23
inference: false

datasets:
- keremberke/hard-hat-detection

model-index:
- name: keremberke/yolov8n-hard-hat-detection
  results:
  - task:
      type: object-detection

    dataset:
      type: keremberke/hard-hat-detection
      name: hard-hat-detection
      split: validation

    metrics:
      - type: precision  # since mAP@0.5 is not available on hf.co/metrics
        value: 0.83633  # min: 0.0 - max: 1.0
        name: mAP@0.5(box)
---

This model is built using tfjs and is based on the YOLOv8n architecture. It is capable of detecting two classes of objects: people wearing safety helmets and those who are not.

该模型使用tfjs构建,基于YOLOv8n架构,可以检测两类物体:戴安全帽的人和未戴安全帽的人。

This model is converted from https://huggingface.co/keremberke/yolov8n-hard-hat-detection

该模型转换自 https://huggingface.co/keremberke/yolov8n-hard-hat-detection

<div align="center">
  <img width="640" alt="keremberke/yolov8n-hard-hat-detection" src="https://huggingface.co/keremberke/yolov8n-hard-hat-detection/resolve/main/thumbnail.jpg">
</div>


### Supported Labels

```JSON
["Hardhat", "NO-Hardhat"]
```

### How to use

- Clone [this github repo](https://github.com/lanseria/yolov8-tfjs-vue-webrtc-demo)
- Read this repo readme