Patch Editor
Utility Patches
Body Bounding Box Patch

Body Bounding Box Patch

The body bounding box is used together with the Body Finder and Body Select patches to form part of a series of patches used to track the user’s body.

The Body Bounding Box patch plots an invisible box around a person’s body, outputting the 2D coordinates of the four corners of the box. You can use the bounding box to create effects that use or react to someone’s body, for example making 2D textures or text follow the body. You can also create interesting effects by pixelating the edges of the bounding box or adding color filters over the box.

Input

NameDescription
Body

The body you want to track.

Outputs

NameDescription
Top Left 2D Coordinates

The 2D coordinates for the top left corner of the bounding box.

Top Right 2D Coordinates

The 2D coordinates for the top right corner of the bounding box.

Bottom Left 2D Coordinates

The 2D coordinates for the bottom left corner of the bounding box.

Bottom Right 2D Coordinates

The 2D coordinates for the bottom right corner of the bounding box.

Width

The width of the bounding box.

Height

The height of the bounding box.

Is Tracked

Is the body object tracked.

Example

Visit our article on body tracking to see how this patch can be used to create a rectangle that moves and resizes based on a tracked person’s movement.

Was this article helpful?