Learn R Programming

OPI (version 3.0.4)

opiQueryDevice_for_ImoVifa: Implementation of opiQueryDevice for the ImoVifa machine.

Description

This is for internal use only. Use opiQueryDevice() after chooseOPI("ImoVifa") to call this function.

Arguments

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

opiQueryDevice()

Examples

Run this code
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