<< return to Pixycam.com

Recognizing an object by its size

I want pixy2 to find the object by specifying the size of the object, not the color of the object. Is it possible? What should I do if I can?

Pixy will return with width and height of the object. Perhaps you can use these dimensions reported by Pixy to find object based on size.

You can check out our color connected components (ccc) API here:

And the “hello_world_ccc” example in the Arduino Library is a good example for seeing the information that Pixy reports.