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:36] superuser [LearnNewObject] |
soplarpet:opcua_methods [2024/12/20 13:03] (current) superuser |
||
|---|---|---|---|
| Line 30: | 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 88: | Line 88: | ||
| **Output Arguments** | **Output Arguments** | ||
| - | * accuracy (int) - The minimal recognition accuracy | + | * accuracy (int) - The minimal recognition accuracy in % |
| ===== SetMinimalRecognitionAccuracy ===== | ===== SetMinimalRecognitionAccuracy ===== | ||
| Line 94: | Line 94: | ||
| **Input Arguments** | **Input Arguments** | ||
| - | * accuracy (int) - The minimal recognition accuracy | + | * accuracy (int) - The minimal recognition accuracy in % |
| **Output Arguments** | **Output Arguments** | ||
| Line 108: | Line 108: | ||
| * result (string) - json serialized error table | * 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 | ||