Neopixel Ring icon Neopixel Ring ARC UI for onboard computers to control NeoPixel rings via serial: test/run patterns, preview and copy Arduino serial commands, includes sample code. Try it →
Italy
Asked — Edited

Dimensions Of Detected Object

Hello and first of all, scuse me for my bad english. I will try to explain my question:

When the robot detect a face, or a color, i can see on the screen, a bigger or smaller square. The biggest is the square, the nearest is the face (or the colored object).

How can i in visual basic have the square dimension?

Thank you very much.

Ema from Italy.


ARC Pro

Upgrade to ARC Pro

Your robot can be more than a simple automated machine with the power of ARC Pro!

Author Avatar
Italy
#2  

......hmmmmm.....

The "size" of the face (or the object) is the thing i need.........

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#3  

Take a look at the returned ObjectLocation object, it provides all of the X and Y and Rect and Size and and and:) that you'll need