Open Source Lane Departure Warning System - Raspberry Pi Forums


hello everybody,

preface---within scope of research project have worked on lane departure warning system (ldws) , wanted share community. project consists in creating vision-based lane departure warning systems drivers. should noted first software project on both raspberry pi board , digital image processing techniques. in order create lane departure warning system, meticulous study of how digital image processing works had done , quite time has been spent on elaboration of algorithm. lot of time has been spent on project , have taken far moment since digital image processing not expertise. making project open-source in order create bases other ldws projects. plenty of information , solutions such system spread out through internet , wanted gather of information needed creation of ldws on forum.

the project environment----the ldws developed , shared in post created on raspberry pi 3 board , can run using raspberry pi camera module. solution relies on opencv library. since had not work on raspberry pi board before, had setup board , install of dependencies needed project. have gathered information needed set of board, camera , opencv library in 2 tutorials can found in github repository described below.

the ldws algorithm----the ldws algorithm developed follows steps given in image below:
algo.png
algo.png (62.32 kib) viewed 402 times
implemented software has following design :
uml.png
uml.png (153.94 kib) viewed 402 times
can see in image, following classes have been implemented: staticimage class runs algorithm on single input image; livevideo class runs algorithm on live input video stream; staticvideo runs algorithm on input video; ldws class stored attributes needed algorithm; roi computes region of interest in algorithm applied; imagetransformation class stores different image transformation applied in algorithm; laneanalysis class implementing lane sorting , selection.
should noted algorithm detects , warns departure separately either right lane , left lane. detection of near field lanes done in proposed solution.

algorithm testing----some tests have been done on solution , showed algorithm performs @ 30 fps video resolution of 640*420. 2 video samples given in github repository described below. accuracy of algorithm has shown detection rate can enhanced further work.

further work----as mentioned above, digital image processing not expertise , proposed solution can improved. testing under various weather conditions has done in order improve algorithm. new features can added such front vehicle distance computation, far field lane detection, road signal detection etc. limit imagination (and hardware capacities :d ).

github repository----a public github repository can found @ following url :
https://github.com/ebuarip/lane-departu ... ing-system

in repository find following: ldws folder containing code , readme.txt file containing instructions , further informaiton on how run software; tutorials repository explaining how install raspbian on board, opencv, camera module , other dependencies; videosamples folder containing 3 video samples of either 640*720 or 1280*720 resolution. it should noted algorithm optimized 640*720 video.

hope work people build own ldws system. if interested in taking on project , improving solution please share me improvements or new features have worked on. interested in knowing how project has helped , think it.

support !!!



raspberrypi



Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'