|
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
Hello,
Another thing I forgot to mention. Presently I am running both the applications on the same PC. Thanks Uttama |
#3
|
|||
|
|||
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.
|
#4
|
|||
|
|||
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 |
#5
|
|||
|
|||
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 |
#6
|
|||
|
|||
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 |
#7
|
|||
|
|||
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. |
#8
|
|||
|
|||
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) |
#9
|
|||
|
|||
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. |
|
|
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 |