<< return to Pixycam.com

detect an object only by shape

Hey guys,

is it possible to detect an object only by shape and not by shape and hue?

For example:
I have some balls with different colours but all should be detected as ball.


Pixy does not detect objects by shape. It detects objects based on color (or lines, in line-tracking mode).

Sorry for the confusion,

code that might help might be to see if height and width are equal or close to… meaning its probably a ball…