powered by
This is for internal use only. Use opiQueryDevice() after chooseOPI("ImoVifa") to call this function.
opiQueryDevice()
chooseOPI("ImoVifa")
A list containing:
err NULL if there was no error, a string message if there is an error.
err
NULL
rightEyex x co-ordinates of right pupil (pixels from image centre, left < 0)
rightEyex
rightEyey y co-ordinates of right pupil (pixels from image centre, up > 0)
rightEyey
leftEyex x co-ordinates of left pupil (pixels from image centre, left < 0)
leftEyex
leftEyey y co-ordinates of left pupil (pixels from image centre, up > 0)
leftEyey
leftEyed Diameter of left pupil (pixels)
leftEyed
rightEyed Diameter of right pupil (pixels)
rightEyed
if (FALSE) { chooseOpi("ImoVifa") opiInitialise(list(port = 50001, ip = "localhost")) opiSetup(list(eye = "BOTH")) result <- opiQueryDevice() }
Run the code above in your browser using DataLab