Table of Contents

Class GetBodyPart

Namespace
Bonsai.Sleap
Assembly
Bonsai.Sleap.dll

Represents an operator that returns the body part with the specified name for each pose in the sequence.

public class GetBodyPart : Transform<Pose, BodyPart>
Inheritance
GetBodyPart
Inherited Members

Properties

Name

Gets or sets the name of the body part to locate in each pose object.

public string Name { get; set; }

Property Value

string

Methods

Process(IObservable<Pose>)

Returns the body part with the specified name for each pose in an observable sequence.

public override IObservable<BodyPart> Process(IObservable<Pose> source)

Parameters

source IObservable<Pose>

The sequence of poses for which to locate the body part.

Returns

IObservable<BodyPart>

A sequence of BodyPart objects representing the location of the body part with the specified name. If no body part with the specified name is found, a default value is returned.