WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 06-29-2004, 02:49 PM
nickyee nickyee is offline
Join Date: Jun 2004
Location: Stanford, CA
Posts: 19
Tracking Head + Hand

Any pointers on how to track two points? How does the system know which point is which? From their starting positions?

I'm looking at the Punch Demo as an example. Is there a simpler demo script for tracking two points that I can refer to?
Reply With Quote
Old 06-29-2004, 05:03 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849

I'm assuming you're using a PPT system for tracking? To track two points you simply add the ppt sensor twice. Here's some sample code:
head = viz.add('vizppt.dls')
hand = viz.add('vizppt.dls')

print 'Head position',head.get()[:3]
print 'Hand position',hand.get()[:3]
As long as you don't place the head and hand sensor too close to each other, the ppt system should be able to distinguish between them.
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

All times are GMT -7. The time now is 04:01 PM.

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