opiQueryDevice_for_ImoVifa | R Documentation |
This is for internal use only. Use opiQueryDevice()
after
chooseOPI("ImoVifa")
to call this function.
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)
opiQueryDevice()
## Not run:
chooseOpi("ImoVifa")
opiInitialise(list(port = 50001, ip = "localhost"))
opiSetup(list(eye = "BOTH"))
result <- opiQueryDevice()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.