Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
soplarpet:opcua_methods [2024/11/22 14:25] superuser |
soplarpet:opcua_methods [2024/12/20 13:03] (current) superuser |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Returns an array of loaded camera configurations | Returns an array of loaded camera configurations | ||
| - | *Note:* both arrays will contain the same list since the camera names feature was canceled. | + | **Note:** both arrays will contain the same list since the camera names feature was canceled. |
| **Input Arguments** | **Input Arguments** | ||
| * None | * None | ||
| Line 17: | Line 18: | ||
| **Input Arguments** | **Input Arguments** | ||
| * image (byte[]) - The image data containing the new object | * image (byte[]) - The image data containing the new object | ||
| - | * roiCoordinates (int[]) - The region of interest coordinates | + | * roiCoordinates (int[]) - The region of interest coordinates in px, specified in format [X1,Y1,X2,Y2] |
| - | * 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 29: | Line 30: | ||
| **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 in px, specified in format [X1,Y1,X2,Y2] |
| * 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 87: | Line 88: | ||
| **Output Arguments** | **Output Arguments** | ||
| - | * accuracy (int) - The minimal recognition accuracy | + | * accuracy (int) - The minimal recognition accuracy in % |
| ===== SetMinimalRecognitionAccuracy ===== | ===== SetMinimalRecognitionAccuracy ===== | ||
| Line 93: | Line 94: | ||
| **Input Arguments** | **Input Arguments** | ||
| - | * accuracy (int) - The minimal recognition accuracy | + | * accuracy (int) - The minimal recognition accuracy in % |
| **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:error_table|here]] | ||
| + | |||
| + | ===== 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 | ||