Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello.
I am currently developing a autonomous vehicle that will learn a track and run it at an optimised speed.
My issue is that I need to use a camera to follow the track and guide the vehicle on it. The track is completely white and has a black line in the middle as a reference.
The camera is monochromatic and basically returns a 128 sized array with values for the camera's reads.

I would require a VB alogrithm that would detect that black line. This may sound selfish and lazy but I have 0 experience in this area and I am running out of time.

Please explain how I should approach this. Any guidelines or sample codes are welcome.
Posted

Sounds like you took on a project that was beyond your means. I wrote some articles on edge detection in my series on image processing, here on Code Project. They may help.

Image Processing for Dummies with C# and GDI+ Part 3 - Edge Detection Filters[^]

[Edit - Added link]
 
Share this answer
 
v2
Comments
thatraja 9-Feb-12 23:19pm    
I liked your series(Image processing), well written. 5!
First to look at is AForge.NET, please see:

http://en.wikipedia.org/wiki/AForge.NET[^], http://www.aforgenet.com/[^].

In particular, please see this article: http://www.aforgenet.com/articles/shape_checker/[^].

See also the articles by the author of AForge.NET, CodeProject member Andrew Kirillov: http://www.codeproject.com/Members/Andrew-Kirillov[^]. Another CodeProject member to look at is Chesnokov Yuriy, http://www.codeproject.com/Members/Chesnokov-Yuriy[^].

Optionally, look at the following libraries:

OpenCV, http://en.wikipedia.org/wiki/OpenCV[^], http://opencv.willowgarage.com/wiki/[^],

VXL, http://en.wikipedia.org/wiki/VXL[^], http://vxl.sourceforge.net/[^].

—SA
 
Share this answer
 
Comments
thatraja 9-Feb-12 23:23pm    
Right, nice articles. 5!
Sergey Alexandrovich Kryukov 9-Feb-12 23:45pm    
Thank you, Raja.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900