<< 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?

Hello,
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:
https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:ccc_api

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

Edward