opiInitialise_for_Compass | R Documentation |
This is for internal use only. Use opiInitialise()
with
these Arguments and you will get the Value back.
ip |
IP address on which server is listening as a string |
port |
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.
A list with elements:
err
NULL if successful, not otherwise.
prl
A pair giving the (x,y) in degrees of the Preferred Retinal
Locus detected in the initial alignment.
onh
a pair giving the (x,y) in degrees of the ONH as selected by
the user.
image
raw bytes being the JPEG compressed infra-red image acquired
during alignment.
## Not run:
# Set up the Compass
chooseOpi("Compass")
result <- opiInitialize(ip = "192.168.1.7", port = 44965)
if (is.null(result$err))
print(result$prl)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.