Coder Social home page Coder Social logo

abdullaayyad96 / carnd-traffic-sign-classifier-project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 199.68 MB

A deep learning model to classify traffic signs

License: MIT License

Jupyter Notebook 99.47% Python 0.53%
computer-vision deep-learning tensorflow udacity computer-vison

carnd-traffic-sign-classifier-project's Introduction

Project: Build a Traffic Sign Recognition Program

Udacity - Self-Driving Car NanoDegree

Overview

In this project, a convolutional neural networks is implemented and trained using tensorflow to classify traffic signs. The German Traffic Sign Dataset was used to train and validate the model. The model can then be used to classify images of any set of traffic sign images.

Overview

The goals / steps of this project are the following:

  • Load the data set
  • Explore, summarize and visualize the data set
  • Design, train and test a model architecture
  • Use the model to make predictions on new images
  • Analyze the softmax probabilities of the new images
  • Summarize the results with a written report

The project was built to meet this rubric.

Dependencies

  • Python3
  • Tensorflow
  • NumPy
  • OpenCV
  • Matplotlib

All the required packages can be found in Udacity's CarND Term1 conda environment. Click here for the details.

Usage

To run the CNN to classify a traffic sign jpg image, run the following command:

python run.py input_image output_directory

The python script will run the classification process and generate copies of the input images in the output_directory, with the name of each file being the output class of the neural network.

In case of multiple images, all the images must be placed in the same folder and the path to folder should be passed as the input_image.

Testing the deep learning model

Several sample test images are provided in test_images/ with their respective outputs being in test_output/.

Moreover, The below figure shows the result of runnung the NN on some images on the testing set of German Traffic Sign Dataset: test_images

Neural Network Architecture

The NN used in this project utilizes a 2-stage ConvNet architecture with layer skipping follower by a couple fully connected layers. This architecture is highly inspired by this paper. A simple illustration of the NN can be seen below: NN_architecture

For more details regarding the neural network and the technical implementation, refer to the project's technical writeup or jupyter notebook.

carnd-traffic-sign-classifier-project's People

Contributors

abdullaayyad96 avatar andrewpaster avatar awbrown90 avatar baumanab avatar brok-bucholtz avatar davidawad avatar domluna avatar dsilver829 avatar josemacenteno avatar mvirgo avatar ryan-keenan avatar swwelch avatar

Stargazers

 avatar

Watchers

 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.