OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Deep Learning Traffic Lights

A Caffe-based deep-learning traffic-light classifier repository containing deployment configuration, ensemble weights, evaluation notebooks and training files.

Independent OpenViST project profile, based on linked sources.

Deep Learning Traffic Lights — Traffic-light recognition experiments using dashcam imagery
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you need a Caffe-based starting point for traffic-light image classification and can provide a compatible Caffe environment and, for training, your own dataset.

Who it is for

  • Developers building traffic-light recognition into dashcam image-processing workflows.
  • Researchers or practitioners evaluating a Caffe model ensemble on traffic-light images.
  • Model trainers with their own labeled traffic-light image data.

Documented uses

  • Run the provided classifier and weighted-average ensemble evaluation on dashcam images.
  • Use the included Caffe training configurations to train or fine-tune a classifier with separately supplied data.
Before you choose

Requirements & limits

  • Requires Caffe with Python bindings for the documented workflow.
  • The repository provides three weight files used together as an ensemble.
  • Training images and labels are not included; the README documents LMDB input and resizing images to 256 × 256.
  • Other inference frameworks are not documented.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Convert traffic-light images to resized LMDB data

Prepare image data in LMDB format at 256×256 for model training.

Before you start

  • Caffe with Python bindings and the convert_imageset tool.
  • Input images in an image directory and a labels file.

Steps

  1. Run Caffe's convert_imageset with --resize_height=256, --resize_width=256, and --shuffle.

  2. Provide the image directory, labels file, and destination LMDB path as the command's positional arguments.

Expected outcome

An LMDB dataset containing shuffled images resized to 256×256.

Guide limitations

  • Training data is not included in the repository.
  • The documented command uses example paths under ~/nexar/; replace them with paths to your own images, labels, and output location.
Source-based practical guide

Run the traffic-light classifier from the testing notebooks

Use the provided testing notebooks to run the model and perform a weighted average.

Before you start

  • Caffe with Python bindings.
  • The model files in /model, including the deploy prototxt and all three weights files.
  • The Jupyter notebooks in /testing.

Steps

  1. Open a notebook from /testing.

  2. Use the notebook to run the model and perform the weighted average across the model ensemble.

Expected outcome

The notebook runs the classifier and performs weighted averaging of the ensemble outputs.

Guide limitations

  • The README does not specify notebook names, input-image preparation, or detailed execution steps.
  • The three weights files are used together as an ensemble.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
13 November 2026
Original website title
davidbrai/deep-learning-traffic-lights · Official homepage title · retained in its source language