__key__
stringlengths
22
22
__url__
stringclasses
1 value
jpg
imagewidth (px)
1.28k
1.28k
1280x720_images/056285
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/092026
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/052940
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/026881
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/043315
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/009281
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/072909
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/004411
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/061432
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/094133
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/085387
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/054872
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/094864
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/027249
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/069844
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/064613
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/049211
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/003086
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/047049
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/000034
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/047937
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/067259
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/005434
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/007585
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/034441
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/019227
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/037401
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/073086
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/079620
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/005819
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/035413
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/041612
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/020294
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/000888
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/079441
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/071414
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/019008
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/075993
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/078006
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/043820
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/072716
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/057143
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/007153
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/020271
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/083712
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/093360
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/067900
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/011457
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/062843
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/014299
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/083732
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/093025
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/025695
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/039140
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/025266
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/025321
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/063145
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/018043
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/078594
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/037616
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/047948
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/066267
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/027464
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/036099
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/083277
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/008303
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/038661
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/051456
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/034229
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/050765
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/034712
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/082275
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/031904
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/050532
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/050325
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/068621
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/076456
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/094884
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/001497
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/075424
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/099224
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/066256
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/003390
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/003354
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/091998
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/059533
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/067577
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/096212
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/086074
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/022627
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/034011
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/055329
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/052436
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/038653
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/064907
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/007846
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/052399
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/038498
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/024656
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz
1280x720_images/072055
hf://datasets/8bits-ai/ZOD-Mini-2D-Road-Scenes@244c5a10859c6951830112fdb97072b83dddf92e/1280x720_images.tar.gz

ZOD-Mini-2D-Road-Scenes

The ZOD-Mini-2D-Road-Scenes dataset is derived from the Zenseact Open Dataset (ZOD), property of Zenseact AB (Β© 2022 Zenseact AB), and is licensed under the permissive CC BY-SA 4.0. Any public use, distribution, or display of this dataset must contain this entire notice:

For this dataset, Zenseact AB has taken all reasonable measures to remove all personally identifiable information, including faces and license plates. To the extent that you like to request removal of specific images from the dataset, please contact [email protected].

The purpose of Zenseact is to save lives in road traffic. We encourage use of this dataset with the intention of avoiding losses in road traffic. ZOD is not intended for military use.

The ZOD-Mini-2D-Road-Scenes dataset includes 2D road images and their corresponding annotations to assist in the development of autonomous driving technologies. The development kit provided with the original dataset by Zenseact AB, licensed under the MIT License, can be found here.

Lane Marking Detection Dataset Preparation

This project prepares a YOLO segmentation dataset for lane marking detection from various resolutions and annotations. It involves extracting base datasets, converting annotations to the YOLO format, and organizing the dataset into training and validation sets.

Project Structure

Lane-Marking-Detection/
β”œβ”€β”€ 1280x720_images.tar.gz
β”œβ”€β”€ 640x360_images.tar.gz
β”œβ”€β”€ annotations.tar.gz
β”œβ”€β”€ extract_base_dataset.py
β”œβ”€β”€ extract_yolo_seg_lane_marking_dataset.py
β”œβ”€β”€ dataset/
β”œβ”€β”€ utils.py
β”œβ”€β”€ safe_executor.py
└── README.md

Setup

Prerequisites

  • Python 3.x
  • Required Python packages: tqdm, pyyaml, argparse

You can install the required packages using:

pip install tqdm pyyaml argparse

Extracting Base Datasets

The base datasets are stored as tar.gz files. You need to extract them to prepare the dataset for training.

Usage

Step 1: Extract Base Datasets

The extract_base_dataset.py script extracts the base datasets for the specified resolution.

python extract_base_dataset.py --from_res <resolution>

Supported resolutions can be found by checking the utils.get_supported_resolutions() function.

Step 2: Prepare YOLO Segmentation Dataset

The extract_yolo_seg_lane_marking_dataset.py script converts annotations to YOLO format and organizes the dataset into training and validation sets.

python extract_yolo_seg_lane_marking_dataset.py --from_res <resolution> [--cache_enabled True/False]

Arguments:

  • --from_res: Specify the resolution of the dataset (e.g., 1280x720, 640x360).
  • --cache_enabled: Optional. Enable or disable caching (default is False).

Example Commands

Extract Base Dataset

python extract_base_dataset.py --from_res 1280x720

Prepare YOLO Segmentation Dataset

python extract_yolo_seg_lane_marking_dataset.py --from_res 1280x720 --cache_enabled True

Detailed Script Descriptions

extract_base_dataset.py

This script extracts the base dataset for the specified resolution.

extract_yolo_seg_lane_marking_dataset.py

This script:

  1. Converts annotations to YOLO format.
  2. Splits the data into training and validation sets.
  3. Prepares the dataset directory structure.
  4. Creates a dataset.yaml file with the following structure:
path: <absolute_path_to_dataset>
train: train  # relative to 'path'
val: val      # relative to 'path'
names:
  0: lm_solid
  1: lm_dashed

safe_executor.py

This module provides a SafeExecutor context manager that ensures any changes are reverted if an exception occurs.

utils.py

This module contains utility functions used across the scripts, such as directory creation and file extraction.

Example Directory Structure After Extraction

Lane-Marking-Detection/
β”œβ”€β”€ dataset/
β”‚   β”œβ”€β”€ yolo_seg_lane_1280x720/
β”‚   β”‚   β”œβ”€β”€ train/
β”‚   β”‚   β”‚   β”œβ”€β”€ 000000.jpg
β”‚   β”‚   β”‚   β”œβ”€β”€ 000000.txt
β”‚   β”‚   β”œβ”€β”€ val/
β”‚   β”‚   β”‚   β”œβ”€β”€ 128349.jpg
β”‚   β”‚   β”‚   β”œβ”€β”€ 128349.txt
β”‚   β”‚   β”œβ”€β”€ dataset.yaml

Notes

  • Ensure you have the necessary permissions to read and write to the specified directories.
  • If the dataset directory already exists, the script will prompt you to confirm whether to remove it before proceeding.

License

This project is licensed under the MIT License.

By using this dataset, you agree to the terms of the CC BY-SA 4.0 license.

Downloads last month
100
Edit dataset card