powered by
This is for internal use only. Use opiInitialise() with these Arguments and you will get the Value back.
opiInitialise()
A list with elements:
err NULL if successful, not otherwise.
err
prl A pair giving the (x,y) in degrees of the Preferred Retinal Locus detected in the initial alignment.
prl
onh a pair giving the (x,y) in degrees of the ONH as selected by the user.
onh
image raw bytes being the JPEG compressed infra-red image acquired during alignment.
image
IP address on which server is listening as a string
Port number on which server is listening
Could be used for fake compass, simulations, etc
Warning: this returns a list, not a single error code.
if (FALSE) { # Set up the Compass chooseOpi("Compass") result <- opiInitialize(ip = "192.168.1.7", port = 44965) if (is.null(result$err)) print(result$prl) }
Run the code above in your browser using DataLab