Video Detection Pose Multi

Estimates the body pose of up to six people at once: the NanoDet detector finds the persons, then the BlazePose model places 33 points on each one, output as the 17 points of COCO or the 33 of BlazePose. Use it for dance, choreography and installations with several performers or visitors.

Seven dancers at 1280 x 720, max persons 6, points coco 17: six skeletons, one color per slot.

The models run on a thread of the module, on a copy of the frame: the video is never delayed, and the outputs are those of the last finished inference. Each person keeps its slot in the arrays while it is followed, matched by the center of its hips. Left and right are those of the person. A frame costs about 1 ms at 1920 x 1080 and 2.8 ms at 3840 x 2160.

Settings

bypass

Bypasses the module processing when activated (ON).

  • OFF (0): Module processes normally
  • ON (1): Input passes directly to output without processing

video in

Video input flow(s).

video out

Video output flow(s).

process time

Total time used for the calculation of the module.

threshold

Minimum score of a person detection, from 0 to 1 (default 0.35). At 0.95 no one is found. A person found by the detector is output only when the pose model also finds a body in it (a score of at least 0.5).

max persons

Number of person slots, from 1 to 6 (default 4): at most this many persons are posed, those of best detection score first, and the arrays hold this many slots. Each person adds about 6 ms to the inference time at 1920 x 1080, up to three times that when the pose model has to frame it again (see score).

points

Points output for each person, which are also the points drawn by overlay (default coco 17).

  • coco 17: 17 points: 0 nose, 1 left eye, 2 right eye, 3 left ear, 4 right ear, 5 left shoulder, 6 right shoulder, 7 left elbow, 8 right elbow, 9 left wrist, 10 right wrist, 11 left hip, 12 right hip, 13 left knee, 14 right knee, 15 left ankle, 16 right ankle.
  • blazepose 33: 33 points, in the order of MediaPipe BlazePose: 0 nose, 1 to 3 left eye (inner, center, outer), 4 to 6 right eye (inner, center, outer), 7 left ear, 8 right ear, 9 left and 10 right corner of the mouth, 11 left shoulder, 12 right shoulder, 13 left elbow, 14 right elbow, 15 left wrist, 16 right wrist, 17 left little finger, 18 right little finger, 19 left index, 20 right index, 21 left thumb, 22 right thumb, 23 left hip, 24 right hip, 25 left knee, 26 right knee, 27 left ankle, 28 right ankle, 29 left heel, 30 right heel, 31 left toes, 32 right toes.

smooth

Smoothing of the points, their visibility and the hip centers from one inference to the next, from 0 to 0.95 (default 0.5). At 0 the outputs follow each inference exactly; higher values are steadier and react more slowly. The scores are not smoothed.

overlay

When ON (default), draws on video out 1 the skeleton of each person in the color of its slot (green, red, blue, yellow, magenta and cyan for slots 0 to 5): the bones whose two points have a visibility of at least 0.5, then those points. The lines are thicker on large frames, so that they stay visible on a screen. When OFF, video out 1 is the input unchanged.

sync

When ON, video out 1 shows the analysed frame with its own skeletons, kept until the next result: the points line up exactly, but the picture changes only at the rate of the inferences. When OFF (default), it shows the live video with the results of the last inference.

threads

Number of threads ONNX Runtime uses for the models, from 1 to 8 (default 2). Changing it reloads the models. This inlet is hidden by default.

count

Number of persons posed, from 0 to max persons.

x

Array of the x of the points of each slot, from 0 (left edge) to 1 (right edge): max persons x 17 values with points coco 17, max persons x 33 with blazepose 33, slot after slot, in the order of points. An empty slot gives zeros.

max persons = 4
points = coco 17
x = [17 points of slot 0, 17 points of slot 1, 17 points of slot 2, 17 points of slot 3]
x[0] = nose of slot 0
x[17] = nose of slot 1

y

Array of the y of the same points, from 0 (top edge) to 1 (bottom edge), in the same order.

z

Array of the depth of the same points relative to the center of the hips, from -1 to 1 in frame widths: a negative value is closer to the camera.

visibility

Array of the probability that each point is visible, neither hidden nor out of the frame, from 0 to 1, in the same order.

score

Array of the presence of the person of each slot, from 0 to 1, one value per slot (0 for an empty slot): how sure the pose model is that its crop holds a body. A pose is kept only from 0.5. The model is first given a square around the box of the detector; when it reads less than 0.5 there, it is given the person again on a square centered on the hips and turned with the body, then on a wider square around the box, and the person is dropped only when no square reaches 0.5.

center x

Array of the x of the center of the hips of each slot, from 0 (left edge) to 1 (right edge), one value per slot (0 for an empty slot).

center y

Array of the y of the center of the hips of each slot, from 0 (top edge) to 1 (bottom edge), one value per slot (0 for an empty slot).

inference time

Time of the last analysis in ms: the person detector on the whole frame, then the pose model on each person. About 14 ms for one person and 33 ms for four at 1920 x 1080, 53 ms for four at 3840 x 2160; more when a person has to be framed again (about 60 ms for four of the dancers of the picture above).

Common Settings

info

show manual

Button. Opens the manual page of the selected object (or of its parent module for a control) in the web browser. If no page exists for this object, an error is traced in the trace panel.

For more details about information/help creation, see create-help-file.

description

Free multi-line text attached to the module, saved with the patch. When it is not empty, it is shown as the hint of the module (mouse over the module header in the patch) in place of the default module hint, even when the module hints are disabled.

ID's

visible only in god mode, see setup-panel-tab-expert.

unique ID

Read-only, not saved. Current private numeric ID of the object, used internally to identify it (for example as the target of a bind ID).

preset ID

Read-only, not saved. Private ID used to store and recall the values of this control in presets.

recreate ID

Button. Generates a new unique ID, original ID and preset ID for the object. Use it if you experience difficulties in Polyphonic mode or if two objects share the same ID. Preset values and binds referring to the old IDs are lost.

Object Remote Address

absolute

Read-only, not saved. Absolute address of the object in the Usine objects tree, built from the workspace root. This is the address to use to reach the object from scripts, the objects panel or remote messages. Only shown for objects that are registered in the objects list. See objects-address.

local

Read-only, not saved. Address of the object relative to the current patch, valid inside that patch only. See objects-address.

user addr

Free user-defined address for the object (empty by default). When set, the object is also registered in the objects tree under this name, so it can be reached independently of its position in the workspace (the value is also reported in the mouse-over and mouse-down chunks). Changing it rebuilds the objects list. Only available on objects that support a user address. See objects-address.

See also

version 7.0.250921

Edit All Pages