lane departure warning system

22
Development of Lane Marker Detection & Warning system. Project by:- Gadre Nayan A (B3073016) Awachat Prasanna K(B3073002) External Guide Internal Guide Prof. H.K.Sawant Prof. Mrs. M.P.Atre HKS systems. PVG’s COET. Near Karishma apts. Kothrud. Pune.

Upload: nayan-gadre

Post on 22-Nov-2014

249 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Lane Departure Warning System

Development ofLane Marker Detection & Warning

system.

Project by:- Gadre Nayan A (B3073016) Awachat Prasanna K(B3073002)

External Guide Internal Guide Prof. H.K.Sawant Prof. Mrs. M.P.Atre HKS systems. PVG’s COET.

Near Karishma apts. Kothrud. Pune.

Page 2: Lane Departure Warning System

OBJECTIVE

To design a system which can detect the lanes on the road from

the images taken through a camera mounted on the moving

vehicle and give a warning signal corresponding to its safety level

with respect to the current position.

Page 3: Lane Departure Warning System

OVERVIEW

I. Introduction

II. Literature Survey

III. Specifications

Hardware

Software

IV. Block Diagram

V. Present status

VI. References

Page 4: Lane Departure Warning System

WHY?

LANE DEPARTU

RE WARNING SYSTEM

Lane Departure

40 % of all fatalities

Expected Rise :60% by 2020

Financial Damage

15% of World GDP

Road Accidents

In INDIA approx 270 People die each day

Page 5: Lane Departure Warning System

INTRODUCTION

1. Types: Rear end collisions, Side swipes, Head on collisions, Accidents while Merging or Changing Lanes, Driving off the road.

2. Most occurrences result from Distraction , Inattention and Driving Fatigue of driver.

3. A lane departure warning is a safety system in a car which alerts the driver when the car drifts out of its lane.

Page 6: Lane Departure Warning System

• Image Acquisition using Camera (320x240).

Intex 300k CMOS sensor.

• Indication using Buzzer.

• USB interface .

• Rechargeable SMF Battery (12V) powered systems.

• Driving 9V DC 2kg-cm motors.(to demonstrate tracking).

• 8 bit uc for control of alarm, Led indication and motors.

• Image processing and control of hardware using VB 6.0/MATLAB.

SPECIFICATIONS

Page 7: Lane Departure Warning System

BLOCK DIAGRAM

LANE

COMPUTER uC

Power Supply

Page 8: Lane Departure Warning System

CMOS• Lesser response time.• Cheaper• CMOS imagers offer superior

integration,• Most suitable for medium quality

video applications• Avoids Vertical smear.

CCD• More. Shifting of charge from

each pixel takes time.• CCDs offer slightly better image

quality and flexibility at the expense of system size.

• They remain the most suitable technology for high-end imaging applications such as space photography.

• Anti blooming arrangement needed.

Sensor selection

Page 9: Lane Departure Warning System

Color Models

• An 24bit-RGB image, also referred to as a "true colour" image.

• HSI (Hue saturation intensity) format suited for machine vision applications(robotics) gives perceptually equivalent image.

• CYMK (cyan yellow magenta black) format used in printers, coloured Xerox etc.

Page 10: Lane Departure Warning System

LANE DETECTION BY IMAGE PROCESSING

Steps involved in lane detection are

•Conversion of RGB image to an HSI image

•Thresholding

•Image Filtering

•Detection of appropriate lines corresponding to the lane

Page 11: Lane Departure Warning System

FUTURE WORK & LIMITATIONS

The system may not work under the conditions mentioned below

•Very bad weather conditions like heavy fog which reduce visibility.

•Yet to decide the practicality of this system in Automatic tracking. Although demonstration for tracking as a mock is possible.

Page 12: Lane Departure Warning System

FUTURE PROSPECTS

• This concept can be implemented as a subsystem of a futuristic fully automated vehicle.

• It can be linked to the Electronic(Engine)Control Unit of the vehicle which will take the output of the system and perform the control action

Page 13: Lane Departure Warning System

Completion Status

• Serial communication program tested on AT89C51.

• Image Display, pixel data extraction, grayscale conversion algorithms complete in VB 6.0.

• A test program for RGB to HSI conversion and grayscale conversion tested in Matlab.

Page 14: Lane Departure Warning System

REFERENCES

• Visual Basic 6.0 The Black Book. By Steven Holzner.• Visual basic game programming:- by Jonathan harbour.• Image Processing Analysis and Machine Vision :- by MILAN

SONKA , ROGER BOYLE.• Kristijan Macek , Brian Williams :- “ A lane detection vision

module for Driver assistance”• Image processing using Matlab :- Gonzalez, Woods, eddins.• www.ftdichips.com• www.atmel.com• www.msdn.com• www.devx.com• forums like:-

edaboard,xtremeVBtalk.

Page 15: Lane Departure Warning System

THANK YOU

Page 16: Lane Departure Warning System

RGB IMAGE

• An RGB image, also referred to as a "true colour" image.

• It is stored as an RxGxBx8bit data array that defines red, green, and blue colour components for each individual pixel.

• The colour of each pixel is determined by the combination of the red, green, and blue intensities stored in each colour plane at the pixel's location.

Page 17: Lane Departure Warning System

GRAYSCALE IMAGE

• An intensity image (or grayscale image) is a two dimensional data matrix.

• The values of the matrix represent intensities within the range 0 to 255.

• Each element of the matrix represents an image pixel. The intensity 0 represents black and the intensity 255 represents complete white.

• There are many ways to convert an RGB image to grayscale. Averaging:- G= (R+G+B)/3. Luminance:- G= 0.3xR + 0.6xG +0.1xB.

Page 18: Lane Departure Warning System

RGB images can be converted to grayscale by eliminating the hue and saturation information while retaining the luminance.

‘rgb2gray’ command in MATLAB converts RGB values to grayscale values by forming a weighted sum of the R, G, and B components.

We use Y= 0.3R+0.6G+0.1B.

A Gray scale Image

RGB TO GRAYSCALE IMAGE

Page 19: Lane Departure Warning System

THRESHOLDING

• Thresholding is carried out on the grayscale image to enhance its contrast.

• A certain threshold level is decided and pixels having intensity above that level are treated as white(255) while pixels below the level are treated as black(0).

• This method will help in extracting the lane data easily.

• However, not only lane markers but certain surrounding objects whose intensity levels lie above the threshold, may also get emphasised. Hence the next process is applied.

Page 20: Lane Departure Warning System

A Grayscale Image after Thresholding

Page 21: Lane Departure Warning System

IMAGE FILTERING

• Filtering is a technique for modifying or enhancing an image. It is a neighbourhood operation, in which the value of any given pixel in the output image is determined by applying some algorithm to the values of the pixels in the neighbourhood of the corresponding input pixel. This has the effect of smoothing out local highlights and blur edges in an image.

Page 22: Lane Departure Warning System

EDGE DETECTION

• The basic idea behind edge detection is to find places in an image where the intensity changes rapidly.

• Edge detection is process of generating a binary image from a grayscale image with pixel values as 1 where there are edges and 0 elsewhere.

• Weaker edges in the image are ignored by specifying a threshold of gradient.