WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 01-23-2014, 08:57 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Use the arrington plug-in to get gaze point data.
Code:
import viz
import vizact
viz.go()

#Create arrington extension 
arrington = viz.add('arrington.dle')

#Connect to eye tracker
tracker = arrington.addEyeTracker()

def printData():
	#Print smoothed gaze position (default)
	print tracker.getPosition()
	#Print raw gaze position
	print tracker.getPosition(arrington.RAW)

vizact.onupdate(0,printData)
Reply With Quote
 


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
Creating a Vizard Sensor Plugin farshizzo Plug-in development 25 08-01-2019 12:24 AM
Live Characters plugin Frank Verberne Vizard 7 03-01-2012 02:23 AM
Vicon Plugin Micheal Plug-in development 2 08-29-2007 03:03 AM
Could not find plugin to load objects... halley Vizard 1 05-30-2006 11:01 AM
Shooting Star Plugin duda Vizard 3 03-14-2005 11:52 AM


All times are GMT -7. The time now is 11:34 PM.


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