Giter Site home page Giter Site logo

bbruhh / german-traffic-signs-classification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from avivsham/german-traffic-signs-classification

0.0 1.0 0.0 8 KB

Solving German Traffic Signs Classification problem with VGG model

Jupyter Notebook 100.00%

german-traffic-signs-classification's Introduction

German-Traffic-Signs-Classification

Solving German Traffic Signs Classification problem with VGG model Framework: Keras with Tensorflow - backend Notebook: Googlecolab

Introduction


The German Traffic Sign Benchmark is a multi-class, single-image classification challenge held at the International Joint Conference on Neural Networks (IJCNN) 2011. The dataset contains more than 30K photos with 43 different classes.

Preprocessing


To make it easier for the model to classify between the different signs I tried few classical image processing methods such as: thresholding, histogram equalization etc'. The best results acheived with adaptive histogram equalization. This method usually increases the global contrast of many images, especially when the usable data of the image is represented by close contrast values. Through this adjustment, the intensities can be better distributed on the histogram. This allows for areas of lower local contrast to gain a higher contrast. Histogram equalization accomplishes this by effectively spreading out the most frequent intensity values.

Model


The proposed model is a variation of the classical VGG model. VGGNet is a neural network that performed very well in the Image Net Large Scale Visual Recognition Challenge (ILSVRC) in 2014. It scored first place on the image localization task and second place on the image classification task.

alt-text

Training


In the preprocessing stage I plotted the histogram of the classes, its easy to see that the histogram is not uniformed. In order to deal with this problem I used the class_weight option inside model.fit as documented at Keras.

Results


The model achieved ~96% accuracy, the results are shown in confustion matrix and also been printed for each class

Note

You don't need to download or to install anything to run this notebook! Just run the cells - the data is dowloaded automatically.

german-traffic-signs-classification's People

Contributors

avivsham avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.