PDA

View Full Version : Tracking Head + Hand


nickyee
06-29-2004, 02:49 PM
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?

farshizzo
06-29-2004, 05:03 PM
Hi,

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.