profmason.com

January 27, 2009

Spykee Line Follower

Filed under: Daily — profmason @ 11:25 am

The camera in the Spykee robot is used to create a simple line following robot.

Here is the original image:

The image is cropped to just display the bottom most portion of the image.

A canny filter is applied to detect the edges of the line.

The center of gravity of the line is determined.

The difference between the center of gravity and the center of the robot is used to steer the robot.

Here is some video of the robot in action:

Here is the .robo file for use in Roborealm. spykeelinefollower

Here is a camera’s eye view of the image processing:

Finally, here is a more difficult course with 90 degree turns. I added Nomalization, Point Connection and Dilation to improve the tracking.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Powered by WordPress