<< return to Pixycam.com

Color rope tracking on different ground

Hi,
I would like to make a robot able to follow a rope on multiple surface : grass, concrete , floor tile.
The rope will have a color like yellow to make contrast from the ground.
Is it possible with the pixy2 to make such tracking ?
Thanks you

Hi, yes, this should work! Pixy2 comes with a line tracking algorithm, described here: https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:line_tracking

As long as there’s sufficient contrast between rope and background, you should be good to go.

Hope this helps!
Jesse

Hi,
That was I tought ,but someone tell me that the detection only works with black line on with surface.
I will make some tests.
Thanks you

Hello,
The line tracking algorithm uses greyscale, so it essentially ignores color. Your rope will need to have sufficient contrast with the background. This means one of two things.

  1. The rope is dark compared to the background or
  2. Background is dark compared to the rope.

Can you post a picture?

Edward