WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-19-2014, 02:14 PM
fivel_lab fivel_lab is offline
Member
 
Join Date: Mar 2011
Posts: 36
skeleton height from FAAST?

Hi there,
We're having a bit of difficulty figuring out exactly how the Kinect measures the y coordinates (in real world units) of the tracked points on the skeleton it is streaming via FAAST. For example, we want the height of the head in the real world to be the height of the head in vizard, so we figure we just need:

Code:
HEAD = 0
myHead = vrpn.addTracker( 'Tracker0@localhost', HEAD)
height = myHead.getPosition(ABS_GLOBAL)[1] + SENSOR_HEIGHT
(the head y position is measured relative to SENSOR_HEIGHT, correct?)

But we're probably doing something wrong because the following odd behavior occurs when using this technique:

1) If we change the pitch of the Kinect (through FAAST, prior to running the vizard script), we obtain different values for "height" for different pitches, even though we're using the same person for the skeleton
2) When SENSOR_HEIGHT is set to its actual, measured value (in our case .71m), "height" is incorrect relative to measurements made in the real world.
3) If we arbitrarily change SENSOR_HEIGHT to get "height" to the correct value (which we know cannot be correct!), it works for some skeletons but not others (i.e., SENSOR_HEIGHT has to be changed arbitrarily for each new skeleton).

It's crucial for us that the height of the virtual head is the same as the height of the actual head because our application depends on taking a particular perspective on the scene. We thought this would do the trick (we're using an Oculus):

Code:
hmd = oculus.Rift(window=viz.MainWindow)
head6DoFTracker = viz.mergeLinkable(myHead, hmd.getSensor())
headLink = viz.link(head6DoFTracker, viz.MainView, srcFlag=viz.ABS_GLOBAL)

height = viz.MainView.getPosition(viz.ABS_GLOBAL)[1]
But this doesn't seem to give us the correct value for height.

Any ideas? Thanks!
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cal3d skeleton exporter error pwsnow Vizard 0 07-23-2013 10:15 AM
Kinect auto selection of skeleton victorqx Vizard 0 05-29-2012 09:30 AM
Head Height Plymouth Vizard 5 02-12-2007 11:38 AM
female skeleton CSF file needed to export to CAF format vmonkey Vizard 1 10-04-2005 11:15 AM
Constraining Height nickyee Vizard 7 01-18-2005 02:46 PM


All times are GMT -7. The time now is 08:48 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC