Skip to content
Pedestrian traffic light image dataset (Germany)
Branch: master
Clone or download
Pull request Compare This branch is even with patVlnta:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Pedestrian traffic light image dataset (Germany)


The dataset has been collected in a joint effort between the Hochschule Augsburg and the University of Tuebingen. Students were able to contribute by sending their pictures of pedestrian traffic lights with the LightsCatcher application.

The dataset has been used to train an object detection algorithm which is used in the Ampel-Pilot mobile application for visually impaired mobile users. It can be used as guidance for determining the current phase of a pedestrian traffic light.


  • 3696 Images
  • 4311 Annotations (63% Red, 37% Green)


The dataset is split into 4 different parts:


A MySql database was used to store image information and image annotations. The dump file is provided in this repository.


Images are stored in the images database table. Metainformation like file name, file extension and image dimensions can be obtained from here.


Annotations are stored in the objects table. Information like related image, class label (Red, Green) and position of the bounding box within the image can be obtained from here.


  • The bounding box dimensions are kept relative to the image dimensions.
  • x,y is the center of the bounding box

Installation (MySQL Workbench)

  1. Connect to your (local) database server
  2. Server -> Data Import
  3. Select the checkbox Import from Self-Contained File and provide the path to the SQL dump file
  4. Make sure that Dump Structure and Data option is selected on the bottom of the screen
  5. Start Import


A YOLOv2 object detection model (tiny) was trained based on this dataset using 3062 Images for training and 630 Images for validation.

Light Phase Recall Precision IoU
Red 0.796 0.739 0.602
Green 0.734 0.688 0.601

The model including the config file can be found here.


Contributions to the dataset are always very welcome. If you have any further questions, ideas or enquiries, feel free to get in contact either by opening an issue or email


You can’t perform that action at this time.