Astra SDK  v2.1.3
| 类型定义 | 枚举

class  astra::BitmapMask
 Bitmap representing a 2d mask 更多...
 
class  astra::Joint
 Body joint 更多...
 
class  astra::HandPoseInfo
 
class  astra::Body
 Human body 更多...
 
class  astra::Plane
 3D geometric plane 更多...
 
class  astra::FloorInfo
 
class  astra::BodyFrameInfo
 
class  astra::BodyFrame
 Body tracking information produced by a BodyTracker instance 更多...
 
class  astra::BodyStream
 A Body Data Stream 更多...
 

类型定义

using astra::BodyMask = BitmapMask
 Mask representing pixels that have been identified as belonging to tracked bodies
 
using astra::FloorMask = BitmapMask
 Mask representing pixels that have been identified as belonging to the floor plane
 
using astra::JointList = Array< const Joint >
 Type alias for an immutable Array of Joints
 
using astra::BodyId = astra_body_id_t
 Identifier type for bodies
 
using astra::BodyList = Array< const Body >
 Type alias for an immutable Array of Bodies
 

枚举

enum class  astra::BodyTrackingFeatureFlags : ::astra_body_tracking_feature_flags_t { Segmentation = 0 , Joints = 1 , HandPoses = 3 }
 Bitmask of body features Represents the possible features that body tracking can produce on a body. This is a bitmask so multiple features can be combined. 更多...
 
enum class  astra::SkeletonProfile : ::astra_skeleton_profile_t { Full = 0 , UpperBody = 1 , Basic = 2 }
 Skeleton profile representing the set of joints to be tracked. 更多...
 
enum class  astra::SkeletonOptimization : ::astra_skeleton_optimization_t {
  Optimization1 = 1 , MinimizeMemory = 2 , Optimization2 = 2 , Optimization3 = 3 ,
  Optimization4 = 4 , Balanced = 5 , Optimization5 = 5 , Optimization6 = 6 ,
  Optimization7 = 7 , Optimization8 = 8 , Optimization9 = 9 , BestAccuracy = 9
}
 Represents the body tracking configuration that trades-off tracking accuracy, memory, and CPU usage. 更多...
 
enum class  astra::BodyOrientation : ::astra_body_orientation_t { TOP = 0 , LEFT = 1 , RIGHT = 2 }
 the orientation of people's heads in depth image.
 
enum class  astra::JointStatus : ::astra_joint_status_t { NotTracked = 0 , LowConfidence = 1 , Tracked = 2 }
 Joint status enumeration 更多...
 
enum class  astra::JointType : ::astra_joint_type_t {
  Head = 0 , ShoulderSpine = 1 , LeftShoulder = 2 , LeftElbow = 3 ,
  LeftHand = 4 , RightShoulder = 5 , RightElbow = 6 , RightHand = 7 ,
  MidSpine = 8 , BaseSpine = 9 , LeftHip = 10 , LeftKnee = 11 ,
  LeftFoot = 12 , RightHip = 13 , RightKnee = 14 , RightFoot = 15 ,
  LeftWrist = 16 , RightWrist = 17 , Neck = 18 , Unknown = 255
}
 Joint type enumeration 更多...
 
enum class  astra::HandPose : ::astra_handpose_t { Unknown = 0 , Grip = 1 }
 Hand pose enum. Enumeration of the hand poses that can be detected. 更多...
 
enum class  astra::BodyStatus : ::astra_body_status_t { NotTracking = 0 , TrackingLost = 1 , TrackingStarted = 2 , Tracking = 3 }
 Enumeration of possible tracking status of a orbbec::bodytracking::Body 更多...
 

详细描述

枚举类型说明

◆ BodyStatus

enum astra::BodyStatus : ::astra_body_status_t
strong

Enumeration of possible tracking status of a orbbec::bodytracking::Body

枚举值
NotTracking 

Body is not currently tracked

TrackingLost 

Tracking of Body was lost

TrackingStarted 

Tracking of Body has begun

Tracking 

Body is currently being tracked

◆ BodyTrackingFeatureFlags

enum astra::BodyTrackingFeatureFlags : ::astra_body_tracking_feature_flags_t
strong

Bitmask of body features Represents the possible features that body tracking can produce on a body. This is a bitmask so multiple features can be combined.

枚举值
Segmentation 

No features beyond minimal body mask segmentation

Joints 

Tracking of joints

HandPoses 

Recognition of hand poses

◆ HandPose

enum astra::HandPose : ::astra_handpose_t
strong

Hand pose enum. Enumeration of the hand poses that can be detected.

枚举值
Unknown 

Hand pose is not known or unrecognized

Grip 

Grip pose

◆ JointStatus

enum astra::JointStatus : ::astra_joint_status_t
strong

Joint status enumeration

枚举值
NotTracked 

Joint not currently tracked

LowConfidence 

Joint is currently tracked with low confidence possibly due to occlusion

Tracked 

Joint is currently tracked

◆ JointType

enum astra::JointType : ::astra_joint_type_t
strong

Joint type enumeration

枚举值
Head 

Head

ShoulderSpine 

Shoulder spine

LeftShoulder 

Left Shoulder

LeftElbow 

Left Elbow

LeftHand 

Left hand

RightShoulder 

Right Shoulder

RightElbow 

Right Elbow

RightHand 

Right Hand

MidSpine 

Mid spine

BaseSpine 

Base spine

LeftHip 

Left Hip

LeftKnee 

Left Knee

LeftFoot 

Left Foot

RightHip 

Right Hip

RightKnee 

Right Knee

RightFoot 

Right Foot

LeftWrist 

Left Wrist

RightWrist 

Right Wrist

Neck 

Neck

Unknown 

Unknown

◆ SkeletonOptimization

enum astra::SkeletonOptimization : ::astra_skeleton_optimization_t
strong

Represents the body tracking configuration that trades-off tracking accuracy, memory, and CPU usage.

枚举值
MinimizeMemory 

Configuration that minimizes memory usage at a cost of lower tracking accuracy

Balanced 

Configuration that balances accuracy with lower memory and CPU usage

BestAccuracy 

Configuration that produces the best tracking accuracy

◆ SkeletonProfile

enum astra::SkeletonProfile : ::astra_skeleton_profile_t
strong

Skeleton profile representing the set of joints to be tracked.

枚举值
Full 

All supported joints

UpperBody 

Upper body only

Basic 

Only four basic joints: Head, MidSpine, LeftHand, RightHand