page_type | languages | products | description | ||||
---|---|---|---|---|---|---|---|
sample |
|
|
The samples in this repo show how to use the Live Video Analytics on IoT Edge module to analyze live video using AI modules of your choice and optionally record video on the edge device or in the cloud. |
This repository contains C# samples for Live Video Analytics on IoT Edge
File/folder | Description |
---|---|
src |
Sample source code. |
.gitignore |
Defines what to ignore at commit time. |
README.md |
This README file. |
LICENSE |
The license for the sample. |
SECURITY |
Guidelines for reporting security issues |
CODE_OF_CONDUCT.md |
Open source code of conduct |
The 'src' folder contains three sub-folders
- cloud-to-device-console-app - This folder contains a dotnet core console app that enables you to invoke direct methods of Live Video Analytics on IoT Edge module, with parameters defined by you in a JSON file (operations.json).
- edge - This folder has a few IoT Edge deployment manifest templates, along with sample code for an IoT Edge module (under 'modules' folder) that can be used in conjunction with the Live Video Analytics on IoT Edge module.
- ams-asset-player - This folder contains a ASP dotnet core app that showcases how you can playback assets recorded by Live Video Analytics on IoT Edge (in the Azure Media Services account referenced in the module twin properties).
-
An active Azure subscription
-
Azure resources deployed in the Azure subscription
a. IoT Hub
b. Storage Account
c. Media Services
d. Azure container registry
-
A Linux edge device with IoT Edge runtime
-
Visual Studio Code on your development machine with following extensions
b. C#
-
.NET Core 3.1 SDK on your development machine
-
Docker on your development machine
You can use the LVA resources setup script to deploy the Azure resources mentioned above, along with an Azure Linux VM to serve as your IoT Edge device.
After cloning the repository, follow instructions outlined in src/cloud-to-device-console-app/readme.md to setup the console app and instructions in src/ams-asset-player/readme.md to setup the ASP dotnet core app.
Follow instructions outlined in src/cloud-to-device-console-app/readme.md to run the console app and instructions in src/ams-asset-player/readme.md to run the ASP dotnet core app.
Read Live Video Analytics on IoT Edge concepts
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.