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

Hi,

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

Sorry for the confusion,
Jesse

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