1

I want to track the head of a player in order to move the camera inside XNA. When the player rotates left or right, the camera inside XNA will respond to this action and will also rotate.

I tried using the head joint from Skeleton Data and taking the vector value X,Y but this is not an accurate solution. I need another solution that can rotate the camera inside XNA. Any suggestions?

Sassa
  • 3,294
  • 2
  • 28
  • 42
  • 1
    Do you mean tracking if the player's head is turning left or right? Since probably there is no large variation for the depth values in this case you could probably use the color info and track position of the eyes for example. I think there is an example of face tracking in the new MS SDK (1.5) also. – Sassa Sep 17 '12 at 18:19
  • I'am intend to build FPS game that take the playe's movement using kinect SDK 1 Kinect for Xbox36,not the kinect SDK1.5 ,so when the player move the camera position inside xna will move corresponding to this movement – user1677587 Sep 17 '12 at 19:14

1 Answers1

4

You could use the Face Tracking API and see the difference from a certain point on the users face (like their nose) to decide whether or not the user looked in a different direction. The points on a users face are assembled like this:

stuff

Then you can see if the X changed and by what amount to see the rotation effects. (You might want to see Facial Recognition with Kinect)

Community
  • 1
  • 1
Kinected
  • 441
  • 5
  • 19