Skip to content

ingmarliibert/dashcam-danger-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dash cam danger detection

Requirements

Python >= 3.8 (and maybe >=3.7 could also works but I'm not sure).

Install them, for example via pip in a terminal:

pip install --requirement ./requirements.txt

Or any virtualenv or something that you want.

if you have trouble installing scikit with pycharm :

python -m pip install scikit-learn==0.23.2

Data

Install the Traffic sign dataset, unzip and put it in the folder ./data/traffic-sign.

Then, run the script traffic_sign_data_cleaning.py. This script will restructure the dataset to allow our models to work easier (it does some label to folder mapping).

Tensorflow

Follow instructions here: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2.md

The base tutorial: https://github.com/tensorflow/models/blob/master/research/object_detection/colab_tutorials/object_detection_tutorial.ipynb

Make sure that you have Tensorflow 2 installed, Tensorflow 1 won't work. If have followed the previous step, then it should be fine.

Models and Data Provenance

Coco-SSD

Traffic sign

We trained a model to recognize traffic signs. The model is a MobilenetV2 trained from scratch. That means we didn't use transfer learning based on the COCO dataset (or anything else).

  • Description
    • This model uses 43 traffic sign categories from the GTSRB dataset.
  • References
    • Tensorflow 2.
    • MobilenetV2 model.
  • Sources
    • You can find the dataset here.
    • You can find labels here. It is a csv file that map a number (used by the model) to a class name, used by humans.
    • You can find the trained model here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages