opiQueryDevice_for_ImoVifa {OPI} | R Documentation |
Implementation of opiQueryDevice for the ImoVifa machine.
Description
This is for internal use only. Use opiQueryDevice()
after
chooseOPI("ImoVifa")
to call this function.
Value
A list containing:
-
err
NULL
if there was no error, a string message if there is an error. -
rightEyex
x co-ordinates of right pupil (pixels from image centre, left < 0) -
rightEyey
y co-ordinates of right pupil (pixels from image centre, up > 0) -
leftEyex
x co-ordinates of left pupil (pixels from image centre, left < 0) -
leftEyey
y co-ordinates of left pupil (pixels from image centre, up > 0) -
leftEyed
Diameter of left pupil (pixels) -
rightEyed
Diameter of right pupil (pixels)
See Also
Examples
chooseOpi("ImoVifa")
opiInitialise(list(port = 50001, ip = "localhost"))
opiSetup(list(eye = "BOTH"))
result <- opiQueryDevice()
[Package OPI version 3.0.2 Index]