Introduction #
The Safety Helmet and Reflective Jacket dataset contains 10,500 images that have been annotated with bounding boxes for two vital object classes: safety_helmet and reflective_jacket. The main objective behind this dataset is to facilitate the training of an object detection model using the YOLOv7 architecture to accurately identify and locate safety equipment within a diverse array of settings and environments. To ensure effective model development and evaluation, the dataset has been divided into train, test, and val subsets, maintaining a balanced ratio of 70% for training and 15% each for testing and validation, resulting in a comprehensive 100% split.
The dataset includes images captured from diverse locations, such as construction sites, factories, and outdoor work environments. Each image contains an average of five annotated objects, providing a comprehensive set of scenarios for the model to learn from.
The Safety Helmet and Reflective Jacket dataset is particularly useful for industries that require workers to wear safety helmets and reflective jackets, such as construction, manufacturing, and mining. By training a model on this dataset, companies can automate safety monitoring and reduce the risk of accidents caused by the lack of appropriate safety equipment.
The dataset is provided in the YOLOv7 format and includes annotations for each image in a text file. The images are available in JPEG format, making it easy to use with different deep-learning frameworks. The dataset’s large size and the diversity of images and objects make it a valuable resource for training a robust and accurate object detection model.
Summary #
Safety Helmet and Reflective Jacket is a dataset for an object detection task. Possible applications of the dataset could be in the safety industry.
The dataset consists of 10500 images with 36240 labeled objects belonging to 2 different classes including reflective_jacket and safety_helmet.
Images in the Safety Helmet and Reflective Jacket dataset have bounding box annotations. There are 49 (0% of the total) unlabeled images (i.e. without annotations). There are 3 splits in the dataset: train (7350 images), test (1575 images), and valid (1575 images). The dataset was released in 2023.
![Dataset Poster](https://cdn.datasetninja.com/github/dataset-ninja/safety-helmet-and-reflective-jacket/main/visualizations/poster.png?width=1200)
Explore #
Safety Helmet and Reflective Jacket dataset has 10500 images. Click on one of the examples below or open "Explore" tool anytime you need to view dataset images with annotations. This tool has extended visualization capabilities like zoom, translation, objects table, custom filters and more. Hover the mouse over the images to hide or show annotations.
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/b/P/Mx/iNhHraq9nYguMnL4ke4yaiGJnbRzfzTian6SRyuH5VM4219jlYIrHqeFzhOD3VI2H5LlfDRrVUqvLuzt3opmZVNMShJbd9Yb1qFfDMK4BWpfKSRax9v2VRcNWiGD.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/S/i/nq/77827XcEsJBdt0S4P6Fc5KhXCzDvZidkOOenm8lSN7vkCBH5QnQPM3kXuiJgH5ovnVwJvJo7jWabT8flis4qwgOGjorczTVRMqIBUbCtU1PHaPxsUq0t1qjcGY9Q.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/r/I/eZ/UPJKrIIder8wea8i8gzkrHZF86fzcnDl9AVdT1tV6h2JYO2j71YvNKNGu8rC7AU4PcG0pPxst0CH98hyiYjpyI1mJHYJrP30VBKfcncJRZaB5a40UfJuWTPnGqfp.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/l/sm/BEJ9XBARx4fHGVdCP3G8uKVH0ORouxHIJCBj3mi4hxGTGEfHD4w9f65llXBdwvzivsoEMaM51sVGkRvJogf7js9WYjg8hmuZ74J6VP1BmeBelCTCsM9I8NqMSv9d.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/B/s/4l/DXa9QEGDGYHCCOF9o1WJP071Xm1QDeROYnknCg9m28Lk6JuJR7hYCfsb9SV5P3bsdVJ7unPzGeCHM839XBxzW2QqRyVyqA4n49G8dihdR0PB8jRId8DlwN32v3UD.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/C/Y/W5/k6exPE3tYGv8l6itdJic1tO81SeiVkYqOb8N05m45MoORxa2bTTxk2BoMLoTcp2LLMdzl342fzlhYLw94GIm0o9lOBmFyX7ZgyKoadkkEXiiFxvT6OfsQ1VKG5My.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/p/U/uk/KkpxXYGsont1m8EIBM6tcYnDO7keO7sk4jN4FHT6UiGMcnvbmGc0wT91lsEhxWfN0vvJWUtIA4xF2t2Ppt6USuY31954hmtG6IMVLQ2GGr4y2eUwajgynSO7Rydk.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/n/e/ot/MLYEEfxWmbqqIIb1abaqX1QWsIMMXSreKRUhFPJro76zXbtOr70pXE31U0stfooexndgCpL94jDeNKmYKdqlKb6sVwQoQdYXPLOmdjWnMrBm5bxMVFueKWKvw8zU.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/t/O/R5/6doOfmjiGYpJBgZPIKKfX0WOnKpDeeVS7PQHVTvUju8Ig3F3hnt0dLZ1LD69Z2vyssRbUh8kGFX2RIrB9IZ3BC3qdiVPhf2FPdNWIxGjp5XqdePkSghjfnSeAiZG.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/X/X/20/0bEYzoYVu70i8KqKoUZPYFuMBcvK1ql3pJLQk3ykrhQdCmawlsShvItWO1S3Tc8DA9Uw28YB64NgNxufl7spkG1Qi2COZXz98LvXibEHErmZiS9KQiuGhDQEPUom.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/5/e/AW/uaKcwF6Qub1l4Fe3atxMEz1bnkNsJZ5bRW1NKPlztUoz9mCFs0INen826NWqpdSoSSEuFbIFT8TT6s7gTQ25a2anZbQyeYs5PQGGXmfUM68v6XMzbM3QAYwlAlbF.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/y/H/2U/QD5xX2058AhySbwHcGJmjNhth0mM4lx8q6UWdIXF8zxzvRMOzEeprO9j60yzD3GaWb9HOxloSzhY3lRnXpUSdlFfBPjbwT6yV0cqnuVxswuORlmfdjsw1RfVE9IK.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/6/V/nd/V3RbAQsJPMd2NudjALni8uhtSEEHMqbnbvaJBvFQNOpoIyBvc2feIBuYZ172ezCGOeFdLyar0NzSi0NxwEZPIPUWx8ijJxGJsaFVnnM65fTwuSF1jWB8b3vC5IRk.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/O/V/DY/BMIDXBF8LTuJc7zX8NDE8fvAKlKzQfnUX2TuM0OzTNfpnyh4PX0krD45BXrXXOwMsrbTEbXBA4SmgakUPOzTZZWp1UMuE3OJR4uvuLG47UsJHHdHuDTC4W7PDs81.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/F/Z/5B/DgK0fSDZlc5glk1iMz76DJ96vg7siet4sEppo3GSFo5LoLOquI9T8feI2cwD5PggeWoFAv4jEuJJDtPyFgD2U1pPUD2V0b43XtogToZONU5ywUjqC4J2MZum89lu.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/L/z/iD/bYO5QsHA3D4ZZ19Cfr2Z7ALq275dFWmf9CQAVGfMrnZ0F4CTLacPac9Xm8Na0hCNqNA1PFDKVdwj4py0mhSNqeSo27pYYinJorGIcGlkRfPa89Weo9KNldDevvP2.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/q/f/Q7/NPg8IKlEV5QSZlNcbJc42XycChczoGyLAqtt1a7OBjJm8zAwUvsyfTkblKEzNIm7qkdMPun2bNsTcsLvtNG5reC74SDzT2n9OmeQCu6q5MaQ7DD71VspiBNsnKZq.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/v/N/TA/sPJH5JBs7KPZ8wkhjnVdc4dh8a9g3OPdEDPoZk86DgsvMDVC4upySnVbAC1BieNWfHYigb5PsVoePbCKZ8gXEDKRsEUbtmdxzhgiewbszks7zwxOPSqzwKsml986.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/t/k/hb/MEJdAXVMHvVnEnyLp3zbVRkvfrbkrJvbHUSAxelGCCkpRI802G8Jz2LCO3NggwqLSYx5djrPK1zGs72k8ED9sz6jN3JDuLUHnFcLVZJ22cnxN6c5Owocpty9p9LD.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/v/W/2P/CyC5Uh1aRUCmx4eWDlwexKHalVupEU8zHbL4ycfR8qyGoU0eFuh8R8P2F3fednZWwF3mkUHTdUHUxvlsQpYKOMQFbHy1lyUfJKSEwBsZYoCV4lh5mMFumMw0yVYL.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/J/K/9v/faBxMTRK9Sa6LmSwzDc44ohFJl9EP5ppEt97MbHQVH2n1a1eHhONKI6mwjH0xURSRl7x4jmrN5Stkzn8zsFHHfOZxC14fSSb74i8t1kFHaNDuaWU3kff3LHwTuW1.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/L/U/VB/dV9W2OMNgajAngJkWAhBtJb9OacLNMvtGyIQsdcKqeJ4ZsYtbxhPXXphY3DBoZYopFjiujfZR8iFYdbjmsMMEWDrGLTgY0bj3FQqkXBZpQcmD6hwwP29q1l3YrIV.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/U/6/wC/pqQXxsj9wQ1l9MzFEKPW2CjHWPTc1ExrTKaZxhdpGmrN0Mc5URUHXD90KaguD9FTnc2m2nyDLzIYx73PbfaiMzE3x504bVouLoyuAGsPMCYa07W24TNVPZunjovz.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/N/U/l0/3JNhnVnOzgNHoJb1PB2EP2s02kKCFZLnGjjzgjxL4nBCTzjzsoQ9hnkZj9e45JzwaDcETF7gLmhVgwF2k2ZnfUOqPktnqDD4wFRl4RTaqoIa1GDKMERBLU0r0CMM.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/J/o/Wx/kjnyxFC2uzijWCbXhukHsemyWkR68Esqbl0rccfvtLc6w4yFQj7d2sqnoHiZBA1Zz9vuR5IhPk6n9irNWqe9bi1MqPN0UyVV4k1G9xYjx2He2r2PiIbLJt1CyKs3.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Z/2/kg/oF1rkhXxVDLWUifP8HWtEk9BSGhauHgCbI2f51CzF21qVYuac2l3DXK9fJCqX1XyLg1R9M2eDYTD5SJ7La8uzkVeEp5NIPZC9jsZmhOnr2gpPftGA7IsbSm0h5H3.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/M/E/kK/EpbHHEOip8U5mjaRvRsV9B2qKqDFpgCUsuTZLezzfQjXzyZvu2JeFSfdftVN2FAtY5g4fQCIRSsxhJZ3V0LPMWyj2q2QBToIBgiJ6ueoD9lJmcDf9NfPKe8iWz1m.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Q/P/bw/YOCeGAE4VlGNuWXq7M8kNig3sLQ0NMAKw3uAws5kIwSJQFaS51m9vZPkaiKTMo5lLEkhEX1U7XjmpdloXrsasOCWMtYghhqJRisG2b8NBRYTYwXE0qtlOgVBuKPb.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/W/J/Fb/kfBcGj9AhscxjSUaf3mU18cGoxZ6dJGp5mIE5MNFajRZdzEPXwn2aRVMsr2SDrAGbGAdPJcjeLRU6oFdIdFkmwm6Ge5URAtqgze1RExW8H7wZymnP3ov5WFb8gwT.jpg)
![Sample image from Safety Helmet and Reflective Jacket](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/G/q/D6/hpbQ4n93fq4tBf4ykVWusE59cgHrbYcpGWP9AdwaJBqIoQrkBmE2x9LBFfuCYVDFC303WjeDEUuhlX4UGmtnNe1fIYlEKccjC5q1JRiu2iRDRbRwD0HSF4SUfSm8.jpg)
Class balance #
There are 2 annotation classes in the dataset. Find the general statistics and balances for every class in the table below. Click any row to preview images that have labels of the selected class. Sort by column to find the most rare or prevalent classes.
Class ã…¤ | Images ã…¤ | Objects ã…¤ | Count on image average | Area on image average |
---|---|---|---|---|
reflective_jacketâž” rectangle | 8803 | 16049 | 1.82 | 24.13% |
safety_helmetâž” rectangle | 8570 | 20191 | 2.36 | 7.29% |
Co-occurrence matrix #
Co-occurrence matrix is an extremely valuable tool that shows you the images for every pair of classes: how many images have objects of both classes at the same time. If you click any cell, you will see those images. We added the tooltip with an explanation for every cell for your convenience, just hover the mouse over a cell to preview the description.
Images #
Explore every single image in the dataset with respect to the number of annotations of each class it has. Click a row to preview selected image. Sort by any column to find anomalies and edge cases. Use horizontal scroll if the table has many columns for a large number of classes in the dataset.
Object distribution #
Interactive heatmap chart for every class with object distribution shows how many images are in the dataset with a certain number of objects of a specific class. Users can click cell and see the list of all corresponding images.
Class sizes #
The table below gives various size properties of objects for every class. Click a row to see the image with annotations of the selected class. Sort columns to find classes with the smallest or largest objects or understand the size differences between classes.
Class | Object count | Avg area | Max area | Min area | Min height | Min height | Max height | Max height | Avg height | Avg height | Min width | Min width | Max width | Max width |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
safety_helmet rectangle | 20191 | 3.13% | 95.83% | 0.01% | 8px | 1.25% | 629px | 98.28% | 95px | 14.87% | 7px | 1.09% | 631px | 98.59% |
reflective_jacket rectangle | 16049 | 13.45% | 100% | 0.01% | 11px | 1.72% | 640px | 100% | 247px | 38.62% | 3px | 0.47% | 640px | 100% |
Spatial Heatmap #
The heatmaps below give the spatial distributions of all objects for every class. These visualizations provide insights into the most probable and rare object locations on the image. It helps analyze objects' placements in a dataset.
![Spatial Heatmap](https://cdn.datasetninja.com/github/dataset-ninja/safety-helmet-and-reflective-jacket/main/stats/classes_heatmaps.png)
Objects #
Table contains all 36240 objects. Click a row to preview an image with annotations, and use search or pagination to navigate. Sort columns to find outliers in the dataset.
Object ID ã…¤ | Class ã…¤ | Image name click row to open | Image size height x width | Height ã…¤ | Height ã…¤ | Width ã…¤ | Width ã…¤ | Area ã…¤ |
---|---|---|---|---|---|---|---|---|
1âž” | reflective_jacket rectangle | helmet_jacket_07375.jpg | 640 x 640 | 440px | 68.75% | 426px | 66.56% | 45.76% |
2âž” | reflective_jacket rectangle | helmet_jacket_07876.jpg | 640 x 640 | 349px | 54.53% | 202px | 31.56% | 17.21% |
3âž” | safety_helmet rectangle | helmet_jacket_07876.jpg | 640 x 640 | 199px | 31.09% | 101px | 15.78% | 4.91% |
4âž” | safety_helmet rectangle | helmet_jacket_07876.jpg | 640 x 640 | 116px | 18.12% | 91px | 14.22% | 2.58% |
5âž” | reflective_jacket rectangle | helmet_jacket_07876.jpg | 640 x 640 | 298px | 46.56% | 154px | 24.06% | 11.2% |
6âž” | reflective_jacket rectangle | helmet_jacket_07738.jpg | 640 x 640 | 353px | 55.16% | 103px | 16.09% | 8.88% |
7âž” | reflective_jacket rectangle | helmet_jacket_07738.jpg | 640 x 640 | 329px | 51.41% | 88px | 13.75% | 7.07% |
8âž” | safety_helmet rectangle | helmet_jacket_07738.jpg | 640 x 640 | 96px | 15% | 64px | 10% | 1.5% |
9âž” | safety_helmet rectangle | helmet_jacket_07738.jpg | 640 x 640 | 91px | 14.22% | 61px | 9.53% | 1.36% |
10âž” | safety_helmet rectangle | helmet_jacket_07738.jpg | 640 x 640 | 145px | 22.66% | 74px | 11.56% | 2.62% |
License #
Safety Helmet and Reflective Jacket is under Apache 2.0 license.
Citation #
If you make use of the Safety Helmet and Reflective Jacket data, please cite the following reference:
@dataset{Safety Helmet and Reflective Jacket,
author={Nirav B Naik},
title={Safety Helmet and Reflective Jacket},
year={2023},
url={https://www.kaggle.com/datasets/niravnaik/safety-helmet-and-reflective-jacket}
}
If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:
@misc{ visualization-tools-for-safety-helmet-and-reflective-jacket-dataset,
title = { Visualization Tools for Safety Helmet and Reflective Jacket Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/safety-helmet-and-reflective-jacket } },
url = { https://datasetninja.com/safety-helmet-and-reflective-jacket },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-08 },
}
Download #
Dataset Safety Helmet and Reflective Jacket can be downloaded in Supervisely format:
As an alternative, it can be downloaded with dataset-tools package:
pip install --upgrade dataset-tools
… using following python code:
import dataset_tools as dtools
dtools.download(dataset='Safety Helmet and Reflective Jacket', dst_dir='~/dataset-ninja/')
Make sure not to overlook the python code example available on the Supervisely Developer Portal. It will give you a clear idea of how to effortlessly work with the downloaded dataset.
The data in original format can be downloaded here.
Disclaimer #
Our gal from the legal dep told us we need to post this:
Dataset Ninja provides visualizations and statistics for some datasets that can be found online and can be downloaded by general audience. Dataset Ninja is not a dataset hosting platform and can only be used for informational purposes. The platform does not claim any rights for the original content, including images, videos, annotations and descriptions. Joint publishing is prohibited.
You take full responsibility when you use datasets presented at Dataset Ninja, as well as other information, including visualizations and statistics we provide. You are in charge of compliance with any dataset license and all other permissions. You are required to navigate datasets homepage and make sure that you can use it. In case of any questions, get in touch with us at hello@datasetninja.com.