All Projects → njvisionpower → Safety Helmet Wearing Dataset

njvisionpower / Safety Helmet Wearing Dataset

Licence: mit
Safety helmet wearing detect dataset, with pretrained model

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Safety Helmet Wearing Dataset

Bccd dataset
BCCD (Blood Cell Count and Detection) Dataset is a small-scale dataset for blood cells detection.
Stars: ✭ 216 (-73.07%)
Mutual labels:  dataset, detection
Ochumanapi
API for the dataset proposed in "Pose2Seg: Detection Free Human Instance Segmentation" @ CVPR2019.
Stars: ✭ 168 (-79.05%)
Mutual labels:  dataset, detection
Ccpd
[ECCV 2018] CCPD: a diverse and well-annotated dataset for license plate detection and recognition
Stars: ✭ 1,252 (+56.11%)
Mutual labels:  dataset, detection
Tensorflow object tracking video
Object Tracking in Tensorflow ( Localization Detection Classification ) developed to partecipate to ImageNET VID competition
Stars: ✭ 491 (-38.78%)
Mutual labels:  dataset, detection
Caffenet Benchmark
Evaluation of the CNN design choices performance on ImageNet-2012.
Stars: ✭ 700 (-12.72%)
Mutual labels:  dataset
Awesome Project Ideas
Curated list of Machine Learning, NLP, Vision, Recommender Systems Project Ideas
Stars: ✭ 6,114 (+662.34%)
Mutual labels:  dataset
Devblogs
+2600 developer-related blogs and publications.
Stars: ✭ 637 (-20.57%)
Mutual labels:  dataset
Esc 50
ESC-50: Dataset for Environmental Sound Classification
Stars: ✭ 631 (-21.32%)
Mutual labels:  dataset
Yolo tensorflow
Tensorflow implementation of YOLO, including training and test phase.
Stars: ✭ 772 (-3.74%)
Mutual labels:  detection
Nlp chinese corpus
大规模中文自然语言处理语料 Large Scale Chinese Corpus for NLP
Stars: ✭ 6,656 (+729.93%)
Mutual labels:  dataset
Cluener2020
CLUENER2020 中文细粒度命名实体识别 Fine Grained Named Entity Recognition
Stars: ✭ 689 (-14.09%)
Mutual labels:  dataset
Proteinnet
Standardized data set for machine learning of protein structure
Stars: ✭ 664 (-17.21%)
Mutual labels:  dataset
Tensorflow Face Detection
A mobilenet SSD based face detector, powered by tensorflow object detection api, trained by WIDERFACE dataset.
Stars: ✭ 711 (-11.35%)
Mutual labels:  detection
Prepare detection dataset
convert dataset to coco/voc format
Stars: ✭ 654 (-18.45%)
Mutual labels:  detection
Imageai
A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities
Stars: ✭ 6,734 (+739.65%)
Mutual labels:  detection
Uhttbarcodereference
Universe-HTT barcode reference
Stars: ✭ 634 (-20.95%)
Mutual labels:  dataset
Chatito
🎯🗯 Generate datasets for AI chatbots, NLP tasks, named entity recognition or text classification models using a simple DSL!
Stars: ✭ 678 (-15.46%)
Mutual labels:  dataset
Clusterdata
cluster data collected from production clusters in Alibaba for cluster management research
Stars: ✭ 718 (-10.47%)
Mutual labels:  dataset
Sentinel Attack
Tools to rapidly deploy a threat hunting capability on Azure Sentinel that leverages Sysmon and MITRE ATT&CK
Stars: ✭ 676 (-15.71%)
Mutual labels:  detection
Wilayah Administratif Indonesia
Data Provinsi, Kota/Kabupaten, Kecamatan, dan Kelurahan/Desa di Indonesia
Stars: ✭ 667 (-16.83%)
Mutual labels:  dataset

SafetyHelmetWearing-Dataset(安全帽佩戴检测数据集)

Safety helmet (hardhat) wearing detect dataset(安全帽佩戴检测数据集, SHWD). We also provide pretrained models.

Introduction

SHWD provide the dataset used for both safety helmet wearing and human head detection. It includes 7581 images with 9044 human safety helmet wearing objects(positive) and 111514 normal head objects(not wearing or negative). The positive objects got from goolge or baidu, and we manually labeld with LabelImg. Some of negative objects got from SCUT-HEAD. We fixed some bugs for original SCUT-HEAD and make the data can be directly loaded as normal Pascal VOC format. Also we provide some pretrained models with MXNet GluonCV.

Dataset and model download

Dataset

BaiduDrive GoogleDrive

Model

BaiduDrive GoogleDrive

Benchmark

model darknet mobile1.0 mobile0.25
map 88.5 86.3 75.0

How to use dataset

We annotate the data as Pascal VOC format:

---VOC2028    
    ---Annotations    
    ---ImageSets    
    ---JPEGImages   

Two object class names for the task, "hat" for positive object and "person" for negative object.

How to run

Dependency

Make sure you install MXNet, GluonCV, OpenCV

Test with pretrained models

Two way to inference.

First way

Download models from link BaiduDrive.

Run "python test_yolo.py" with default settings, or change options:  
--network: darknet/mobile1.0/mobile0.25 network, default darknet53;  
--threshold: confidence that filter object;  
--gpu: use gpu or cpu, default gpu;  
--short: short side input size for original image.

Second way, inference with mxnet symbol

Download symbol models from BaiduDrive, (or GoogleDrive), then inference with symbol:

python test_symbol.py

Notice

1. This repo provide 3 yolo models with different size, default darknet53.
2. Parameter "short" means the input size of short side for original image, you can try larger value if want to detect dense objects or big size image.
3. Hyper-parameter threshold means the confidence for detect, change it for different task.

How to train

You can see function "get_dataset" in the file "train_yolo.py" to set dataset path. An example, download dataset and unzip to the path such as "D:\VOCdevkit\VOC2028", train/val dataset can set as:

train_dataset = VOCLike(root='D:\VOCdevkit', splits=[(2028, 'trainval')])
val_dataset = VOCLike(root='D:\VOCdevkit', splits=[(2028, 'test')])

Then check train_yolo.py to set options and train, such as:

python train_yolo.py --batch-size 4 -j 4 --warmup-epochs 3

Notice

1. One common problem when train yolo is gradient explosion, try more epoches to warmup or use smaller learning rate.
2. Much time spent on dataset loading with CPU, set "-j" number bigger if you have multi-core CPU and will improve train speed.
3. If train on Windows, sometimes program may blocked, see https://discuss.gluon.ai/t/topic/9388/11, if train on Linux make sure you have enough share memory.

Demo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].