Introduction: Drive Alert (Intel - IOT)

Detecting Drowsy Driving which can lead to fatality.Improving drivers efficiency using the captured data.

Step 1: Target Audience

Automobiles Sector, Airlines, Heavy Vehicles Industry Anyone and everyone owning a four wheeler vehicle in current version.Truck/Cab Fleet Owners who would like to monitor their drivers driving habits and as well asleep the roads safe.

Step 2: How Project Technically Works?

We capture the face of the vehicle driver and do image processing using openCV to identify the closure of eyelids. If the eyelids are closed for more than a while a buzzer is triggered which alerts and wakes the driver up.We capture the drivers driving behavior by placing touch sensors/ button below the pedals of clutch/gear/accelerator and the steering wheels. We log this data in the cloud and then will do analytics offline.

Step 3: Advantage of Cloud Connectivity

Sending sensor data to server whenever connectivity is available. The analysed data will be pulled to a mobile app in next phase of implementation.

Step 4: Sensor Utilization

We use touch sensor to determine the drivers grip on the steering wheel.The buttons below the pedals to track pedal usage habit.Web cam to capture video feed.

Step 5: Software Components

We use the Intel XDK to push and run nodejs code to the Intel Edison board.

Step 6: Hardware Components

Sensors : Touch/Pressure/Button from the groove starter kit.

Intel Edison Board

Step 7: Code

Sensors ::

Firstly, Intel XDK should be installed. Sigup to use XDK and make sure the dashboard is ready.

Next you will see templates , select the touch notifier to check for steering alert and use the button in the same way for pressure sensing.

and push the code into edison board.

Image Processing :::

Next install open CV on the edison board. There are online tutorials for that (refer any) .

Now , for image detection use the algorithms mentioned in the open CV documentation.

Step 8: Summary:

AlertDrive will keep you awake even if you want to sleep while driving.As a result of stress and fatigue, the vehicle driver can experience micro sleep. Micro sleep is the phenomenon of falling asleep for a few seconds.This is very common for heavy vehicle drivers who operate under long working hours or shift workers.We track the drivers drowsiness based on eyelid closure and alert him when he starts to get into microsleep.

We also track all his interactions with the vehicle's component viz. steering wheel, accelerometer and brakes. Using this data we give them feedback on their driving pattern to improve their overall efficiency of driving.

Comments

author
osho1278 made it!(author)2015-05-10

I hope you are doing this on Intel Edison . If yes then here's a nice tutorial on how to do it .

https://software.intel.com/en-us/articles/opencv-3...

also, edison board has yocto linux in it. Flash edison with the latest image.

and it should work.

author
AmiraliS made it!(author)2015-05-06

Hi,

I'm trying to test face recognition on a streaming video. I found this source code:

https://github.com/drejkim/face-detection-node-opencv

It simply runs "npm install" server directory. I did the same and got the following error:

npm ERR! install Couldn't read dependencies

npm ERR! Darwin 14.1.0

npm ERR! argv "node" "/usr/local/bin/npm" "install"

npm ERR! node v0.12.2

npm ERR! npm v2.7.4

npm ERR! path /Users/amiralishambayati/Downloads/face-detection-node-opencv-master/package.json

npm ERR! code ENOPACKAGEJSON

npm ERR! errno -2

npm ERR! package.json ENOENT, open '/Users/amiralishambayati/Downloads/face-detection-node-opencv-master/package.json'

npm ERR! package.json This is most likely not a problem with npm itself.

npm ERR! package.json npm can't find a package.json file in your current directory.

npm ERR! Please include the following file with any support request:

npm ERR! /Users/amiralishambayati/Downloads/face-detection-node-opencv-master/npm-debug.log

I already installed opencv using opkg. I also tried to import the code Intel XDK and had same issue.

I very much appreciate your help.

Thanks,

-Amirali

author
seamster made it!(author)2015-05-05

This is a great idea!

author
osho1278 made it!(author)2015-05-05

Thanks @seamster . Would love to know your requirements for such a product .

About This Instructable

1,246views

17favorites

License:

More by osho1278:Drive Alert (Intel - IOT)
Add instructable to: