KinectXbox360 UE4 Save

kinect Xbox 360 sdk 1.8 Plugin for Unreal Engine 4

Project README

KinectXbox360-UE4

kinect Xbox 360 sdk 1.8 Plugin for Unreal Engine 4

Installation

  • clone the code into the "Pluings" folder of your c++ ureal engine project (ex. myProject\Plugins\KinectXbox360-UE4)
  • run, compile project as usual

info drivers kinect xbox

In microsoft windows should detect the device and install the drivers by itself.

Example Usage

Get Sensor and Initialize


Capture1

  • Kinect node is a functionLibrary, this return the Class UKinectManager.
  • Get Sensor is a method of that class and returns an array of connected Kinect (UKinectSensor class), in this example I take the first sensor found.
  • Now we can initialize the sensor:
    • We need to pass a base material to apply later the rgb and deep textures.

    • The BaseMaterial need a Textureparameter named KinectTexture. (used to apply the buffer when creating the instance dynamic material.)

      Capture4

Get and Update Color and Depth Stream


Capture2

  • We use the method UpdateColor and UpdateDepth. (look at the picture above, also each material has been applied to Cube and Cube1.)

Update Skeleton Stream and get Joints Positions and Bone Rotations


Capture3

  • The function UpdateSkeleton set a structure array variable (skeletons detected).
    • Each structure contains:
      • JointPosition (array Vector)
      • Rotation Bones (array Rotation)
      • PlayerID (Skeleton ID)

Example bones

Kinect_Skel.zip


bones


Open Source Agenda is not affiliated with "KinectXbox360 UE4" Project. README Source: AleDel/KinectXbox360-UE4
Stars
50
Open Issues
3
Last Commit
6 years ago

Open Source Agenda Badge

Open Source Agenda Rating