Table of Contents

Class Pose

Namespace
Bonsai.Sleap
Assembly
Bonsai.Sleap.dll

Represents the result of pose estimation as a collection of body parts.

public class Pose : KeyedCollection<string, BodyPart>, IList<BodyPart>, ICollection<BodyPart>, IList, ICollection, IReadOnlyList<BodyPart>, IReadOnlyCollection<BodyPart>, IEnumerable<BodyPart>, IEnumerable
Inheritance
Pose
Implements
Derived
Inherited Members

Constructors

Pose(IplImage, IModelInfo)

Initializes a new instance of the Pose class extracted from the specified image.

public Pose(IplImage image, IModelInfo model)

Parameters

image IplImage

The image from which the pose was extracted.

model IModelInfo

Information about the model used to extract the pose.

Properties

Centroid

Gets or sets the center point used for cropping.

public BodyPart Centroid { get; set; }

Property Value

BodyPart

Image

Gets the image from which the pose was extracted.

public IplImage Image { get; }

Property Value

IplImage

Model

Gets information about the model used to extract the pose.

public IModelInfo Model { get; }

Property Value

IModelInfo

Methods

GetKeyForItem(BodyPart)

When implemented in a derived class, extracts the key from the specified element.

protected override string GetKeyForItem(BodyPart item)

Parameters

item BodyPart

The element from which to extract the key.

Returns

string

The key for the specified element.