<< return to Pixycam.com

How to view the line tracking algorithm source code


I want to learn your line tracking algorithm but I can’t find the location of the source code. Can you tell me which file it is in?


Hi, the Arduino source code for the line tracking algorithm is here: https://github.com/charmedlabs/pixy2/blob/master/src/host/arduino/libraries/Pixy2/Pixy2Line.h

You might also find these references useful:


Hope this helps!


Well thanks for reply I find those files,but there are only some send and receive requests. I want some line tracking algorithm about Image Processing in other words can i get the pixy->sendPacket() target’s code?


The core line tracking code is here:

I’ve looked at the code. It’s not the simplest code!