<< return to Pixycam.com

Line Tracking Algorithm


I got now the new PIXY2 (and I also have the CMYcam5). I show how to PIXY2 line tracking works and it is very fast with good results
Is it possible to explain in high level how to line tracking Algorithm works?


We don’t have a detailed description of how the line tracking works. It basically looks for horizontal and vertical edges in the image (adjacent pixels that have a large difference). It then assembles those edges into lines if the edges are close to each other. The rest of the algorithm tries to determine if the lines are connected or not in an intersection.

Hope this helps!



Are you using Hough transform to detect the lines?


We are not using a Hough transform.