<< return to Pixycam.com

Line tracking, white line on yellowish background

Good day!

First of all I would like to say that the Pixy2 cam is such a great product, and its line-tracking algorithm helps me save so much of time. However I’m having a problem with tracking a white line on yellowish background. Is there a way I can tweak the settings or the filter?

Thanks!!

Image example

Hello,
The line algorithm doesn’t use color information, only contrast. White on yellow is going to be hard for Pixy. You can try to adjust the “edge threshold” though:

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:pixymon_index#line-tracking-tuning-tab

Increasing “line filtering” might also help:

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:pixymon_index#line-tracking-expert-tab

but it will slow things down somewhat.

Hope this helps :slight_smile:

Edward