<< return to Pixycam.com

Line detection between lines

I am trying to make a car that will detect two lines, one on the right and one on the left side. Just like a real road. From what I am reading the Pixy5 isn’t the best option but I would like to know if this is something someone has done using this camera, or what they would recommend. The car eventually will be able to drive and stay between the lines.

Hello Pierre,
Pixy5? Do you mean Pixy2?

You can use getAllFeatures from the line tracking API to track all lines that Pixy2 sees (which will include the two lines you want your robot to see)

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:line_api

Hope this helps!
Edward

Hello pierre, I’m trying to do the same thing for a school project. Did you succeed ? And how did you do then ?

Thank you for your help