Help me with matlab code for lane detection and object detection in relation to vehicle.

8 views (last 30 days)
if true
% code
end

Answers (5)

Image Analyst
Image Analyst on 13 Feb 2013
Edited: Image Analyst on 15 Feb 2013
15.3.3 Road, Path Following Operators
15.3.3.1 Road Following, Depth, Stereo Based, Off-Road, Safe Path
15.3.3.2 Lane Detection, Lane Following, White Line Detection
The Mathworks also has an example in their Computer Vision System Toolbox: http://www.mathworks.com/help/vision/examples/lane-departure-warning-system-1.html?prodcode=VP&language=en

Ábel
Ábel on 7 May 2013
The following page might help
It gives results with different methods, and also explains them more or less.

Anand
Anand on 7 May 2013
Have a look at this:
It describes a simulink model for the approach, but it should be easy to replace the blocks in the model with corresponding matlab code. For example, you can replace the HOUGH block with the hough function.
Hope this helps.

Thilakam kuttiannan
Thilakam kuttiannan on 3 Sep 2018
Sir , Can you please help me with Lane detection coding

Thilakam kuttiannan
Thilakam kuttiannan on 3 Oct 2018
Sir i am currently doing a project on lane detection .I am getting the following error in the coding
Warning: No video frames were written to this file. The file may be invalid. > In VideoWriter/close (line 267) In VideoWriter/delete (line 202) In ld1 (line 7)
firstRun =
0
Index exceeds matrix dimensions.
Error in ld1 (line 42) BoundingBox1 = goodBoxes(b,:);
Exception in thread "Swing WidgetView Resize Task Executor" java.lang.IllegalStateException: Channel is being closed. All messages are blocked. at com.teamdev.jxbrowser.chromium.internal.ipc.SocketChannelWriter.write(Unknown Source) at com.teamdev.jxbrowser.chromium.internal.ipc.SocketChannel.send(Unknown Source) at com.teamdev.jxbrowser.chromium.swing.internal.aa.run(Unknown Source) at com.teamdev.jxbrowser.chromium.internal.p.run(Unknown Source) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run(Unknown Source) sir currently i am using Matlab 2015 b version
waiting for reply thanks you in advance

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!