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: sdk/videoanalyzer/video-analyzer-edge/README.md
+23-19Lines changed: 23 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
# Azure Video Analyzer Edge client library for JavaScript
2
2
3
-
Azure Video Analyzer on IoT Edge provides a platform to build intelligent video applications that span the edge and the cloud. The platform offers the capability to capture, record, and analyze live video along with publishing the results, video and video analytics, to Azure services in the cloud or the edge. It is designed to be an extensible platform, enabling you to connect different video analysis edge modules (such as Cognitive services containers, custom edge modules built by you with open-source machine learning models or custom models trained with your own data) to it and use them to analyze live video without worrying about the complexity of building and running a live video pipeline.
3
+
Azure Video Analyzer provides a platform to build intelligent video applications that span the edge and the cloud. The platform offers the capability to capture, record, and analyze live video along with publishing the results, video and video analytics, to Azure services in the cloud or the edge. It is designed to be an extensible platform, enabling you to connect different video analysis edge modules such as Cognitive services containers, custom edge modules built by you with opensource machine learning models or custom models trained with your own data. You can then use them to analyze live video without worrying about the complexity of building and running a live video pipeline.
4
4
5
-
Use the client library for Video Analyzer on IoT Edge to:
5
+
Use the client library for Video Analyzer Edge to:
6
6
7
-
- Simplify interactions with the [Microsoft Azure IoT SDKs](https://github.com/azure/azure-iot-sdks)
8
-
- Programmatically construct pipeline topologies and live pipelines
7
+
-Simplify interactions with the [Microsoft Azure IoT SDKs](https://github.com/azure/azure-iot-sdks)
8
+
-Programmatically construct pipeline topologies and live pipelines
- You need an active [Azure subscription][azure_sub], and a IoT device connection string to use this package.
26
-
- To interact with Azure IoT Hub you will need to run `npm install azure-iothub`
27
-
- You will need to use the version of the SDK that corresponds to the version of the Video Analyzer Edge module you are using.
24
+
-TypeScript v3.6.
25
+
-You need an active [Azure subscription][azure_sub], and a IoT device connection string to use this package.
26
+
-To interact with Azure IoT Hub you will need to run `npm install azure-iothub`
27
+
-You will need to use the version of the SDK that corresponds to the version of the Video Analyzer edge module you are using.
28
28
29
-
| SDK | Video Analyzer Edge Module|
29
+
| SDK | Video Analyzer edge module|
30
30
| ------------ | -------------------------- |
31
-
| 1.0.0-beta.1| 1.0 |
31
+
| 1.0.0-beta.x| 1.0 |
32
32
33
33
### Creating a pipeline topology and making requests
34
34
35
35
Please visit the [Examples](#examples) for starter code.
36
36
37
+
We guarantee that all client instance methods are thread-safe and independent of each other ([guideline](https://azure.github.io/azure-sdk/dotnet_introduction.html#dotnet-service-methods-thread-safety)). This ensures that the recommendation of reusing client instances is always safe, even across threads.
38
+
37
39
## Key concepts
38
40
39
-
### Pipeline Topology vs Pipeline Instance
41
+
### Pipeline topology vs live pipeline
40
42
41
43
A _pipeline topology_ is a blueprint or template for instantiating live pipelines. It defines the parameters of the pipeline using placeholders as values for them. A _live pipeline_ references a pipeline topology and specifies the parameters. This way you are able to have multiple live pipelines referencing the same topology but with different values for parameters. For more information please visit [pipeline topologies and live pipelines][doc_pipelines].
42
44
43
45
## Examples
44
46
45
47
### Creating a pipeline topology
46
48
47
-
To create a pipeline topology you need to define parameters, sources, and sinks.
49
+
To create a pipeline topology you need to define sources and sinks.
To create a pipeline method request you will need to get your deviceId and moduleId from your Azure IoT hub.
111
+
To invoke a direct method on your device you need to first define the request using the Video Analyzer Edge SDK, then send that method request using the IoT SDK's `CloudToDeviceMethod`.
0 commit comments