![]() |
|
#1
|
|||
|
|||
The vpx plugin only supports getting the gaze point of one eye. You could use the ctypes module to manually access the function of the Arrington Viewpoint API. What specific functions do you need, other than getting the gaze point of both eyes?
|
#2
|
|||
|
|||
Hello,
At present, I want to access the Pupil Width (APW and BPW), Quality of eye movement data (AQU and BQU), Fixation Duration (AFX and BFX) and the x,y gaze direction coordinates (ALX, ALY and BLX, BLY) for both the eyes. Thanks for your patient help. Uttama |
#3
|
|||
|
|||
Hello,
Actually, I would be carrying out some psychological experiments using the Arrington eye tracker. So, Pupil Width (APW and BPW), Quality of eye movement data (AQU and BQU)-if possible, Fixation Duration (AFX and BFX) and the x,y gaze direction coordinates (ALX, ALY and BLX, BLY) for both the eyes would be required. I was looking for the ctypes in the Vizard help menu. I could not find sustantial amount of information regarding ctypes. So, any help in using ctypes would be really appreciated. Thanks in advance for valuable suggestions. Uttama |
#4
|
|||
|
|||
ctypes is 3rd party plugin for Python. You can find a tutorial for the plugin here:
http://python.net/crew/theller/ctypes/tutorial.html |
#5
|
|||
|
|||
Hello,
Thanks for the suggestion. I have downloaded the ctypes. When, I am writing: from ctypes import * There occurs no error. The tutorial says.... libc = cdll.msvcrt libc.printf I am getting <_FuncPtr object at 0x00B80B70> So, in my case....do I use.....? vpx = ......msvcrt vpx.printf Any suggestions.....actually, I want to access vpx.dll and insert the other features such as coordinates of both the eye gazes...I hope my question is clear... In fact, I am little confused regarding the approach to be used.....and not sure whether I am going the correct way. Any suggestions would be really appreciated. Thanks for giving your valuable time. |
#6
|
|||
|
|||
Hello,
Any further suggestion regarding ctypes would be really appreciated. I have given my problem...in the last posting. If required, I will clarify further. Thanks Uttama |
#7
|
|||
|
|||
I'm not very familiar with ctypes, so I cannot help you that much. I think the important thing is that you are using the correct function name. In your example, you are using printf, which is not a function exported by the vpx.dll
|
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
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 |