Skip to content

Commit 3126055

Browse files
Updated ONNX example
1 parent 95b6720 commit 3126055

File tree

4 files changed

+267
-373
lines changed

4 files changed

+267
-373
lines changed

Advanced/onnx_object_detection/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This example demonstrates how you can use an ONNX model to detect objects in an
44

55
---
66
**NOTE:**
7-
Use this example with SAS Event Stream Processing 2024.03 and later.
7+
Use this example with SAS Event Stream Processing 2024.04 and later.
88

99
---
1010

@@ -111,7 +111,7 @@ Click the object_tracker window to explore its settings.
111111

112112
After an ONNX model is used to detect objects and post-processing is applied, tracking the detected objects over time can be a useful next step. For example, you could follow a person between multiple frames. In this example, the w_object_tracker window tracks a mobile phone and an apple on a table, rather than a person.
113113

114-
Essentially, in addition to the bounding box, score, and label, each detected object is assigned a track ID by the window, represented by `Object0_id`, `Object1_id`, and so on, as can be seen by clicking ![Output Schema](img/output-schema-icon.png "Output Schema"). In short, the Object Tracker window uses an algorithm to give an object that is detected in frame 1 and frame 2 the same track ID in both frames. A static camera position works best for tracking objects with the Object Tracker window.
114+
Essentially, in addition to the bounding box, score, and label, each detected object is assigned a track ID by the window, represented by `Object0_id` array, as can be seen by clicking ![Output Schema](img/output-schema-icon.png "Output Schema"). In short, the Object Tracker window uses an algorithm to give an object that is detected in frame 1 and frame 2 the same track ID in both frames. A static camera position works best for tracking objects with the Object Tracker window.
115115

116116
For more information, see [Using Object Tracker Windows](https://go.documentation.sas.com/doc/en/espcdc/v_043/espcreatewindows/p0jsgd7e0fa40ln16wxod1qpj9d2.htm).
117117

Advanced/onnx_object_detection/grafana.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"editable": true,
1919
"fiscalYearStartMonth": 0,
2020
"graphTooltip": 0,
21-
"id": 1,
21+
"id": 2,
2222
"links": [],
2323
"liveNow": false,
2424
"panels": [
@@ -42,7 +42,9 @@
4242
"controls": true,
4343
"height": 0,
4444
"heightMode": "auto",
45+
"infinityPlay": false,
4546
"name": "image",
47+
"noResultsMessage": "Nothing to display...",
4648
"scale": "auto",
4749
"toolbar": false,
4850
"width": 0,
@@ -59,9 +61,9 @@
5961
"fields": [
6062
"image"
6163
],
62-
"projectName": "onnx_object_detection",
64+
"projectName": "computer_vision_with_onnx",
6365
"refId": "A",
64-
"serverUrl": "ws://esps-onnx-5fobject-5fdetection:80",
66+
"serverUrl": "ws://esps-computer-5fvision-5fwith-5fonnx:80",
6567
"windowName": "w_annotate"
6668
}
6769
],
@@ -71,7 +73,6 @@
7173
],
7274
"refresh": "",
7375
"schemaVersion": 38,
74-
"style": "dark",
7576
"tags": [],
7677
"templating": {
7778
"list": []
@@ -108,8 +109,8 @@
108109
"type": "timepicker"
109110
},
110111
"timezone": "browser",
111-
"title": "ONNX Object Detection",
112+
"title": "Computer Vision with ONNX",
112113
"uid": "b054bce8-552f-4487-821e-f4c4d10d0637",
113-
"version": 3,
114+
"version": 5,
114115
"weekStart": ""
115-
}
116+
}

0 commit comments

Comments
 (0)