This is an old revision of the document!
OPCUA methods
ListCameras
Returns a list of loaded camera configurations *Note:* both arrays wil contain the same list. since camera names feature was canceled Input Arguments
- None
Output Arguments
- cameraIds (IList<string>) - A list of camera IDs
- cameraNames (IList<string>) - A list of camera names
LearnNewObject
Learns new pattern for all cameras to look for Input Arguments
- image (byte[]) - The image data containing the new object
- roiCoordinates (IList<int>) - The region of interest coordinates
- upperBorder (int) - The upper border value of search area
- lowerBorder (int) - The lower border value of search area
Output Arguments
- None
LearnNewObjectPerCamera
Learns new pattern for specified camera. Also allows to set offset that adds to x coordinate of detected pattern Input Arguments
- imageWithNewObject (byte[]) - The image data containing the new object
- regionOfInterest (int[]) - The region of interest coordinates
- upperBorderLineYPos (int) - The upper border value of search area
- lowerBorderLineYPos (int) - The lower border value of search area
- offset (int) - The offset value
- camera (int) - The camera identifier
Output Arguments
- None
ReadCameraParameters
Returs parameter names for specified camera Input Arguments
- cameraNameOrId (string) - The camera name or ID
Output Arguments
- parameterNames (IList<string>) - A list of parameter names
- parameterValues (IList<string>) - A list of parameter values
WriteCameraParameters
Sets parameters for specified camera Input Arguments
- cameraIdOrName (string) - The camera ID or name
- parameterNames (IList<object>) - A list of parameter names
- parameterValues (IList<object>) - A list of parameter values
Output Arguments
- None
GetMarkerParametersPerCamera
Returns serialized parameters of learned marker for later use Input Arguments
- camera (int) - The camera identifier
Output Arguments
- parameters (string) - The marker parameters
GetImageById
Returns an image that was made by camera for specified trigger id Input Arguments
- imageId (string) - The image ID
- camId (string) - The camera ID
Output Arguments
- filename (string) - The filename of the image
- image (byte[]) - The image data
- metadata (string) - The image metadata
GetMinimalRecognitionAccuracy
Returns minimal recognition accuracy for marker to be accepted as valid Input Arguments
- None
Output Arguments
- accuracy (int) - The minimal recognition accuracy
SetMinimalRecognitionAccuracy
Sets minimal recognition accuracy for marker to be accepted as valid Input Arguments
- accuracy (int) - The minimal recognition accuracy
Output Arguments
- None