figure 1.0.0
technology that use
>java
>opencv
this application will give warning message to driver when vehicle reach to the lane.
it will detect only two road line that line both side of the vehicle
(figure 1.0 not present real image of this application it only for understanding)
it not detect zebra crossing line or any other line that a cross the road
figure 1.2

figure 1.2 show real image of this application the number of line that detect,and warning message is displayed
warning message show from which side warning is come.if warning alert show Right vehicle is too close to right side road lane and driver need to get it to left side
#Warnning:Alert:Right
if warning alert show Left vehicle is too close to left side road lane and driver need to get it to right side
#Warnning:Alert:Left

if there is not warning the alert message show null

Exception Alert is show only programmer purpose.

Actually how it work?
First it use line detection method in open cv. It will return all the line in the real time video stream.so how we decide what line is road line.so we need to filter the all line and get road lane.we use various method method for filtering.we can use slope value for filter.the 0 slope values are not use full because road line slope never be zero.but we can not use color for filtering because there are white and yellow road line normally .if imagine one day they use red color this application will be fail.
And we use special calculation method detect two lines that very near to the vehicle in both sides.but it shouldn't detect part of the vehicle as line.

following image show part of the code

for more information and sources code send email for chamara19911218@gmail.com
Ruwan Chamara Manchanyaka
3rd year student BCS@UoR
Bachelor of Computer Science
University of Ruhuna

No comments:
Post a Comment