dmoura's picture
Added paper
3135b82 verified
metadata
license: other
license_name: nexar-open-data-license
license_link: LICENSE
language:
  - en
pretty_name: Nexar Collision Prediction Dataset
task_categories:
  - video-classification
tags:
  - automotive
  - dashcam
  - collision
  - prediction
size_categories:
  - 1K<n<10K

Nexar Collision Prediction Dataset

This dataset is part of an ongoing competition on Kaggle.

Dataset

The Nexar collision prediction dataset comprises videos from Nexar dashcams. Videos have a resolution of 1280x720 at 30 frames per second and typically have about 40 seconds of duration. The dataset contains 1500 videos where half show events where there was a collision or a collision was eminent (positive cases), and the other half shows regular driving (negative cases). The time of the event (collision or near-miss) is available for positive cases.

Goal

The goal of this dataset is to help build models to predict the time of collision. Models should be able to predict if a collision is about to happen or not. Both collisions and near-misses are treated equally as positive cases.

Model assessment

Models should be able to predict that a collision is about to happen as soon as possible, while avoiding false positives. Assessment scripts will be made available shortly that calculate the mean average precision across different times before collision (e.g. 500ms, 1000ms, 2000ms).

Usage

from datasets import load_dataset

dataset = load_dataset("videofolder", data_dir="/your/path/nexar_collision_prediction", split="train", drop_labels=False)

A positive example would look like this:

{'video': <decord.video_reader.VideoReader object at 0x7f5a97c22670>, 'label': 1, 'time_of_event': 20.367, 'time_of_alert': 19.299, 'light_conditions': 'Normal', 'weather': 'Cloudy', 'scene': 'Urban'}

and a negative example like this:

{'video': <decord.video_reader.VideoReader object at 0x7ff190129b50>, 'label': 0, 'time_of_event': None, 'time_of_alert': None, 'light_conditions': 'Normal', 'weather': 'Cloudy', 'scene': 'Urban'}

Paper and citation

A paper is available describing the dataset and the evaluation framework used on the Nexar Dashcam Crash Prediction Challenge.

Please use the following reference when citing this dataset:

Daniel C. Moura, Shizhan Zhu, and Orly Zvitia . Nexar Dashcam Collision Prediction Dataset and Challenge. https://arxiv.org/abs/2503.03848, 2025.

BibTeX:

@misc{nexar2025dashcamcollisionprediction,
      title={Nexar Dashcam Collision Prediction Dataset and Challenge}, 
      author={Daniel C. Moura and Shizhan Zhu and Orly Zvitia},
      year={2025},
      eprint={2503.03848},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2503.03848}, 
}