Skip to content

Line follower using color detection with a webcam mounted on a rover instead of IR sensors to follow a colored line.

License

Notifications You must be signed in to change notification settings

viam-labs/line-follower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Line Follower

Line follower using color detection with a webcam mounted on a rover instead of IR sensors to follow a colored line.

A GIF of a rover following a green electrical tape line on carpet. A red and yellow line are also present but are ignored by the robot.

Full tutorial here: https://docs.viam.com/tutorials/webcam-line-follower-robot/

This repo contains a couple of different line-following algorithms; try each one and experiment with your own! Different things will work more or less optimally depending on your rover's hardware as well as lighting conditions, how wide your line is, and other variables, so experiment and see what works best for you.

About

Line follower using color detection with a webcam mounted on a rover instead of IR sensors to follow a colored line.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages