opiQueryDevice_for_ImoVifa: Implementation of opiQueryDevice for the ImoVifa machine.

View source: R/ImoVifa.r

opiQueryDevice_for_ImoVifaR 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

opiQueryDevice()

Examples

## Not run: 
chooseOpi("ImoVifa")
opiInitialise(list(port = 50001, ip = "localhost"))
opiSetup(list(eye = "BOTH"))
result <- opiQueryDevice()

## End(Not run)


OPI documentation built on April 12, 2025, 1:24 a.m.