Personal Protective Equipment Dataset (PPED)
<p><strong>Personal Protective Equipment Dataset (PPED)</strong></p> <p>This dataset serves as a benchmark for PPE in chemical plants<br> We provide datasets and experimental results.</p> <p><strong>1. The dataset</strong></p> <p>We produced a data set based on the actual needs and relevant regulations in chemical plants.<br> The standard GB 39800.1-2020 formulated by the Ministry of Emergency Management of the People’s Republic of China defines the protective requirements for plants and chemical laboratories.<br> The complete dataset is contained in the folder <code>PPED/data</code>.</p> <p><strong>1.1. Image collection</strong></p> <p>We took more than 3300 pictures.<br> We set the following different characteristics, including different environments, different distances, different lighting conditions, different angles, and the diversity of the number of people photographed.</p> <ul> <li>Backgrounds: There are 4 backgrounds, including office, near machines, factory and regular outdoor scenes.</li> <li>Scale: By taking pictures from different distances, the captured PPEs are classified in small, medium and large scales.</li> <li>Light: Good lighting conditions and poor lighting conditions were studied.</li> <li>Diversity: Some images contain a single person, and some contain multiple people.</li> <li>Angle: The pictures we took can be divided into front and side.</li> </ul> <p>A total of more than 3300 photos were taken in the raw data under all conditions.<br> All images are located in the folder “PPED/data/JPEGImages”.</p> <p><strong>1.2. Label</strong></p> <p>We use Labelimg as the labeling tool, and we use the PASCAL-VOC labelimg format.<br> Yolo use the txt format, we can use <code>trans_voc2yolo.py</code> to convert the XML file in PASCAL-VOC format to txt file.<br> Annotations are stored in the folder <code>PPED/data/Annotations</code></p> <p><strong>1.3. Dataset Features</strong></p> <p>The pictures are made by us according to the different conditions mentioned above.<br> The file <code>PPED/data/feature.csv</code> is a CSV file which notes all the .os of all the image. It records every feature of the picture, including lighting conditions, angles, backgrounds, number of people and scale.</p> <p>1.4. Dataset Division</p> <p>The data set is divided into 9:1 training set and test set.</p> <p><strong>2. Baseline Experiments</strong></p> <p>We provide baseline results with five models, namely Faster R-CNN ®, Faster R-CNN (M), SSD, YOLOv3-spp, and YOLOv5.<br> All code and results is given in folder <code>PPED/experiment</code>.</p> <p><strong>2.1. Environment and Configuration:</strong></p> <ul> <li>Intel Core i7-8700 CPU</li> <li>NVIDIA GTX1060 GPU</li> <li>16 GB of RAM</li> <li>Python: 3.8.10</li> <li>pytorch: 1.9.0</li> <li>pycocotools: pycocotools-win</li> <li>Windows 10</li> </ul> <p><strong>2.2. Applied Models</strong></p> <p>The source codes and results of the applied models is given in folder <code>PPED/experiment</code> with sub-folders corresponding to the model names.</p> <p><strong>2.2.1. Faster R-CNN</strong></p> <ul> <li>Faster R-CNN <ul> <li>backbone: resnet50+fpn <ul> <li>We downloaded the pre-training weights from <a href="https://download.pytorch.org/models/fasterrcnn_resnet50_fpn_coco-258fb6c6.pth">https://download.pytorch.org/models/fasterrcnn_resnet50_fpn_coco-258fb6c6.pth</a>.</li> <li>We modified the dataset path, training classes and training parameters including batch size.</li> <li>We run <code>train_res50_fpn.py</code> start training.</li> <li>Then, the weights are trained by the training set.</li> <li>Finally, we validate the results on the test set.</li> </ul> </li> <li>backbone: mobilenetv2 <ul> <li>the same training method as resnet50+fpn, but the effect is not as good as resnet50+fpn, so it is directly discarded.</li> </ul> </li> </ul> </li> </ul> <p>The Faster R-CNN source code used in our experiment is given in folder <code>PPED/experiment/Faster R-CNN</code>.<br> The weights of the fully-trained Faster R-CNN (R), Faster R-CNN (M) model are stored in file <code>PPED/experiment/trained_models/resNetFpn-model-19.pth and </code>mobile-model.pth.<br> The performance measurements of Faster R-CNN (R) Faster R-CNN (M) are stored in folder <code>PPED/experiment/results/Faster RCNN(R)and Faster RCNN(M)</code>.</p> <p><strong>2.2.2. SSD</strong></p> <ul> <li>backbone: resnet50</li> <li>We downloaded pre-training weights from <a href="https://download.pytorch.org/models/resnet50-19c8e357.pth">https://download.pytorch.org/models/resnet50-19c8e357.pth</a>.</li> <li>The same training method as Faster R-CNN is applied.</li> </ul> <p>The SSD source code used in our experiment is given in folder <code>PPED/experiment/ssd</code>.<br> The weights of the fully-trained SSD model are stored in file <code>PPED/experiment/trained_models/SSD_19.pth</code>.<br> The performance measurements of SSD are stored in folder <code>PPED/experiment/results/SSD</code>.</p> <p><strong>2.2.3. YOLOv3-spp</strong></p> <ul> <li>backbone: DarkNet53</li> <li>We modified the type information of the XML file to match our application.</li> <li>We run <code>trans_voc2yolo.py</code> to convert the XML file in VOC format to a txt file.</li> <li>The weights used are: yolov3-spp-ultralytics-608.pt.</li> </ul> <p>The YOLOv3-spp source code used in our experiment is given in folder <code>PPED/experiment/YOLOv3-spp</code>.<br> The weights of the fully-trained YOLOv3-spp model are stored in file <code>PPED/experiment/trained_models/YOLOvspp-19.pt</code>.<br> The performance measurements of YOLOv3-spp are stored in folder <code>PPED/experiment/results/YOLOv3-spp</code>.</p> <p><strong>2.2.4. YOLOv5</strong></p> <ul> <li>backbone: CSP_DarkNet</li> <li>We modified the type information of the XML file to match our application.</li> <li>We run <code>trans_voc2yolo.py</code> to convert the XML file in VOC format to a txt file.</li> <li>The weights used are: yolov5s.</li> </ul> <p>The YOLOv5 source code used in our experiment is given in folder <code>PPED/experiment/yolov5</code>.<br> The weights of the fully-trained YOLOv5 model are stored in file <code>PPED/experiment/trained_models/YOLOv5.pt</code>.<br> The performance measurements of YOLOv5 are stored in folder <code>PPED/experiment/results/YOLOv5</code>.</p> <p>2.3. Evaluation</p> <p>The computed evaluation metrics as well as the code needed to compute them from our dataset are provided in the folder <code>PPED/experiment/eval</code>.</p> <p><strong>3. Code Sources</strong></p> <ol> <li>Faster R-CNN (R and M) <ul> <li>https://github.com/WZMIAOMIAO/deep-learning-for-image-processing/tree/master/pytorch_object_detection/faster_rcnn</li> <li>official code: https://github.com/pytorch/vision/blob/main/torchvision/models/detection/faster_rcnn.py</li> </ul> </li> <li>SSD <ul> <li><a href="https://github.com/WZMIAOMIAO/deep-learning-for-image-processing/tree/master/pytorch_object_detection/ssd">https://github.com/WZMIAOMIAO/deep-learning-for-image-processing/tree/master/pytorch_object_detection/ssd</a></li> <li>official code: <a href="https://github.com/pytorch/vision/blob/main/torchvision/models/detection/ssd.py">https://github.com/pytorch/vision/blob/main/torchvision/models/detection/ssd.py</a></li> </ul> </li> <li>YOLOv3-spp <ul> <li><a href="https://github.com/WZMIAOMIAO/deep-learning-for-image-processing/tree/master/pytorch_object_detection/yolov3-spp">https://github.com/WZMIAOMIAO/deep-learning-for-image-processing/tree/master/pytorch_object_detection/yolov3-spp</a></li> </ul> </li> <li>YOLOv5 <ul> <li><a href="https://github.com/ultralytics/yolov5">https://github.com/ultralytics/yolov5</a></li> </ul> </li> </ol>
ShareScore
36/100
Overall dataset sharing score
Score breakdown
These five areas show where the dataset supports — or may limit — practical reuse.
- Stewardship
- 8
- Harmonization
- 4
- Access
- 16
- Reuse readiness
- 8
- Engagement
- 0
Topics
Dataset details
- Repository
- zenodo
- Published
- May 15, 2022
- License
- cc-by-4.0
- DOI
- 10.5281/zenodo.6551757
Scored with release 0.9.0
ScienceDex for faculty
Your academic CV and NIH biosketch
Make your CV in your school's format and your NIH biosketch from it, then download both as Word files.