Giter VIP home page Giter VIP logo

project's Introduction

Project : Self-Driving Car Assignment

In This project, I have implemented some simplified component of a self_driving car.

Dependencies

This project requires Python 3.5 and Python libraries spicified in requirements.txt

1. White line extraction:

I have used only six images to reduce time of tratement and tests

the different steps in this algorithm that will enable us to identify and classify lane lines look as follows: - Convert original image to HSL - Isolate yellow and white from HSL image - Convert image to grayscale for easier manipulation - Apply Gaussian Blur to smoothen edges - Apply Canny Edge Detection on smoothed gray image - Trace Region Of Interest and discard all other lines identified by our previous step that are outside this region - Perform a Hough Transform to find lanes within our region of interest and trace them in red - Separate left and right lanes - Extrapolate them to create two smooth lines

for testing ,I have used some images I have taken them from udacity datasets. to start the test:

    cd tests    
    python3 line_extraction_test.py 

2. traffic sign

- Visualize the German Traffic Signs Dataset using the pickled file(s). This is open ended, suggestions include: plotting traffic sign images, plotting the count of each signs ..
- Design and implement a deep learning model that learns to recognize traffic signs. Train and test your model on the German Traffic Sign Dataset.: 
- Converting to grayscale 
- Normalizing the data to the range (-1,1)
- Four functions for augmenting the dataset: random_translate, random_scale, random_warp, and random_brightness

Download the datase create traffic_sign_datasets file in Project and extract data in this file ( you will need those file in line 166 and 167 of traffic_sign.py so give the right path..) to start the test:

    cd self_driving_car_modules     
    python3 trafffic_sign.py 

3. Car detection using machine learning and object detection algorithm

this algorithm of vehicle detector is developped by employing a conventional computer vision technique called Histogram of Oriented Gradients (HOG), combined with a machine learning algorithm called Support Vector Machines (SVM). In order to test this algorithm, I have used different Datasets

The alogrithm is based:

  • Dataset exploration
  • Feature Extraction
  • apply Histogram of Oriented Gradients and Color bins toinput image to create features
  • Exploration Of Features
  • explore the result of our HOG operations: explained here
  • Finding Suitable Color Space
  • Classification
  • Heatmap Thresholding¶

to start the test:

    cd self_driving_car_modules     
    python3 object_detection.py 

thank you

project's People

Contributors

sarraelghali 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.