18
WELCOME Stark Foundation by

Driver drowsiness detection

Embed Size (px)

Citation preview

Page 1: Driver drowsiness detection

WELCOME

Stark Foundation

by

Page 2: Driver drowsiness detection

OBJECTIVE

• Nowadays the driver safety in the car is one of the most wanted system to avoid accidents. Our objective of the project is to ensure the safety system. For enhancing the safety, we are detecting the eye blinks of the driver and estimating the driver status and control the car accordingly.

Page 3: Driver drowsiness detection

INTRODUCTION:

• Aim of this project is implementing the system as a prototype by capturing the live images of the eyes and fed them in to the Microcontroller in which the MATLAB software is used to process the video and convert it in to frames and process it accordingly. Some customized algorithms are coded in MATLAB for image segmentation of eyes from the entire image and image recognition of the eyes and face position.

• On the whole, by sensing the eye blinks we can decide if the eye blinks are more than the driver is very sleepy, Drinking and it will automatically turn off the vehicle, if the driver is showing the left eye ball position than the left indicator of the car is turned on and so on.

Page 4: Driver drowsiness detection

BLOCK DIAGRAM

Page 5: Driver drowsiness detection

MATLAB WITH MICROCONTRILLER

16FXXXImage Processor Camera

E C U

Arduino Hardware Power Supply

Page 6: Driver drowsiness detection

METHODOLOGY:

• The eye blinks of the driver and estimating the driver status and control the car accordingly. We are implementing the system as a prototype by capturing the live images of the eyes and fed them in to the Microcontroller in which the MATLAB software is used to process the video and convert it in to frames and process it accordingly. Some customized algorithms are coded in MATLAB for image segmentation of eyes from the entire image and image recognition of the eyes and face position. On the whole, by sensing the eye blinks we can decide if the eye blinks are more than the driver is very sleepy, Drinking and it will automatically turn off the vehicle, if the driver is showing the left eye ball position than the left indicator of the car is turned on and so on.

Y-- Z---X

Page 7: Driver drowsiness detection
Page 8: Driver drowsiness detection
Page 9: Driver drowsiness detection
Page 10: Driver drowsiness detection

Future’s Anti-drowsiness Alarm Make Easy drive Drink and Drive production Medical accent Directly interface to any Hardware using Arduino Low cost High Security This program can use for Aircraft Also

Page 11: Driver drowsiness detection

Camera

Page 12: Driver drowsiness detection

Image Captured by Camera

Page 13: Driver drowsiness detection

Programming Environment (soft-&Hardware)

For test and first implementations Matlad was used. It is not as fast as C code id , but not fast enough for real time experiences. Another Avanade of Matlab on Windows machines is the possibility to simple access webcams with the image acquisition . On the hardware side image processor Logitech quickcam pro model we used .

Page 14: Driver drowsiness detection

Image Processing

A lot of way can be developed to find pupils in the given area surrounding the eyes. It can also be done using hue or saturation, which leads controlled conditions given to good results , but it highly depends on the current light situation.

Thus, another way is used to find the pupils. A picture of the pupil runs over the current picture area and tries to find the place with the highest accordance. Different pupils where used for testing and the best result were gained by pupils directly from the tester, which was not really surprising. Obtaining them is not that simple that simple thought. We name this algorithm is called Eagle Eye Safety. Which requires too much calculating time to be used in real time environment's, but is fact enough for getting pupils

Page 15: Driver drowsiness detection

16-bit, PIC24 MCU

o Microchip's 16-bit, PIC24 MCUs and dsPIC® Digital Signal Controllers provide designers with an easy upgrade path from 8-bitPIC® microcontrollers and a cost effective option to 32-bit MCUs. The broad product line includes everything from eXtreme Low Power microcontrollers to high performance digital signal controllers. With single cycle execution, deterministic interrupt response, zero overhead looping, and fast DMA, the dsPIC family also adds a single cycle 16x16 MAC and 40-bit accumulators, ideal for math intensive applications like motor control and digital power.

Page 16: Driver drowsiness detection

 Arduino hardware

MATLAB Support Package for Arduino hardware enables you to use MATLAB to communicate with the Arduino® board over a USB cable. This package is based on a server program running on the board, which listens to commands arriving via serial port, executes the commands, and, if needed, returns a result. This approach helps you

Page 17: Driver drowsiness detection

E C U

Page 18: Driver drowsiness detection

THANK YOU