You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-video-analyzer/video-analyzer-docs/deploy-on-stack-edge.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -433,7 +433,7 @@ To connect to your IoT hub by using the Azure IoT Tools extension, do the follow
433
433
434
434
Kubernetes supports [pod affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity), which can schedule pods on the same node. To achieve co-location, you can add to the inference pod manifest, a podAffinity section that references the Video Analyzer module.
435
435
436
-
```json
436
+
```yaml
437
437
// Example Video Analyzer module deployment match labels
438
438
selector:
439
439
matchLabels:
@@ -454,8 +454,8 @@ To connect to your IoT hub by using the Azure IoT Tools extension, do the follow
454
454
topologyKey: "kubernetes.io/hostname"
455
455
```
456
456
457
-
* **You get a 404 error code when you use the *rtspsim* module**
458
-
457
+
* **You get a 404 error code when you use the *rtspsim* module**
458
+
459
459
The container reads videos from exactly one folder within the container. If you map/bind an external folder into a folder that already exists within the container image, Docker hides the files present in the container image.
460
460
461
461
For example, with no bindings, the container might have these files:
@@ -135,7 +135,7 @@ Video Analyzer via the pipeline extension processors can extend the pipeline to
135
135
136
136
Video Analyzer provides a direct method-based programming model that allows you to set up multiple topologies and multiple pipelines. As part of the topology and pipeline setup, you invoke multiple direct method calls on the IoT Edge module. If you invoke these multiple method calls in parallel, especially the ones that start and stop the pipelines, you might experience a timeout failure such as the following:
137
137
138
-
Assembly Initialization method Microsoft.Media.VideoAnalyzer.Test.Feature.Edge.AssemblyInitializer.InitializeAssemblyAsync threw exception. Microsoft.Azure.Devices.Common.Exceptions.IotHubException: <br/> `{"Message":"{\"errorCode\":504101,\"trackingId\":\"55b1d7845498428593c2738d94442607-G:32-TimeStamp:05/15/2020 20:43:10-G:10-TimeStamp:05/15/2020 20:43:10\",\"message\":\"Timed out waiting for the response from device.\",\"info\":{},\"timestampUtc\":\"2020-05-15T20:43:10.3899553Z\"}","ExceptionMessage":""}. Aborting test execution.`
138
+
Assembly Initialization method Microsoft.Media.VideoAnalyzer.Test.Feature.Edge.AssemblyInitializer.InitializeAssemblyAsync threw exception. Microsoft.Azure.Devices.Common.Exceptions.IotHubException: <br/> `{"Message":"{\"errorCode\":504101,\"trackingId\":\"55b1d7845498428593c2738d94442607-G:32-TimeStamp:05/15/2020 20:43:10-G:10-TimeStamp:05/15/2020 20:43:10\",\"message\":\"Timed out waiting for the response from device.\",\"info\":{},\"timestampUtc\":\"2020-05-15T20:43:10.3899553Z\"}","ExceptionMessage":""}. Aborting test execution.`
139
139
140
140
We recommend that you _not_ call direct methods in parallel. Call them sequentially (that is, make one direct method call only after the previous one is finished).
141
141
@@ -158,7 +158,7 @@ To gather the relevant logs that should be added to the ticket, follow the instr
158
158
159
159
On the IoT Edge device, use the following command after replacing `<avaedge>` with the name of your Video Analyzer edge module :
160
160
161
-
```cmd
161
+
```shell
162
162
sudo iotedge restart <avaedge>
163
163
```
164
164
@@ -208,7 +208,7 @@ When you need to gather logs from an IoT Edge device, the easiest way is to use
208
208
209
209
1. Run the `support-bundle` command with the _--since_ flag to specify how much time you want your logs to cover. For example, 2h will get logs for the last two hours. You can change the value of this flag to include logs for different periods.
Copy file name to clipboardExpand all lines: articles/cognitive-services/Computer-vision/spatial-analysis-operations.md
+33-26Lines changed: 33 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,32 +90,33 @@ This is an example of the DETECTOR_NODE_CONFIG parameters for all Spatial Analys
90
90
### Camera calibration node parameter settings
91
91
This is an example of the `CAMERACALIBRATOR_NODE_CONFIG` parameters for all spatial analysis operations.
92
92
93
-
```
93
+
```json
94
94
{
95
-
"gpu_index": 0,
96
-
"do_calibration": true,
97
-
"enable_breakpad": false,
98
-
"enable_orientation": true
95
+
"gpu_index": 0,
96
+
"do_calibration": true,
97
+
"enable_breakpad": false,
98
+
"enable_orientation": true
99
99
}
100
100
```
101
101
102
-
| Name | Type| Description|
102
+
| Name | Type| Description|
103
103
|---------|---------|---------|
104
104
|`do_calibration`| string | Indicates that calibration is turned on. `do_calibration` must be true for **cognitiveservices.vision.spatialanalysis-persondistance** to function properly. `do_calibration` is set by default to `True`. |
105
105
| `enable_breakpad`| bool | Indicates whether to enable breakpad, which is used to generate a crash dump for debug use. It is `false` by default. If you set it to `true`, you also need to add `"CapAdd": ["SYS_PTRACE"]` in the `HostConfig` part of container `createOptions`. By default, the crash dump is uploaded to the [RealTimePersonTracking](https://appcenter.ms/orgs/Microsoft-Organization/apps/RealTimePersonTracking/crashes/errors?version=&appBuild=&period=last90Days&status=&errorType=all&sortCol=lastError&sortDir=desc) AppCenter app, if you want the crash dumps to be uploaded to your own AppCenter app, you can override the environment variable `RTPT_APPCENTER_APP_SECRET` with your app's app secret.
106
106
|`enable_orientation`| bool | Indicates whether you want to compute the orientation for the detected people or not. `enable_orientation` is set by default to `True`. |
107
107
108
108
### Calibration config
109
+
109
110
This is an example of the `CALIBRATION_CONFIG` parameters for all spatial analysis operations.
@@ -128,10 +129,11 @@ This is an example of the `CALIBRATION_CONFIG` parameters for all spatial analys
128
129
|`calibration_quality_check_queue_max_size`| int | Maximum number of data samples to store when camera model is calibrated. Default is `1000`. Only used when `enable_recalibration=True`.|
129
130
|`calibration_event_frequency_seconds`| int | Output frequency (seconds) of camera calibration events. A value of `-1` indicates that the camera calibration should not be sent unless the camera calibration info has been changed. Default is `-1`.|
130
131
131
-
132
132
### Camera calibration output
133
+
133
134
This is an example of the output from camera calibration if enabled. Ellipses indicate more of the same type of objects in a list.
134
-
```
135
+
136
+
```json
135
137
{
136
138
"type": "cameraCalibrationEvent",
137
139
"sourceInfo": {
@@ -231,25 +233,30 @@ You can configure the speed computation through the tracker node parameter setti
231
233
|---------|---------|---------|
232
234
|`enable_speed`| bool | Indicates whether you want to compute the speed for the detected people or not. `enable_speed` is set by default to `True`. It is highly recommended that you enable both speed and orientation to have the best estimated values. |
233
235
234
-
235
236
## Spatial Analysis operations configuration and output
237
+
236
238
### Zone configuration for cognitiveservices.vision.spatialanalysis-personcount
237
239
238
-
This is an example of a JSON input for the SPACEANALYTICS_CONFIG parameter that configures a zone. You may configure multiple zones for this operation.
240
+
This is an example of a JSON input for the SPACEANALYTICS_CONFIG parameter that configures a zone. You may configure multiple zones for this operation.
0 commit comments