C# Class HandInput.Engine.SimpleSkeletonHandTracker

Hand tracking based on Kinect skeleton.
Inheritance: IHandTracker
Exibir arquivo Open project: ushadow/handinput Class Usage Examples

Public Methods

Method Description
SimpleSkeletonHandTracker ( int width, int height, Byte kinectParams, int bufferSize = 1 ) : System
SimpleSkeletonHandTracker ( int width, int height, CoordinateMapper coordMapper, int bufferSize = 1 ) : System
Update ( short depthFrame, byte cf, Microsoft.Kinect.Skeleton skeleton ) : TrackingResult

Private Methods

Method Description
ComputeInitialRect ( DepthImagePoint point, float z ) : Rectangle

Computes initial hand searching rectangle in the depth image. If the point is out side of the frame boundary, an empty rectangle will be returned.

FindBestBoundingBox ( Rectangle initialRect ) : Rectangle
Init ( int width, int height ) : void

Method Details

SimpleSkeletonHandTracker() public method

public SimpleSkeletonHandTracker ( int width, int height, Byte kinectParams, int bufferSize = 1 ) : System
width int
height int
kinectParams Byte
bufferSize int
return System

SimpleSkeletonHandTracker() public method

public SimpleSkeletonHandTracker ( int width, int height, CoordinateMapper coordMapper, int bufferSize = 1 ) : System
width int
height int
coordMapper CoordinateMapper
bufferSize int
return System

Update() public method

public Update ( short depthFrame, byte cf, Microsoft.Kinect.Skeleton skeleton ) : TrackingResult
depthFrame short
cf byte
skeleton Microsoft.Kinect.Skeleton
return TrackingResult