Class Pose
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
IplImageThe image from which the pose was extracted.
model
IModelInfoInformation 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
Image
Gets the image from which the pose was extracted.
public IplImage Image { get; }
Property Value
Model
Gets information about the model used to extract the pose.
public IModelInfo Model { get; }
Property Value
Methods
GetKeyForItem(BodyPart)
When implemented in a derived class, extracts the key from the specified element.
protected override string GetKeyForItem(BodyPart item)
Parameters
item
BodyPartThe element from which to extract the key.
Returns
- string
The key for the specified element.