Introduction #
ROAD-SEC stands as an object detection dataset comprising 13221 images, featuring annotations belonging to a singular class - road_element. Captured by stationary security cameras, these images offer diverse perspectives of highways and roads. This dataset encompasses a wide array of road elements, including but not limited to cars, trucks, pedestrians, and various environmental conditions such as differing weather patterns and lighting scenarios. The diversity in elements and environmental variations within the dataset provides a rich resource for training models to detect and understand the complexities of road elements within varying conditions and situations, crucial for applications in traffic analysis, road security, and surveillance systems.
The YOLO annotated dataset of highways and roads is a collection of images and corresponding annotation files that have been labeled using the You Only Look Once (YOLO) algorithm. The images in this dataset were captured by fixed security cameras and show different views of highways and roads. The dataset includes a variety of different elements, such as cars, trucks, and pedestrians, as well as different weather and lighting conditions. The annotations in the dataset provide detailed information about the objects in the images, including their location, size, and class.
The dataset is designed to be used for training and testing computer vision algorithms and models, particularly those focused on object detection and classification in the context of highway and road security. The annotations in the dataset were carefully curated by human annotators, ensuring high-quality labeling and accurate object recognition. This dataset can be a valuable resource for researchers, developers, and engineers who are working on computer vision projects related to highway and road security, as well as those interested in the YOLO algorithm and object detection techniques.
Summary #
ROAD-SEC is a dataset for an object detection task. Possible applications of the dataset could be in the security and surveillance industries.
The dataset consists of 13221 images with 166192 labeled objects belonging to 1 single class (road_element).
Images in the ROAD-SEC dataset have bounding box annotations. There are 164 (1% of the total) unlabeled images (i.e. without annotations). There are 3 splits in the dataset: train (9265 images), val (2926 images), and test (1030 images). The dataset was released in 2023.
![Dataset Poster](https://cdn.datasetninja.com/github/dataset-ninja/road-sec/main/visualizations/poster.png?width=1200)
Explore #
ROAD-SEC dataset has 13221 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 ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/x/L/kq/BylXCl1fG9dR8Lzq6TnDQEp48PGMC56n1CEffhilx71LGIkMMxmjLoX2Q4KTrdtgKgyvBOLK6wMvp5OsWHt67yCYN0HJCEDnVZUFwwBmafpHtUfkH1A2Nt6vORJQ.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/u/D/Q9/9zIyaHCY66hJqpZsGZrDKXjky4Knu6OoYar3rn95ugxytwrYCMMay6oCCeGlQiWI18cuiOAGMEUPFEe3f3DBRO5t0mVYPq4hdSPErpSwHy3evY5kqj6MG3FIAIqj.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/9/8/JU/6x3sRZUvUcJtR6NLlvj6Hk4DVl9XtNEIJBZUKHs1kJzCbPJdKJRrcqUqAge3I11dntTVlO4rXI1GLZL5zNAAGhhuedZrES30aacD3hlBJ74WeCkVwXywPW3Jtsb5.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/b/K/lB/36WDFAiPddQokhpMFFe9gjX8oHpmPtvMR5tESjT7n9LIXfJj1p0STHlHf7FqhdB17Jt2gux4fJDSkDSuRTtwYZMPzuMlyPQV2wt6YRhxKfz3oS9jhNB31QmV9vR4.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/4/B/Aq/FELrAuoNpYpgnDbqmd1XVlaSvXGK2utvHMZz9s3c2R2mEdXit8Ysr5rDILvx4nrYex3jCDvSdTG1lMEG25MzVEILMd1X23BZyoP3ZRGWgWgkQTnZERzFcETR6mr8.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/O/e/HZ/DaE4VYiVrcMUFvVHS79mxxtgKIdAR9UlM02WBKpoyaWiVnkzATw4jl5KaINeWz0Dv4Uw2LX3edIDhl7jcJ093owgziwrRKQ0WgEFVWRq8cuzsP7Fm8idbQB7XTWn.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/x/4/CB/BR2jilG6oxrqUU55aQ2lo9eiazDe9i7OGuaEL0qj001awr58Oqer0J5isfIAv6Cuc53tUJKr4GFZSsUzxjqIljRkM0l3dG22ZgtkytY4iEJAmJ9gu5c9FhY9NXGZ.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Z/n/vC/SRH4LOqiwGS4dxE7T8Dan0YAznQ5T8SVtERmPeYmt5YGrYbSgXDSlkGSclaZcnXMMyGfq7O5HcBsgA1uZo5qZ5eoLN29KsW17yxb85Vl2J9fDixKwmzYUZJFRZDs.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/9/S/XY/VyHujcUXtEiGpeSmBbR0CjFBCRyGOv87BWdZKfK7hN64k4oPVDGpWu1rhhPEOJYbwil4mRjf5IFkIaAcbobpKHzNGBhf33KDwfcvZrdOk4hYQL9e40vanu1RlBZs.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/5/w/LK/ALwnuiYEeQWEB2hkQT17Ges3Xo5ezkevh0JbtLFtpG2np7CYizCfBM9UCgBcJUG8602jGTmeWd28MM99GKyDyNz0YawMey0IIBsVRPVitRx9vqRatEGQOI7CfOPq.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/B/p/rF/GmcxWmyC16kAFnt16mr2VWGIgYw0WovkGg3cUOxgpYAHStmywBQLyLYvZyn2KWCQaUor7qyTGnyqWmpfab7UVX9KNF9BmE9hsu5avmkUVfvZ7TRy1L8wvex7gAej.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/i/8/9E/KLIANN5zC78AIIoXDSpmMkh5lkDzNNaLUNpklLDErFa0VTwKeueYLJ6e2AlzrFEzWvqXNCh1tm9doQ8tz5p9ifKTwDswPv7in99BHJ0vCCORbZO0yAvshhLDabZG.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/H/2/3y/VRj4cy0YOfimbIXBXrBDwCWbtYoAxkwtVC7dg3sCtWMsUWpCEiHVr6MDnbtnYtHGbJepvuuxS835wlzqrdjlqfpRsHOS9azMPVMpDFrsYVkMebogkFx4HhMTcI6p.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Y/V/4I/L8Qq389GirPLnFs3RxQQS6QhSOzzs4pufkRvg9Rt7JNjnQ5eKqQROq2aQt3w2g9VeDHXEAxCQyL07VIHb2cdkBBQgDQgMS8lsbIeECvUgITQbuZzpt5S19jdGYeJ.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Y/J/bg/7n9TkZC4hzRwp1mw8otujpXQ1LicFCwmuZZ2rT4keG0VhmJ1Io21V5eTuDwqqM43i1OOnZm9aI1FG1iIYVhSrvOsWBgWj4ujVcrmIUZgF599sDAYtFAib7ofWtEn.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/B/G/V8/cMbUF2eWeXNJ1MYDeWhv2ETPgVLnCj1hIbVC7Fb8qDuOQtRdlG7AAqPGdo3eMkDV7MaHid76h00AejtzasjZg8bLrCfmph801jhE8Ko0gMBUPabB84LritvqPGC6.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/G/m/ik/SUxKfe9mC0m7wMqZ7sZWpaMwVBn4csZOuX6xyINdLdUKCyi0GW1PxO2D0oK3zg4kJ3H1nd5QiDVRvvFL1ksIR9QxqLlSyhs69UupHfcehwzib43S4Zz76t2rSI4d.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/A/F/Aj/ri9v7yLFMFCHQk6dAJKS7ox1FPOUyGRHwOCnQjaryOCVyP398g7zOgyx9Yxf3iWQH6LOKOhauEwg5r7qGgKYrwJXpiKXoR8gYdWTUsmA5mhXFQNp4vUOsSh2560A.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/z/Q/k0/DNI8I4JXNrGW6MtEwNf4rZdnRdxLr25sMPChtB8NJkyQOMLKL9P877LHzdQ17xdF3X54phOkGXvwq4e7sPmq0vZLeT1zU9Absc3n9WZR0avI9kbp7x1ntpFUlNEv.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/S/v/lR/jE2iPP1QXc2WuC3j7OUFOZtcSmaSm3N58sioUi4134C3mAIQu3yo6SlRX3r6t3EKK2SoShWQzpaWEsnWAPJMpiYm9B7wwvedSOEAnAZe2fVrQGsWRYkfgOdTKjS6.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/a/5/66/JP2fP1zLOs490ZkbsekJ4LjbSVu3FPFdckCdUYCTW9zSB56CpxHqRn3MD04tEferWMcrRVI3nsYedq1pnOQ0gIzqCfi0kIqwWEwGffRwohVP5GomxnEEG6REJBMo.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/a/2/QP/KVe8DB8rWqkzMvOztD7DwI8vPAFoWDqxRmD7m1dVdiIezVNKHiewhWPS9PrQoF5TQqSdRdL4T0Dzdid6JQX4HdiHjv0veYNOepNLpDhCjASaGtnTrdH1udrEo2td.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/R/A/hv/5WkhUh28SFrt809F6VU51uqO5GOmPyADpzr6iQpqXRT2Ojjb9LICEoey6sAfcWfqA768PJKzf8YVMyf9Xv3bHYfQL9ZEWnVSgqaZBoafApcvicCO8tEYK37g0j5L.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/u/0/DA/X4vFS15p3DVvcsntg7e4nNxYrJKGGzYN2mBrCFau12JBc8dXbimDeMVGG19sfdqKQchlWKIGyS7wnoHO8eNvENGidNsyUgnYJ907UTtJ8oMLO9aQiebPkwZaqAur.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/E/c/h4/kSNMWn0CEX8WAJDE0ZwuCDhy6aAnMmIvP7O9wqb8AcDyp0ZThT6jySS4UcJeLWnhcILIFbH7sr2o44qCVVSDhSlW26hcxAmzbCihfhkpUMQbY8Dhnus32JT9Jl69.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/O/M/Ku/xKB5gx9uBYeWavjFfzNID56olhNSuxEeZBnDTAVsq18nPbqqgfhBSuog5GXD7nczpeSLdYjOFjdrFHGDUd3UU0t0ylnOHrJwNWlCUpv736hln5XjL5wJsVijItnl.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/b/Q/CU/S8UqTbomxY0y7ikDSM9ytx5koZPdPHiHNIPgJwt1bgDypbQZ9favSVlCCpAw1lGeZDWW9J0KuI6PCF9GxDsN56POzxONwvd549X0jGqE7t1p6l3FFiW8uxhAopjL.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/6/h/QJ/xIrIso4lTI3vaztE8o2KubGOjuDSm85uB1GWCelLOgwzkBt55q8VZuN9PF2QL7BaTMOTxHrnboAOX0jzkFSiOSP6g26Zb7bYGM2zjCmrlxdPPknc6kOI8UJ8qZiL.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/6/s/BE/vME5H3eGAwum5TzIc0KdzLe6ee9rSo6HJ6mj85Gr8xQ3PV4SLgl8rsrxQO8z8gMYSIarOSKWyZTveJP1wPanIFXqUWcwHxIaq6mY30eh6zk2V1R0wIQBQF9kkJIy.png)
![Sample image from ROAD-SEC](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/i/8/sh/gm3ZFn04yc4ugRdt8rXDBCc10P1435x2CohNv0ku3wNmZi60pQe8MqqLKqa3n8TB3stx5TLQhp734ECtqzDaU6wnxlvOPOGmmsy5tYhkx8LfKvwUa6taMsNvcMsG.png)
Class balance #
There are 1 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 |
---|---|---|---|---|
road_elementâž” rectangle | 13057 | 166192 | 12.73 | 6.89% |
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
road_element rectangle | 166192 | 0.59% | 18.52% | 0.04% | 11px | 1.83% | 412px | 68.67% | 39px | 6.54% | 8px | 1.33% | 230px | 38.33% |
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/road-sec/main/stats/classes_heatmaps.png)
Objects #
Table contains all 100157 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âž” | road_element rectangle | cam_18_137.png | 600 x 600 | 44px | 7.33% | 27px | 4.5% | 0.33% |
2âž” | road_element rectangle | cam_18_137.png | 600 x 600 | 41px | 6.83% | 29px | 4.83% | 0.33% |
3âž” | road_element rectangle | cam_18_137.png | 600 x 600 | 80px | 13.33% | 52px | 8.67% | 1.16% |
4âž” | road_element rectangle | cam_18_137.png | 600 x 600 | 135px | 22.5% | 89px | 14.83% | 3.34% |
5âž” | road_element rectangle | cam_18_137.png | 600 x 600 | 56px | 9.33% | 41px | 6.83% | 0.64% |
6âž” | road_element rectangle | cam_18_137.png | 600 x 600 | 80px | 13.33% | 52px | 8.67% | 1.16% |
7âž” | road_element rectangle | cam_18_137.png | 600 x 600 | 155px | 25.83% | 102px | 17% | 4.39% |
8âž” | road_element rectangle | cam_18_137.png | 600 x 600 | 27px | 4.5% | 29px | 4.83% | 0.22% |
9âž” | road_element rectangle | cam_18_137.png | 600 x 600 | 53px | 8.83% | 21px | 3.5% | 0.31% |
10âž” | road_element rectangle | cam_18_137.png | 600 x 600 | 54px | 9% | 42px | 7% | 0.63% |
License #
Citation #
If you make use of the ROAD-SEC data, please cite the following reference:
@dataset{ROAD-SEC,
author={Hector Acosta},
title={ROAD-SEC},
year={2023},
url={https://www.kaggle.com/datasets/hectorandac/road-sec}
}
If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:
@misc{ visualization-tools-for-road-sec-dataset,
title = { Visualization Tools for ROAD-SEC Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/road-sec } },
url = { https://datasetninja.com/road-sec },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-08 },
}
Download #
Dataset ROAD-SEC 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='ROAD-SEC', 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.
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.