This is an old revision of the document!


OPCUA methods

Returns an array of loaded camera configurations

Note: both arrays will contain the same list since the camera names feature was canceled. Input Arguments

  • None

Output Arguments

  • cameraIds (string[]) - An array of camera IDs
  • cameraNames (string[]) - An array of camera names

Learns new pattern for all cameras to look for

Input Arguments

  • image (byte[]) - The image data containing the new object
  • roiCoordinates (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

Learns new pattern for a specified camera. Also allows setting an offset that adds to the x-coordinate of the 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

Returns parameter names for a specified camera

Input Arguments

  • cameraNameOrId (string) - The camera name or ID

Output Arguments

  • parameterNames (string[]) - An array of parameter names
  • parameterValues (string[]) - An array of parameter values

Sets parameters for a specified camera

Input Arguments

  • cameraIdOrName (string) - The camera ID or name
  • parameterNames (object[]) - An array of parameter names
  • parameterValues (object[]) - An array of parameter values

Output Arguments

  • None

Returns serialized parameters of the learned marker for later use

Input Arguments

  • camera (int) - The camera identifier

Output Arguments

  • parameters (string) - The marker parameters

Returns an image that was made by a camera for the 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

Returns the minimal recognition accuracy for a marker to be accepted as valid

Input Arguments

  • None

Output Arguments

  • accuracy (int) - The minimal recognition accuracy

Sets the minimal recognition accuracy for a marker to be accepted as valid

Input Arguments

  • accuracy (int) - The minimal recognition accuracy

Output Arguments

  • None
  • soplarpet/opcua_methods.1732285541.txt.gz
  • Last modified: 2024/11/22 14:25
  • by superuser