<< return to Pixycam.com

Get the same line index when I miss line for one or few frames

I use Pixy2 camera with C++ API.

while tracking line with pixy2, sometimes pixy2 miss seeing line and after few frames pixy2 can see line again.
When this happen, the line index before missing seeing line and the line index after missing seeing line are defferent with C++ API, m_index of Vector. But I want these two line indexes same.

Is there any easy way to get the same index when missing seeing line for one or few frames.

Hello Takayuki,
You might try increasing the “line filtering” parameter:

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

This will make Pixy less likely to lose the line as you describe.

Edward

1 Like

Thank you. I will do that.