WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-16-2008, 05:30 PM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Arrington Plugin

Hello,

I am trying to interface an Arrington Eye Tracker with the Vizard platform. When I am trying to access the tracker data by using

import vpx
point = vpx.getSmoothedGazePoint()

I am getting this error

import vpx
ImportError: DLL load failed: The specified module could not be found.


I have seen that my vizard\bin file has the vpx.dll.

If anyone can suggest me something, it would be really helpful to me.

Thanks

Uttama
Reply With Quote
  #2  
Old 07-17-2008, 07:40 AM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Hello,

Another thing I forgot to mention. Presently I am running both the applications on the same PC.

Thanks

Uttama
Reply With Quote
  #3  
Old 07-17-2008, 11:45 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Which version of the Arrington Eye ViewPoint software are you running? Also, is the ViewPoint folder on your system path. The vpx plug-in depends on some DLLs that are in the ViewPoint folder. So either that folder must be on the system path, or your script has to be run from inside that folder.
Reply With Quote
  #4  
Old 07-17-2008, 11:53 AM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Hello Farshizzo,

The Viewpoint version I am running is ViewPoint(2.8.4 beta L4 437B). The Viewpoint.exe is in the Viewpoint Folder. It is running fine.

The vpx.dll folder which I have downloaded from the Worldviz Downloads section is in Vizard\bin\dll folder.

I have also tried loading the vpx.dll in the ViewPoint folder. It did not work.
Again, I loaded the vpx.dll in the folder where I my vizard program .py is. Still it gives the same error.

Thanks in advance for your time. I am not being able to solve this...your suggestions would be really valuable.

Thanks

Uttama
Reply With Quote
  #5  
Old 07-17-2008, 01:50 PM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Hello Farshizzo,

Your suggestions are always great!! Yes, now I have copied my .py file and the vpx.dll into the ViewPoint folder and now the error does not appear again.

But, it seems, I am getting the x and y coordinates and that too of one eye. I want to access those for the other eye (as I am using a binocular system) and also the ROI and other parameters.

point = vpx.getSmoothedGazePoint()

gives x,y coordinates and that too for one eye.

If you can suggest me some ways to access the other data as well.

Thanks

Uttama
Reply With Quote
  #6  
Old 07-17-2008, 04:02 PM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Hello,

I am finding no commands explicitly mentioned for Arrington Tracker in the Help menu.

From the downloads page, I got only,

import vpx
point = vpx.getSmoothedGazePoint()

The Help file alongwith Vizard package also does not show these.

Thanks

Uttama
Reply With Quote
  #7  
Old 01-22-2014, 09:12 PM
kpraveen kpraveen is offline
Member
 
Join Date: Oct 2013
Posts: 3
I am trying to interface the Arrington eye tracker with the vizard platform and try to get the gaze point values in real time.
When i run the program there is no error but it does not show the gaze point in real time too.Hereby,i will send you my program and the following command i am getting.

Program:

from ctypes import *
import viz
import os
import sys
import vpx
viz.go()
point=vpx.getSmoothedGazePoint()
print 'point'
print point

Command:

********************************
** Loading arrington.py
**********************************
point
(0.0, 0.0)
** Load Time: 0.22 seconds

kindly,help me out to get the data's in real time and for your information i have downloaded vpx.dll from the hardware support section of worldviz and saved it in the working vizard directory and all the files are saved in ViewPoint 2.9.2.5 directory and i am using windows xp 32-bit system.

if anyone can suggest me the way of getting the data's in real time and it is really helpful for me.
Reply With Quote
  #8  
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
  #9  
Old 01-23-2014, 09:36 PM
kpraveen kpraveen is offline
Member
 
Join Date: Oct 2013
Posts: 3
Thank you for your reply Jeff,

I executed the code which is in Arrington plug-in and also send by you and getting the following command...

[0.0, 1.0, 0.0]
[0.0, 1.0, 0.0]
[0.0, 1.0, 0.0]
[0.0, 1.0, 0.0]
[0.0, 1.0, 0.0]
[0.0, 1.0, 0.0].........it is continuously going on and unable to get the real time value of Gaze point.

so,give me suggestions to get the value in real time.Thank you for spending time to solve my issue.
Reply With Quote
Reply


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 05:20 AM.


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