soplarpet:opcua_methods
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| soplarpet:opcua_methods [2024/11/14 11:07] – created superuser | soplarpet:opcua_methods [2024/12/20 14:03] (current) – superuser | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== ListCameras ===== | ===== ListCameras ===== | ||
| - | Returns | + | Returns |
| - | *Note:* both arrays | + | |
| + | **Note:** both arrays | ||
| **Input Arguments** | **Input Arguments** | ||
| * None | * None | ||
| **Output Arguments** | **Output Arguments** | ||
| - | * cameraIds (IList<string>) - A list of camera IDs | + | * cameraIds (string[]) - An array of camera IDs |
| - | * cameraNames (IList<string>) - A list of camera names | + | * cameraNames (string[]) - An array of camera names |
| ===== LearnNewObject ===== | ===== LearnNewObject ===== | ||
| Learns new pattern for all cameras to look for | Learns new pattern for all cameras to look for | ||
| + | |||
| **Input Arguments** | **Input Arguments** | ||
| * image (byte[]) - The image data containing the new object | * image (byte[]) - The image data containing the new object | ||
| - | * roiCoordinates (IList<int>) - The region of interest coordinates | + | * roiCoordinates (int[]) - The region of interest coordinates |
| - | * upperBorder (int) - The upper border value of search area | + | * upperBorder (int) - The upper border value of search area in px. |
| - | * lowerBorder (int) - The lower border value of search area | + | * lowerBorder (int) - The lower border value of search area in px. |
| **Output Arguments** | **Output Arguments** | ||
| Line 23: | Line 26: | ||
| ===== LearnNewObjectPerCamera ===== | ===== LearnNewObjectPerCamera ===== | ||
| - | Learns new pattern for specified camera. Also allows | + | Learns new pattern for a specified camera. Also allows |
| **Input Arguments** | **Input Arguments** | ||
| * imageWithNewObject (byte[]) - The image data containing the new object | * imageWithNewObject (byte[]) - The image data containing the new object | ||
| - | * regionOfInterest (int[]) - The region of interest coordinates | + | * regionOfInterest (int[]) - The region of interest coordinates |
| * upperBorderLineYPos (int) - The upper border value of search area | * upperBorderLineYPos (int) - The upper border value of search area | ||
| * lowerBorderLineYPos (int) - The lower border value of search area | * lowerBorderLineYPos (int) - The lower border value of search area | ||
| - | * offset (int) - The offset value | + | * offset (int) - The offset value in px. When pattern is detected, it's center X coordinate will be returned as a result. Offset allows to shift this coordinates. If pattern is detected between X10 and X20 and offset is -2 then result would be X13(X15-2) |
| * camera (int) - The camera identifier | * camera (int) - The camera identifier | ||
| Line 36: | Line 40: | ||
| ===== ReadCameraParameters ===== | ===== ReadCameraParameters ===== | ||
| - | Returs | + | Returns |
| **Input Arguments** | **Input Arguments** | ||
| * cameraNameOrId (string) - The camera name or ID | * cameraNameOrId (string) - The camera name or ID | ||
| **Output Arguments** | **Output Arguments** | ||
| - | * parameterNames (IList<string>) - A list of parameter names | + | * parameterNames (string[]) - An array of parameter names |
| - | * parameterValues (IList<string>) - A list of parameter values | + | * parameterValues (string[]) - An array of parameter values |
| ===== WriteCameraParameters ===== | ===== WriteCameraParameters ===== | ||
| - | Sets parameters for specified camera | + | Sets parameters for a specified camera |
| **Input Arguments** | **Input Arguments** | ||
| * cameraIdOrName (string) - The camera ID or name | * cameraIdOrName (string) - The camera ID or name | ||
| - | * parameterNames (IList<object>) - A list of parameter names | + | * parameterNames (object[]) - An array of parameter names |
| - | * parameterValues (IList<object>) - A list of parameter values | + | * parameterValues (object[]) - An array of parameter values |
| **Output Arguments** | **Output Arguments** | ||
| Line 55: | Line 61: | ||
| ===== GetMarkerParametersPerCamera ===== | ===== GetMarkerParametersPerCamera ===== | ||
| - | Returns serialized parameters of learned marker for later use | + | Returns serialized parameters of the learned marker for later use |
| **Input Arguments** | **Input Arguments** | ||
| * camera (int) - The camera identifier | * camera (int) - The camera identifier | ||
| Line 63: | Line 70: | ||
| ===== GetImageById ===== | ===== GetImageById ===== | ||
| - | Returns an image that was made by camera for specified trigger | + | Returns an image that was made by a camera for the specified trigger |
| **Input Arguments** | **Input Arguments** | ||
| * imageId (string) - The image ID | * imageId (string) - The image ID | ||
| Line 74: | Line 82: | ||
| ===== GetMinimalRecognitionAccuracy ===== | ===== GetMinimalRecognitionAccuracy ===== | ||
| - | Returns minimal recognition accuracy for marker to be accepted as valid | + | Returns |
| **Input Arguments** | **Input Arguments** | ||
| * None | * None | ||
| **Output Arguments** | **Output Arguments** | ||
| - | * accuracy (int) - The minimal recognition accuracy | + | * accuracy (int) - The minimal recognition accuracy |
| ===== SetMinimalRecognitionAccuracy ===== | ===== SetMinimalRecognitionAccuracy ===== | ||
| - | Sets minimal recognition accuracy for marker to be accepted as valid | + | Sets the minimal recognition accuracy for a marker to be accepted as valid |
| **Input Arguments** | **Input Arguments** | ||
| - | * accuracy (int) - The minimal recognition accuracy | + | * accuracy (int) - The minimal recognition accuracy |
| **Output Arguments** | **Output Arguments** | ||
| * None | * None | ||
| + | ===== GetErrorTable===== | ||
| + | Sets the minimal recognition accuracy for a marker to be accepted as valid | ||
| + | **Input Arguments** | ||
| + | * None | ||
| + | **Output Arguments** | ||
| + | * result (string) - json serialized error table | ||
| + | |||
| + | Detailed output specified [[soplarpet: | ||
| + | |||
| + | ===== Restart ===== | ||
| + | Restarts the application | ||
| + | |||
| + | **Input Arguments** | ||
| + | * None | ||
| + | |||
| + | **Output Arguments** | ||
| + | * None | ||
| + | |||
| + | ===== ShutdownComputer ===== | ||
| + | Shuts down the computer | ||
| + | |||
| + | **Input Arguments** | ||
| + | * None | ||
| + | |||
| + | **Output Arguments** | ||
| + | * None | ||
| + | |||
| + | ===== RestartComputer ===== | ||
| + | Restarts the computer | ||
| + | |||
| + | **Input Arguments** | ||
| + | * None | ||
| + | |||
| + | **Output Arguments** | ||
| + | * None | ||
soplarpet/opcua_methods.1731578848.txt.gz · Last modified: by superuser
