Augmented reality Tutorial No. 27: Unity3D, Vuforia, Zigfu and Kinect – Control Character with Your Body

Augmented Reality Body Tracking

Augmented Reality Body Tracking tutorial will allow you to control 3D characters (Iron man, Unity Chan) using your body. Kinect tracks your body and webcam – image target.

Download # Unity3D 32bit (download and install it, if you don’t have it already) (*.exe file)

Unity3D is also available to download from here

Download # Kinect drivers for Windows OS (*.exe file)

Kinect for Windows SDK v1.7 is also available to download from here

Download # Zigfu for Windows OS (*.exe file)

Zigfu for Windows OS / MAC are also available to download from here

Download # Zigfu ZDK For Unity3D (*.exe file)

Zigfu ZDK For Unity3D is also available to download from here

Download # Download and Import Unity3D Extension v4.2.3 (*.unitypackage file)

Unity3D extension is also available to download from here

Download # Print Euforia of Beauty Logo to Augment the Content and Create the Tracker  (*.jpg file)

Download # You Can Use Already Created Tracker (Zigfu) Based on Euforia of Beauty Logo  (*.unitypackage file)

Download # Download Whole Zigfu Tutorial Project Files (the result to test it)  (*.rar file)

Tags: , , , , , , , , , , , , , ,

24 Responses

  1. can i implement the app on tablet connected to external camera ????
    and how you track each part of your body???? can Kinect distinguish each part and give it a tag?

    thank you
    waiting for generous reply

    • I don’t know whether external camera can be connected to the tablet, I haven’t tried to do so.
      And yes, Kinect can distinguish different parts of your body, I mean track your body parts/joints, its position and orientation.

    • I would start from the begging. Firstly test it out whether your Kinect is working properly on PC? Maybe some other sample codes/apps?

  2. Hello, is this project deployed on desktop version (windows or mac)? if not, do you have any idea how could be this possible? Thanks.

    • I haven’t deployed it anywhere, just tested it out in Unity Play Mode. I’m not sure whether some workaround would work on this project.

  3. Hi
    Can I use this solution in android apps?
    Can MS Kinect drivers works on android with phone camera?
    Did You test it?

    Thanks for the answer a lot.

  4. Hello, I have follow all the tutorial properly, but when I connect my laptop to kinect, the picture won’t open. I don’t know what happen, do you know to solve this problem?

  5. Hi there,
    Thank You for the Video
    I am new using Unity and all these stuff
    I followed each step
    But I had an error after i removed the Utility folder.in Minute 10:34

    This is the error:

    Assets/ZigFu/Scripts/Viewers/ZigDepthmapToParticles.cs(19,13): warning CS0618: `UnityEngine.ParticleEmitter’ is obsolete: `This component is part of the legacy particle system, which is deprecated and will be removed in a future release. Use the ParticleSystem component instead.’
    Assets/Vuforia/Scripts/Utilities/VRIntegrationHelper.cs(99,29): warning CS0618: `UnityEngine.Camera.SetStereoProjectionMatrices(UnityEngine.Matrix4x4, UnityEngine.Matrix4x4)’ is obsolete: `SetStereoProjectionMatrices is deprecated. Use SetStereoProjectionMatrix(StereoscopicEye eye) instead.’
    Assets/Vuforia/Scripts/Utilities/VRIntegrationHelper.cs(100,30): warning CS0618: `UnityEngine.Camera.SetStereoProjectionMatrices(UnityEngine.Matrix4x4, UnityEngine.Matrix4x4)’ is obsolete: `SetStereoProjectionMatrices is deprecated. Use SetStereoProjectionMatrix(StereoscopicEye eye) instead.’
    Assets/ZigFu/SampleScenes/_Data/Scripts/MenuController.cs(75,16): warning CS0618: `UnityEngine.GameObject.SetActiveRecursively(bool)’ is obsolete: `gameObject.SetActiveRecursively() is obsolete. Use GameObject.SetActive(), which is now inherited by children.’
    Assets/ZigFu/SampleScenes/_Data/Scripts/MenuController.cs(79,16): warning CS0618: `UnityEngine.GameObject.SetActiveRecursively(bool)’ is obsolete: `gameObject.SetActiveRecursively() is obsolete. Use GameObject.SetActive(), which is now inherited by children.’
    Assets/ZigFu/SampleScenes/_Data/Scripts/MenuController.cs(87,16): warning CS0618: `UnityEngine.GameObject.SetActiveRecursively(bool)’ is obsolete: `gameObject.SetActiveRecursively() is obsolete. Use GameObject.SetActive(), which is now inherited by children.’
    Assets/ZigFu/SampleScenes/_Data/Scripts/MenuController.cs(91,16): warning CS0618: `UnityEngine.GameObject.SetActiveRecursively(bool)’ is obsolete: `gameObject.SetActiveRecursively() is obsolete. Use GameObject.SetActive(), which is now inherited by children.’
    Assets/ZigFu/Scripts/Viewers/ZigDepthmapToParticles.cs(49,32): warning CS0618: `UnityEngine.ParticleEmitter’ is obsolete: `This component is part of the legacy particle system, which is deprecated and will be removed in a future release. Use the ParticleSystem component instead.’
    Assets/ZigFu/Scripts/Viewers/ZigDepthmapToParticles.cs(52,125): warning CS0618: `UnityEngine.ParticleEmitter’ is obsolete: `This component is part of the legacy particle system, which is deprecated and will be removed in a future release. Use the ParticleSystem component instead.’
    Assets/ZigFu/Scripts/UserEngagers/ZigEngageSingleSession.cs(6,23): warning CS0649: Field `ZigEngageSingleSession.EngagedUser’ is never assigned to, and will always have its default value `null’
    error CS1705: Assembly `ZDK, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’ depends on `OpenNI.Net, Version=1.5.2.7, Culture=neutral, PublicKeyToken=6b43d0c6cf74ee7f’ which has a higher version number than referenced assembly `OpenNI.Net, Version=1.4.0.2, Culture=neutral, PublicKeyToken=6b43d0c6cf74ee7f’
    C:\Users\Esra\Documents\Zigfu\Assets/ZigFu/Scripts/_Internal/ZDK.dll (Location of the symbol related to previous error)

    Compilation failed: 1 error(s), 10 warnings