<< return to Pixycam.com

Pixy2 python api white lines

I am trying to use the pixy2 for line tracking on a raspberry pi using the python api. I need to set the tracking for white lines. Is there a function in the python api to do this?

Hello Ed,
We are going to be updating the python api in the coming weeks and it will support setMode(), which will allow you to set white line or black line. Sorry for the sluggishness on our part.

Edward

Thanks, for now if we config the pixy using pixymon will the settings be saved in the camera?

Hello Ed,
That’s right – changes you make in Pixymon through the configuration screen are saved in Pixy’s flash memory and will be remembered between power cycles. You just need to make sure you click on “OK” on the configuration screen.

Edward