Set up your own end-to-end package delivery monitoring AI application on the edge with Azure Percept

Published May 07 2021 08:00 AM 2,821 Views
New Contributor

amitmarathe_0-1620151371798.png

 

Through my bedroom window, I can see the street in a typical suburban residential neighborhood.  It is a relatively quiet street with mostly cars passing by occasionally, but due to increase in package deliveries, there have been more trucks and delivery folks seen on the street recently.

 

I want to put a camera on my bedroom window overlooking the street below and build a package delivery monitoring AI application that will detect when a person or a truck is seen by the camera. I want the package delivery monitoring AI application to show me these event detections in a video analytics dashboard that is updated in real-time. I also want to be able to view a short video clip of the detected event.

Here are some details about the project using an Azure Percept DevKit.

You can adapt the project and choose other object classes to build your own AI application for your environment and scenario.

 

Here’s what you will need to get started

Subscription and Hardware

  • Azure subscription (with full access to Azure services)
  • Azure Percept DK (Edge Vision/AI device with Azure IoT Edge)

 

dk.png

 

 

 

 

Azure Percept ($349 in Microsoft store)

https://www.microsoft.com/en-us/store/build/azure-percept/8v2qxmzbz9vc

Host: NXP iMX8m processor

Vision AI: Intel Movidius Myriad X (MA2085) vision processing unit (VPU)

 

  • Inseego 5G MiFi ® M2000 mobile hotspot (fast and reliable cloud connection for uploading videos)

 

3_mifi-m2000-angle.png

Radio: Qualcomm ® Snapdragon ™ X55 modem

Carrier/plan: T-Mobile 5G Magenta plan

https://www.t-mobile.com/tablet/inseego-5g-mifi-m2000

 

Key Azure Services/Technologies used

  • Azure IoT edge (edgeAgent, edgeHub docker containers)
  • Azure Live Video Analytics (LVA) on the edge
  • Azure IoT Central LVA Edge Gateway
  • Azure IoT Hub
  • Azure IoT Central
  • Azure Media Services (AMS)
  • ACR

 

4.    Overall setup and description

 

Step 1: Unbox and setup the Azure Percept

 

This step should take about 5-10 minutes if all goes well. Follow the setup instructions here https://docs.microsoft.com/en-us/azure/azure-percept/quickstart-percept-dk-set-up

Here are some screenshots that I captured as I went through my Azure Percept device setup process.

 

amitmarathe_3-1620151371851.png

 

Key points to remember during the device setup are to make sure you note down the IP address of the Azure Percept and setup your ssh username and password so you can ssh into the Azure Percept from your host machine. During the setup, you can create a new Azure IoT hub on the cloud or you can use an existing Azure IoT hub that you may already have in your Azure subscription.

 

Step 2: Ensure good cloud connectivity (uplink/downlink speed for videos)

 

For the package delivery monitoring AI application I am building, the Azure percept will be connecting to the cloud to upload several video clips depending on the number of detected events. Ensure that the video uplink speeds are very good. Here is a screenshot of the speed test for the Inseego 5G MiFi ® M2000 mobile hotspot from T-Mobile that I am using for my setup.

 

amitmarathe_4-1620151371883.png

 

amitmarathe_5-1620151371898.png

 

Step 3: Build an Azure IoT Central application

 

Now that the Azure Percept is fully setup and connected to the cloud, we will create a new Azure IoT Central app. Visit https://apps.azureiotcentral.com/ to start building a new Azure IoT Central application. Navigate to retail and then select the Video analytics - object and motion detection application template and create your application. When you are finished creating the application, navigate to the Administration section of the app (in the left menu) to:

  1. API Tokens menu item -> Generate a new API token and make a note of it (this will begin with SharedAccessSignature sr=)
  2. Your application menu item -> Note the App URL and APP ID
  3. Device connection menu item -> Select SAS-IoT-Devices and make a note of the Scope ID and Primary key for the device

The above information will be needed in later steps to configure the Azure Percept so that Azure Percept can securely talk to our newly created IoT central app.

 

Step 4: Download a baseline reference app from github

 

Download a reference app from github that we will use as a baseline for building our own package delivery monitoring AI application on Azure Percept. On your host machine, clone the following repo

git clone https://github.com/Azure/live-video-analytics.git

and then navigate to the ref-apps\lva-edge-iot-central-gateway folder. We will be modifying a few files in this folder.

 

amitmarathe_6-1620151371901.png

 

Step 5: Porting reference app to Azure Percept

 

The downloaded reference app is a generic LVA application and was not purpose-built for Azure Percept ARM-64 device. Hence, we need to make a few changes, such as building docker containers for ARM-64, updating the AMS graph topology file and updating deployment manifest before we can run the reference application on the Azure Percept which is an ARM-64 device running Mariner OS (based upon the Fedora Linux distribution

 

5A. Update objectGraphInstance.json

First, navigate to setup/mediaGraphs/objectGraphInstance.json file and update the rtspUrl and inferencingUrl as follows:

 

"parameters": [
   {
      "name": "rtspUrl",
      "value": "rtsp://AzurePerceptModule:8554/h264"
   },
   {
      "name": "inferencingUrl",
      "value": "http://yolov3tiny/score"
   }

 

 

This will allow the AzurePerceptModule to send the RTSP stream from the Azure Percept’s camera to the http extension module in the Azure media graph running on Azure Percept (via the LVA Edge Gateway docker container).  We will also be building a yolov3tiny object detection docker container that will provide the inference when the http extension node in the media graph calls the inferencing URL http://yolov3tiny/score

You can learn more about Azure Media Graphs here:

https://docs.microsoft.com/en-us/azure/media-services/live-video-analytics-edge/media-graph-concept

 

5B. Update state.json

Navigate to setup/state.json file and update the appKeys section with the IoT Central app information you noted down from Step 3.

 

"appKeys": {
   "iotCentralAppHost": "<IOT_CENTRAL_HOST>",
   "iotCentralAppApiToken": "<IOT_CENTRAL_API_ACCESS_TOKEN>",
   "iotCentralDeviceProvisioningKey": "<IOT_CENTRAL_DEVICE_PROVISIONING_KEY>",
   "iotCentralScopeId": "<SCOPE_ID>"

 

 

5C. Update arm64v8.dockerfile

Navigate to docker\arm64v8.dockerfile and add the following line:

ADD ./setup/state.json /data/storage/state.json

 

This will allow the LVA Edge Gateway container running on Azure Percept to connect directly and securely to IoT Central app

 

5D. Build LVA Edge Gateway docker container for the Azure Percept

Use the following commands to build the LVA Edge Gateway docker container for ARM64v8 and push it to your Azure Container Registry

 

docker build -f docker/arm64v8.Dockerfile –no-cache . -t lvaedgegateway:2.0-arm64v8
docker login -u <your_acr_name>  -p <your_acr_password> <your_acr_name>.azurecr.io
docker push <your_acr_name>.azurecr.io/lvaedgegateway:2.0-arm64v8

 

 

5E. Build YOLOv3 tiny docker container for the Azure Percept

Navigate to live-video-analytics\utilities\video-analysis\yolov3-onnx folder and use the following commands to build the Yolov3tiny docker container for ARM64v8 and push it to your Azure Container Registry

 

docker build -f yolov3-tiny.dockerfile . –no-cache -t lvaextension:http-yolov3-tiny-onnx-v1.0
docker login -u <your_acr_name>  -p <your_acr_password> <your_acr_name>.azurecr.io
docker push <your_acr_name>.azurecr.io/lvaextension:http-yolov3-tiny-onnx-v1.0

 

 

5F. Update deployment manifest with Yolov3tiny and AzurePerceptModule and update AMS account name and the LVAEdge section

Navigate to setup/deploymentManifests/deployment.arm64v8.json to add Yolov3tiny and AzurePerceptModule and update the AMS account name and the LVAEdge section as follows:

Note that the App id, App secret and tenant id in the LVA Edge section should come from your AMS account and not IoT Central.

 

"yolov3tiny": {
   "version": "1.0",
   "type": "docker",
   "status": "running",
   "restartPolicy": "always",
   "settings": {
      "image": "<your_acr_name>.azurecr.io/lvaextension:http-yolov3-tiny-onnx-v1.0",
      "createOptions": "{\"HostConfig\":{\"Privileged\":true,\"PortBindings\":{\"80/tcp\":[{\"HostPort\":\"8080\"}]}}}"
   }
},
"AzurePerceptModule": {
   "version": "1.0",
   "type": "docker",
   "status": "running",
   "restartPolicy": "always",
   "settings": {
      "image": "unifiededgescenarios.azurecr.io/azureeyemodule:0.0.2-arm64v8",
      "createOptions": "{\"Cmd\":[\"/bin/bash\",\"-c\",\"./app/inference -s=720p\"],\"ExposedPorts\":{\"8554/tcp\":{}},\"Name\":\"/rtspserver\",\"HostConfig\":{\"Binds\":[\"/dev/bus/usb:/dev/bus/usb\"],\"Privileged\":true,\"PortBindings\":{\"8554/tcp\":[{\"HostPort\":\"8554\"}]}}}"
   }
},
"LvaEdgeGatewayModule": {
   "settings": {
      "image": "<your_acr_name>.azurecr.io/lvaedgegateway:2.6-arm64v8",
      "createOptions": "{\"HostConfig\":{\"PortBindings\":{\"9070/tcp\":[{\"HostPort\":\"9070\"}]},\"Binds\":[\"/data/storage:/data/storage\",\"/data/media:/data/media/\"]}}"
   },
   "type": "docker",
   "env": {
      "lvaEdgeModuleId": {
      "value": "lvaEdge"
   },
   "amsAccountName": {
      "value": "<your_ams_account_name>"
   },
   "lvaEdge": {
   "properties.desired": {
      "applicationDataDirectory": "/var/lib/azuremediaservices",
      "azureMediaServicesArmId": "/subscriptions/<your_Azure_sub_id>/resourceGroups/<your_resource_group_name>/providers/microsoft.media/mediaservices/<your_ams_account_name",
      "aadEndpoint": "https://login.microsoftonline.com",
      "aadTenantId": "<your_tenant_id>",
      "aadServicePrincipalAppId": "<your_APP_ID>",
      "aadServicePrincipalSecret": "<your_app_secret>”
      "aadResourceId": "https://management.core.windows.net/",
      "armEndpoint": "https://management.azure.com/"
   }
}

 

 

Step 6: Create device template in IoT central and upload deployment manifest

 

In your IoT Central application, navigate to Device Templates, and select the LVA Edge Gateway device template. Select Version to create a new template called LVA Edge Gateway v2 and then select Create.  Click on “replace manifest” and upload the deployment manifest file setup/deploymentManifests/deployment.arm64v8.json that we updated in the previous step.  Finally, publish the device template.

 

amitmarathe_7-1620151371914.png

 

Step 7: Create new IoT device using the device template

 

Navigate to the devices page on the IoT Central app and create a new IoT edge gateway device using the LVA Edge Gateway template we just created in the previous step.

 

amitmarathe_8-1620151371932.png

 

To obtain the device credentials, on the Devices page, select your device. Select Connect.  On the Device connection page, make a note of the ID Scope, the Device ID, and the device Primary Key. You will use these values later for provisioning the Azure Percept (Note: make sure the connection method is set to Shared access signature).

 

Step 8: Provision the Azure Percept

 

SSH into Azure Percept and update the provisioning script.

 

sudo yum install nano
sudo nano /etc/iotedge/config.yaml

 

 

Add the following section to config.yaml

 

# DPS symmetric key provisioning configuration provisioning:
  source: "dps"
  global_endpoint: "https://global.azure-devices-provisioning.net"
  scope_id: "{scope_id}"
  attestation:
    method: "symmetric_key"
    registration_id: "{registration_id}"
    symmetric_key: "{symmetric_key}"

 

 

Update scope_id, registration_id (this is the device id) and symmetric_key with the IoT Central app information you noted down in the previous step.

Finally, reboot the Azure Percept and then ssh into it to make sure the following six docker containers are running:

amitmarathe_9-1620151371939.png

 

Step 9: Add camera, manage camera settings and start LVA processing

 

Now that we have created the IoT edge gateway device, we need to add camera as a downstream device. In IoT central, go to your device page and select “Commands” and add camera by providing a camera name, camera id and the RTSP URL and select Run.

 

amitmarathe_10-1620151371947.png

 

 

On your Azure Percept, you can confirm that the LVA Edge Gateway module received the request to add camera by checking the docker logs:

 

sudo docker logs -f LvaEdgeGatewayModule 

 

 

Navigate to the newly created camera device and select the “manage” tab to modify the camera settings as shown below:

 

amitmarathe_11-1620151371964.png

 

You can see that I have added “person” and “truck” as detection classes with a minimum confidence threshold of 50%.  You can select your own object classes here (object class can be any of the 91 object classes that are supported by the COCO dataset on which our YOLOv3 model was trained).

Finally, navigate to the commands tab of the camera page and click on Run to Start LVA Processing. 

 

amitmarathe_12-1620151371975.png

 

This will start the AMS graph instance on the Azure Percept.  Azure Percept will now start sending AI inference events (in our case a person or a truck detection event) to IoT central (via IoT hub message sink) and the video clips (capturing the person or truck event detections) to your AMS account (AMS sink).

 

Step 10: View charts and event videos on the camera device dashboard

 

Navigate to the camera device and select the dashboard tab.  Whenever the camera sees a truck or a person, the YOLOv3 detection model will send the corresponding AI inference events with the detection class and confidence % to IoT central.  The charts on the IoT Central dashboard will update in real-time to reflect these detections.

 

amitmarathe_13-1620151371985.png

 

If you scroll further down on the dashboard, you will see a tile that shows event detections and links to corresponding AMS video streaming URL

 

amitmarathe_14-1620151371998.png

 

The IoT Central application stores the video in Azure Media Services from where you can stream it. You need a video player to play the video stored in Azure Media Services.

On your host machine, run the amp-viewer docker container that has the AMS video player.

 

docker run -it --rm -e amsAadClientId="<FROM_AZURE_PORTAL>" -e amsAadSecret="<FROM_AZURE_PORTAL>" -e amsAadTenantId="<FROM_AZURE_PORTAL>" -e amsArmAadAudience="https://management.core.windows.net" -e amsArmEndpoint="https://management.azure.com" -e amsAadEndpoint="https://login.microsoftonline.com" -e amsSubscriptionId="<FROM_AZURE_PORTAL>" -e amsResourceGroup="<FROM_AZURE_PORTAL>" -e amsAccountName="<FROM_AZURE_PORTAL>" -p 8094:8094 mcr.microsoft.com/lva-utilities/amp-viewer:1.0-amd64

 

 

Once the AMP viewer docker container is running on your host machine, clicking on any of the streaming video URLs will bring up a short clip of the video that was captured for the corresponding event.

 

Here are a couple of video clips that were captured by my Azure Percept and sent to AMS when it detected a person or a truck in the scene. The first video shows that the Azure Percept detected me as a person and the second video shows that the Azure Percept detected a FedEx truck as it zipped past the scene.  In just a few hours after unboxing the Azure Percept, I was able to set up a quick Proof of Concept of a package delivery monitoring AI application using Azure services and my Inseego 5G MiFi ® M2000 mobile hotspot!

 

amitmarathe_15-1620151372075.png

 

 

amitmarathe_16-1620151372165.png

 

 

Note: The views and opinions expressed in this article are those of the author and do not necessarily reflect an official position of Inseego Corp.

2 Comments
Occasional Visitor

WOW, I have to plan in getting one for myself.

How long does it take to learn/set it up?

Except the device, do we need to get anything else? like high speed internet?

have you tried it on other objects like Flower, Face Mask, coins....?

 

Thanks

Nik

 

Senior Member

Thanks for details explanation  :folded_hands:, please keep it coming, with different azure services 

%3CLINGO-SUB%20id%3D%22lingo-sub-2323165%22%20slang%3D%22en-US%22%3ESet%20up%20your%20own%20end-to-end%20package%20delivery%20monitoring%20AI%20application%20on%20the%20edge%20with%20Azure%20Percept%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2323165%22%20slang%3D%22en-US%22%3E%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_0-1620151371798.png%22%20style%3D%22width%3A%20847px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277954i0F9FE6A341319487%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amitmarathe_0-1620151371798.png%22%20alt%3D%22amitmarathe_0-1620151371798.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThrough%20my%20bedroom%20window%2C%20I%20can%20see%20the%20street%20in%20a%20typical%20suburban%20residential%20neighborhood.%26nbsp%3B%20It%20is%20a%20relatively%20quiet%20street%20with%20mostly%20cars%20passing%20by%20occasionally%2C%20but%20due%20to%20increase%20in%20package%20deliveries%2C%20there%20have%20been%20more%20trucks%20and%20delivery%20folks%20seen%20on%20the%20street%20recently.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20want%20to%20put%20a%20camera%20on%20my%20bedroom%20window%20overlooking%20the%20street%20below%20and%20build%20a%20package%20delivery%20monitoring%20AI%20application%20that%20will%20detect%20when%20a%20person%20or%20a%20truck%20is%20seen%20by%20the%20camera.%20I%20want%20the%20package%20delivery%20monitoring%20AI%20application%20to%20show%20me%20these%20event%20detections%20in%20a%20video%20analytics%20dashboard%20that%20is%20updated%20in%20real-time.%20I%20also%20want%20to%20be%20able%20to%20view%20a%20short%20video%20clip%20of%20the%20detected%20event.%3C%2FP%3E%0A%3CP%3EHere%20are%20some%20details%20about%20the%20project%20using%20an%20Azure%20Percept%20DevKit.%3C%2FP%3E%0A%3CP%3EYou%20can%20adapt%20the%20project%20and%20choose%20other%20object%20classes%20to%20build%20your%20own%20AI%20application%20for%20your%20environment%20and%20scenario.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--468777964%22%20id%3D%22toc-hId--468777964%22%20id%3D%22toc-hId--468777964%22%20id%3D%22toc-hId--468777964%22%20id%3D%22toc-hId--468777964%22%20id%3D%22toc-hId--468777964%22%3EHere%E2%80%99s%20what%20you%20will%20need%20to%20get%20started%3C%2FH2%3E%0A%3CH3%20id%3D%22toc-hId-221783510%22%20id%3D%22toc-hId-221783510%22%20id%3D%22toc-hId-221783510%22%20id%3D%22toc-hId-221783510%22%20id%3D%22toc-hId-221783510%22%20id%3D%22toc-hId-221783510%22%3ESubscription%20and%20Hardware%3C%2FH3%3E%0A%3CUL%3E%0A%3CLI%3E%3CFONT%20color%3D%22%230000FF%22%3EAzure%20subscription%20(with%20full%20access%20to%20Azure%20services)%3C%2FFONT%3E%3C%2FLI%3E%0A%3CLI%3E%3CFONT%20color%3D%22%230000FF%22%3EAzure%20Percept%20DK%20(Edge%20Vision%2FAI%20device%20with%20Azure%20IoT%20Edge)%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22dk.png%22%20style%3D%22width%3A%20542px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277986i06A6EC0D7E307223%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22dk.png%22%20alt%3D%22dk.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%20lia-align-center%22%3EAzure%20Percept%20(%24349%20in%20Microsoft%20store)%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%20lia-align-center%22%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fstore%2Fbuild%2Fazure-percept%2F8v2qxmzbz9vc%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fstore%2Fbuild%2Fazure-percept%2F8v2qxmzbz9vc%3C%2FA%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%20lia-align-center%22%3EHost%3A%20NXP%20iMX8m%20processor%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%20lia-align-center%22%3EVision%20AI%3A%20Intel%20Movidius%20Myriad%20X%20(MA2085)%20vision%20processing%20unit%20(VPU)%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CFONT%20size%3D%223%22%20color%3D%22%230000FF%22%3EInseego%205G%20MiFi%20%C2%AE%20M2000%20mobile%20hotspot%20(fast%20and%20reliable%20cloud%20connection%20for%20uploading%20videos)%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%223_mifi-m2000-angle.png%22%20style%3D%22width%3A%20785px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277987iDF59F002A1E49D92%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%223_mifi-m2000-angle.png%22%20alt%3D%223_mifi-m2000-angle.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3ERadio%3A%20Qualcomm%20%C2%AE%20Snapdragon%20%E2%84%A2%20X55%20modem%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3ECarrier%2Fplan%3A%20T-Mobile%205G%20Magenta%20plan%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CA%20href%3D%22https%3A%2F%2Fwww.t-mobile.com%2Ftablet%2Finseego-5g-mifi-m2000%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwww.t-mobile.com%2Ftablet%2Finseego-5g-mifi-m2000%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1585670953%22%20id%3D%22toc-hId--1585670953%22%20id%3D%22toc-hId--1585670953%22%20id%3D%22toc-hId--1585670953%22%20id%3D%22toc-hId--1585670953%22%20id%3D%22toc-hId--1585670953%22%3EKey%20Azure%20Services%2FTechnologies%20used%3C%2FH3%3E%0A%3CUL%3E%0A%3CLI%3EAzure%20IoT%20edge%20(edgeAgent%2C%20edgeHub%20docker%20containers)%3C%2FLI%3E%0A%3CLI%3EAzure%20Live%20Video%20Analytics%20(LVA)%20on%20the%20edge%3C%2FLI%3E%0A%3CLI%3EAzure%20IoT%20Central%20LVA%20Edge%20Gateway%3C%2FLI%3E%0A%3CLI%3EAzure%20IoT%20Hub%3C%2FLI%3E%0A%3CLI%3EAzure%20IoT%20Central%3C%2FLI%3E%0A%3CLI%3EAzure%20Media%20Services%20(AMS)%3C%2FLI%3E%0A%3CLI%3EACR%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1596174057%22%20id%3D%22toc-hId--1596174057%22%20id%3D%22toc-hId--1596174057%22%20id%3D%22toc-hId--1596174057%22%20id%3D%22toc-hId--1596174057%22%20id%3D%22toc-hId--1596174057%22%3E4.%26nbsp%3B%20%26nbsp%3B%20Overall%20setup%20and%20description%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CU%3E%3CSTRONG%3EStep%201%3A%3C%2FSTRONG%3E%3C%2FU%3E%20Unbox%20and%20setup%20the%20Azure%20Percept%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20step%20should%20take%20about%205-10%20minutes%20if%20all%20goes%20well.%20Follow%20the%20setup%20instructions%20here%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-percept%2Fquickstart-percept-dk-set-up%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-percept%2Fquickstart-percept-dk-set-up%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EHere%20are%20some%20screenshots%20that%20I%20captured%20as%20I%20went%20through%20my%20Azure%20Percept%20device%20setup%20process.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_3-1620151371851.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277957i3B08C9BA5505B927%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amitmarathe_3-1620151371851.png%22%20alt%3D%22amitmarathe_3-1620151371851.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EKey%20points%20to%20remember%20during%20the%20device%20setup%20are%20to%20make%20sure%20you%20note%20down%20the%20IP%20address%20of%20the%20Azure%20Percept%20and%20setup%20your%20ssh%20username%20and%20password%20so%20you%20can%20ssh%20into%20the%20Azure%20Percept%20from%20your%20host%20machine.%20During%20the%20setup%2C%20you%20can%20create%20a%20new%20Azure%20IoT%20hub%20on%20the%20cloud%20or%20you%20can%20use%20an%20existing%20Azure%20IoT%20hub%20that%20you%20may%20already%20have%20in%20your%20Azure%20subscription.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CU%3E%3CSTRONG%3EStep%202%3A%3C%2FSTRONG%3E%3C%2FU%3E%26nbsp%3BEnsure%20good%20cloud%20connectivity%20(uplink%2Fdownlink%20speed%20for%20videos)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20the%20package%20delivery%20monitoring%20AI%20application%20I%20am%20building%2C%20the%20Azure%20percept%20will%20be%20connecting%20to%20the%20cloud%20to%20upload%20several%20video%20clips%20depending%20on%20the%20number%20of%20detected%20events.%20Ensure%20that%20the%20video%20uplink%20speeds%20are%20very%20good.%20Here%20is%20a%20screenshot%20of%20the%20speed%20test%20for%20the%20Inseego%205G%20MiFi%20%C2%AE%20M2000%20mobile%20hotspot%20from%20T-Mobile%20that%20I%20am%20using%20for%20my%20setup.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_4-1620151371883.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277956iEB07E7A07B85FBFA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22amitmarathe_4-1620151371883.png%22%20alt%3D%22amitmarathe_4-1620151371883.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_5-1620151371898.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277955iB75E5429EE960EB2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22amitmarathe_5-1620151371898.png%22%20alt%3D%22amitmarathe_5-1620151371898.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CU%3E%3CSTRONG%3EStep%203%3A%3C%2FSTRONG%3E%3C%2FU%3E%20Build%20an%20Azure%20IoT%20Central%20application%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%20that%20the%20Azure%20Percept%20is%20fully%20setup%20and%20connected%20to%20the%20cloud%2C%20we%20will%20create%20a%20new%20Azure%20IoT%20Central%20app.%20Visit%20%3CA%20href%3D%22https%3A%2F%2Fapps.azureiotcentral.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fapps.azureiotcentral.com%2F%3C%2FA%3E%20to%20start%20building%20a%20new%20Azure%20IoT%20Central%20application.%20Navigate%20to%20%3CSTRONG%3Eretail%3C%2FSTRONG%3E%20and%20then%20select%20the%20%3CSTRONG%3EVideo%20analytics%20-%20object%20and%20motion%20detection%3C%2FSTRONG%3E%20application%20template%20and%20create%20your%20application.%20When%20you%20are%20finished%20creating%20the%20application%2C%20navigate%20to%20the%20Administration%20section%20of%20the%20app%20(in%20the%20left%20menu)%20to%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EAPI%20Tokens%20menu%20item%20-%26gt%3B%20Generate%20a%20new%20API%20token%20and%20make%20a%20note%20of%20it%20(this%20will%20begin%20with%20SharedAccessSignature%20sr%3D)%3C%2FLI%3E%0A%3CLI%3EYour%20application%20menu%20item%20-%26gt%3B%20Note%20the%20App%20URL%20and%20APP%20ID%3C%2FLI%3E%0A%3CLI%3EDevice%20connection%20menu%20item%20-%26gt%3B%20Select%20SAS-IoT-Devices%20and%20make%20a%20note%20of%20the%20Scope%20ID%20and%20Primary%20key%20for%20the%20device%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EThe%20above%20information%20will%20be%20needed%20in%20later%20steps%20to%20configure%20the%20Azure%20Percept%20so%20that%20Azure%20Percept%20can%20securely%20talk%20to%20our%20newly%20created%20IoT%20central%20app.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CU%3E%3CSTRONG%3EStep%204%3A%3C%2FSTRONG%3E%3C%2FU%3E%20Download%20a%20baseline%20reference%20app%20from%20github%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDownload%20a%20reference%20app%20from%20github%20that%20we%20will%20use%20as%20a%20baseline%20for%20building%20our%20own%20package%20delivery%20monitoring%20AI%20application%20on%20Azure%20Percept.%20On%20your%20host%20machine%2C%20clone%20the%20following%20repo%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3Egit%20clone%20%3C%2FSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Flive-video-analytics.git%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSTRONG%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2Flive-video-analytics.git%3C%2FSTRONG%3E%3C%2FA%3E%3C%2FP%3E%0A%3CP%3Eand%20then%20navigate%20to%20the%20%3CSTRONG%3Eref-apps%5Clva-edge-iot-central-gateway%3C%2FSTRONG%3E%20folder.%20We%20will%20be%20modifying%20a%20few%20files%20in%20this%20folder.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_6-1620151371901.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277958i38EBECF6AF7C6B39%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22amitmarathe_6-1620151371901.png%22%20alt%3D%22amitmarathe_6-1620151371901.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CU%3E%3CSTRONG%3EStep%205%3A%3C%2FSTRONG%3E%3C%2FU%3E%20Porting%20reference%20app%20to%20Azure%20Percept%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20downloaded%20reference%20app%20is%20a%20generic%20LVA%20application%20and%20was%20not%20purpose-built%20for%20Azure%20Percept%20ARM-64%20device.%20Hence%2C%20we%20need%20to%20make%20a%20few%20changes%2C%20such%20as%20building%20docker%20containers%20for%20ARM-64%2C%20updating%20the%20AMS%20graph%20topology%20file%20and%20updating%20deployment%20manifest%20before%20we%20can%20run%20the%20reference%20application%20on%20the%20Azure%20Percept%20which%20is%20an%20ARM-64%20device%20running%20Mariner%20OS%20(based%20upon%20the%20Fedora%20Linux%20distribution%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CSTRONG%3E5A.%3C%2FSTRONG%3E%20Update%20objectGraphInstance.json%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EFirst%2C%20navigate%20to%20setup%2FmediaGraphs%2FobjectGraphInstance.json%20file%20and%20update%20the%20rtspUrl%20and%20inferencingUrl%20as%20follows%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-json%22%3E%3CCODE%3E%22parameters%22%3A%26nbsp%3B%5B%0A%20%20%20%7B%0A%20%20%20%20%20%20%22name%22%3A%26nbsp%3B%22rtspUrl%22%2C%0A%20%20%20%20%20%20%22value%22%3A%26nbsp%3B%22rtsp%3A%2F%2FAzurePerceptModule%3A8554%2Fh264%22%0A%20%20%20%7D%2C%0A%20%20%20%7B%0A%20%20%20%20%20%20%22name%22%3A%26nbsp%3B%22inferencingUrl%22%2C%0A%20%20%20%20%20%20%22value%22%3A%26nbsp%3B%22http%3A%2F%2Fyolov3tiny%2Fscore%22%0A%20%20%20%7D%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20will%20allow%20the%20AzurePerceptModule%20to%20send%20the%20RTSP%20stream%20from%20the%20Azure%20Percept%E2%80%99s%20camera%20to%20the%20http%20extension%20module%20in%20the%20Azure%20media%20graph%20running%20on%20Azure%20Percept%20(via%20the%20LVA%20Edge%20Gateway%20docker%20container).%26nbsp%3B%20We%20will%20also%20be%20building%20a%20yolov3tiny%20object%20detection%20docker%20container%20that%20will%20provide%20the%20inference%20when%20the%20http%20extension%20node%20in%20the%20media%20graph%20calls%20the%20inferencing%20URL%20http%3A%2F%2Fyolov3tiny%2Fscore%3C%2FP%3E%0A%3CP%3EYou%20can%20learn%20more%20about%20Azure%20Media%20Graphs%20here%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmedia-services%2Flive-video-analytics-edge%2Fmedia-graph-concept%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmedia-services%2Flive-video-analytics-edge%2Fmedia-graph-concept%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CSTRONG%3E5B.%3C%2FSTRONG%3E%20Update%20state.json%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3ENavigate%20to%20setup%2Fstate.json%20file%20and%20update%20the%20appKeys%20section%20with%20the%20IoT%20Central%20app%20information%20you%20noted%20down%20from%20Step%203.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-json%22%3E%3CCODE%3E%22appKeys%22%3A%26nbsp%3B%7B%0A%20%20%20%22iotCentralAppHost%22%3A%26nbsp%3B%22%3CIOT_CENTRAL_HOST%3E%22%2C%0A%20%20%20%22iotCentralAppApiToken%22%3A%26nbsp%3B%22%3CIOT_CENTRAL_API_ACCESS_TOKEN%3E%22%2C%0A%20%20%20%22iotCentralDeviceProvisioningKey%22%3A%26nbsp%3B%22%3CIOT_CENTRAL_DEVICE_PROVISIONING_KEY%3E%22%2C%0A%20%20%20%22iotCentralScopeId%22%3A%26nbsp%3B%22%3CSCOPE_ID%3E%22%3C%2FSCOPE_ID%3E%3C%2FIOT_CENTRAL_DEVICE_PROVISIONING_KEY%3E%3C%2FIOT_CENTRAL_API_ACCESS_TOKEN%3E%3C%2FIOT_CENTRAL_HOST%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CSTRONG%3E5C.%3C%2FSTRONG%3E%20Update%20arm64v8.dockerfile%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3ENavigate%20to%20docker%5Carm64v8.dockerfile%20and%20add%20the%20following%20line%3A%3C%2FP%3E%0A%3CP%3EADD%26nbsp%3B.%2Fsetup%2Fstate.json%26nbsp%3B%2Fdata%2Fstorage%2Fstate.json%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20will%20allow%20the%20LVA%20Edge%20Gateway%20container%20running%20on%20Azure%20Percept%20to%20connect%20directly%20and%20securely%20to%20IoT%20Central%20app%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CSTRONG%3E5D.%3C%2FSTRONG%3E%20Build%20LVA%20Edge%20Gateway%20docker%20container%20for%20the%20Azure%20Percept%3C%2FFONT%3E%3C%2FP%3E%0A%3CH4%20id%3D%22toc-hId-1592403354%22%20id%3D%22toc-hId-1592403354%22%20id%3D%22toc-hId-1592403354%22%20id%3D%22toc-hId-1592403354%22%20id%3D%22toc-hId-1592403354%22%20id%3D%22toc-hId-1592403354%22%3E%3CFONT%20size%3D%222%22%3EUse%20the%20following%20commands%20to%20build%20the%20LVA%20Edge%20Gateway%20docker%20container%20for%20ARM64v8%20and%20push%20it%20to%20your%20Azure%20Container%20Registry%3C%2FFONT%3E%3C%2FH4%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Edocker%20build%20-f%20docker%2Farm64v8.Dockerfile%20%E2%80%93no-cache%20.%20-t%20lvaedgegateway%3A2.0-arm64v8%0Adocker%20login%20-u%20%3CYOUR_ACR_NAME%3E%20%26nbsp%3B-p%20%3CYOUR_ACR_PASSWORD%3E%20%3CYOUR_ACR_NAME%3E.azurecr.io%0Adocker%20push%20%3CYOUR_ACR_NAME%3E.azurecr.io%2Flvaedgegateway%3A2.0-arm64v8%3C%2FYOUR_ACR_NAME%3E%3C%2FYOUR_ACR_NAME%3E%3C%2FYOUR_ACR_PASSWORD%3E%3C%2FYOUR_ACR_NAME%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CSTRONG%3E5E.%20%3C%2FSTRONG%3EBuild%20YOLOv3%20tiny%20docker%20container%20for%20the%20Azure%20Percept%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3ENavigate%20to%20live-video-analytics%5Cutilities%5Cvideo-analysis%5Cyolov3-onnx%20folder%20and%20use%20the%20following%20commands%20to%20build%20the%20Yolov3tiny%20docker%20container%20for%20ARM64v8%20and%20push%20it%20to%20your%20Azure%20Container%20Registry%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Edocker%20build%20-f%20yolov3-tiny.dockerfile%20.%20%E2%80%93no-cache%20-t%20lvaextension%3Ahttp-yolov3-tiny-onnx-v1.0%0Adocker%20login%20-u%20%3CYOUR_ACR_NAME%3E%20%26nbsp%3B-p%20%3CYOUR_ACR_PASSWORD%3E%20%3CYOUR_ACR_NAME%3E.azurecr.io%0Adocker%20push%20%3CYOUR_ACR_NAME%3E.azurecr.io%2Flvaextension%3Ahttp-yolov3-tiny-onnx-v1.0%3C%2FYOUR_ACR_NAME%3E%3C%2FYOUR_ACR_NAME%3E%3C%2FYOUR_ACR_PASSWORD%3E%3C%2FYOUR_ACR_NAME%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CSTRONG%3E5F.%3C%2FSTRONG%3E%20Update%20deployment%20manifest%20with%20Yolov3tiny%20and%20AzurePerceptModule%20and%20update%20AMS%20account%20name%20and%20the%20LVAEdge%20section%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3ENavigate%20to%20setup%2FdeploymentManifests%2Fdeployment.arm64v8.json%20to%20add%20Yolov3tiny%20and%20AzurePerceptModule%20and%20update%20the%20AMS%20account%20name%20and%20the%20LVAEdge%20section%20as%20follows%3A%3C%2FP%3E%0A%3CP%3ENote%20that%20the%20App%20id%2C%20App%20secret%20and%20tenant%20id%20in%20the%20LVA%20Edge%20section%20should%20come%20from%20your%20AMS%20account%20and%20not%20IoT%20Central.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-json%22%3E%3CCODE%3E%22yolov3tiny%22%3A%26nbsp%3B%7B%0A%20%20%20%22version%22%3A%26nbsp%3B%221.0%22%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%22type%22%3A%26nbsp%3B%22docker%22%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%22status%22%3A%26nbsp%3B%22running%22%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%22restartPolicy%22%3A%26nbsp%3B%22always%22%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%22settings%22%3A%26nbsp%3B%7B%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%20%20%22image%22%3A%26nbsp%3B%22%3CYOUR_ACR_NAME%3E.azurecr.io%2Flvaextension%3Ahttp-yolov3-tiny-onnx-v1.0%22%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%20%20%22createOptions%22%3A%26nbsp%3B%22%7B%5C%22HostConfig%5C%22%3A%7B%5C%22Privileged%5C%22%3Atrue%2C%5C%22PortBindings%5C%22%3A%7B%5C%2280%2Ftcp%5C%22%3A%5B%7B%5C%22HostPort%5C%22%3A%5C%228080%5C%22%7D%5D%7D%7D%7D%22%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%0A%7D%2C%0A%22AzurePerceptModule%22%3A%26nbsp%3B%7B%0A%20%20%20%22version%22%3A%26nbsp%3B%221.0%22%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%22type%22%3A%26nbsp%3B%22docker%22%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%22status%22%3A%26nbsp%3B%22running%22%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%22restartPolicy%22%3A%26nbsp%3B%22always%22%2C%0A%20%20%20%22settings%22%3A%26nbsp%3B%7B%0A%20%20%20%20%20%20%22image%22%3A%26nbsp%3B%22unifiededgescenarios.azurecr.io%2Fazureeyemodule%3A0.0.2-arm64v8%22%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22createOptions%22%3A%26nbsp%3B%22%7B%5C%22Cmd%5C%22%3A%5B%5C%22%2Fbin%2Fbash%5C%22%2C%5C%22-c%5C%22%2C%5C%22.%2Fapp%2Finference%26nbsp%3B-s%3D720p%5C%22%5D%2C%5C%22ExposedPorts%5C%22%3A%7B%5C%228554%2Ftcp%5C%22%3A%7B%7D%7D%2C%5C%22Name%5C%22%3A%5C%22%2Frtspserver%5C%22%2C%5C%22HostConfig%5C%22%3A%7B%5C%22Binds%5C%22%3A%5B%5C%22%2Fdev%2Fbus%2Fusb%3A%2Fdev%2Fbus%2Fusb%5C%22%5D%2C%5C%22Privileged%5C%22%3Atrue%2C%5C%22PortBindings%5C%22%3A%7B%5C%228554%2Ftcp%5C%22%3A%5B%7B%5C%22HostPort%5C%22%3A%5C%228554%5C%22%7D%5D%7D%7D%7D%22%0A%20%20%20%7D%0A%7D%2C%0A%22LvaEdgeGatewayModule%22%3A%26nbsp%3B%7B%0A%20%20%20%22settings%22%3A%26nbsp%3B%7B%0A%20%20%20%20%20%20%22image%22%3A%26nbsp%3B%22%3CYOUR_ACR_NAME%3E.azurecr.io%2Flvaedgegateway%3A2.6-arm64v8%22%2C%0A%20%20%20%20%20%20%22createOptions%22%3A%26nbsp%3B%22%7B%5C%22HostConfig%5C%22%3A%7B%5C%22PortBindings%5C%22%3A%7B%5C%229070%2Ftcp%5C%22%3A%5B%7B%5C%22HostPort%5C%22%3A%5C%229070%5C%22%7D%5D%7D%2C%5C%22Binds%5C%22%3A%5B%5C%22%2Fdata%2Fstorage%3A%2Fdata%2Fstorage%5C%22%2C%5C%22%2Fdata%2Fmedia%3A%2Fdata%2Fmedia%2F%5C%22%5D%7D%7D%22%0A%20%20%20%7D%2C%0A%20%20%20%22type%22%3A%26nbsp%3B%22docker%22%2C%0A%20%20%20%22env%22%3A%26nbsp%3B%7B%0A%20%20%20%20%20%20%22lvaEdgeModuleId%22%3A%26nbsp%3B%7B%0A%20%20%20%20%20%20%22value%22%3A%26nbsp%3B%22lvaEdge%22%0A%20%20%20%7D%2C%0A%20%20%20%22amsAccountName%22%3A%26nbsp%3B%7B%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%20%20%22value%22%3A%26nbsp%3B%22%3CYOUR_AMS_ACCOUNT_NAME%3E%22%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%2C%0A%20%20%20%22lvaEdge%22%3A%26nbsp%3B%7B%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%22properties.desired%22%3A%26nbsp%3B%7B%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22applicationDataDirectory%22%3A%26nbsp%3B%22%2Fvar%2Flib%2Fazuremediaservices%22%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22azureMediaServicesArmId%22%3A%26nbsp%3B%22%2Fsubscriptions%2F%3CYOUR_AZURE_SUB_ID%3E%2FresourceGroups%2F%3CYOUR_RESOURCE_GROUP_NAME%3E%2Fproviders%2Fmicrosoft.media%2Fmediaservices%2F%3CYOUR_AMS_ACCOUNT_NAME%3E%22%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22aadServicePrincipalAppId%22%3A%26nbsp%3B%22%3CYOUR_APP_ID%3E%22%2C%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22aadServicePrincipalSecret%22%3A%26nbsp%3B%22%3CYOUR_APP_SECRET%3E%E2%80%9D%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%22aadResourceId%22%3A%26nbsp%3B%22https%3A%2F%2Fmanagement.core.windows.net%2F%22%2C%0A%20%20%20%20%20%20%22armEndpoint%22%3A%26nbsp%3B%22https%3A%2F%2Fmanagement.azure.com%2F%22%0A%20%20%20%7D%0A%7D%3C%2FYOUR_APP_SECRET%3E%3C%2FYOUR_APP_ID%3E%3C%2FYOUR_AMS_ACCOUNT_NAME%3E%3C%2FYOUR_RESOURCE_GROUP_NAME%3E%3C%2FYOUR_AZURE_SUB_ID%3E%3C%2FYOUR_AMS_ACCOUNT_NAME%3E%3C%2FYOUR_ACR_NAME%3E%3C%2FYOUR_ACR_NAME%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CU%3E%3CSTRONG%3EStep%206%3A%3C%2FSTRONG%3E%3C%2FU%3E%26nbsp%3BCreate%20device%20template%20in%20IoT%20central%20and%20upload%20deployment%20manifest%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20your%20IoT%20Central%20application%2C%20navigate%20to%20Device%20Templates%2C%20and%20select%20the%20LVA%20Edge%20Gateway%20device%20template.%20Select%20Version%20to%20create%20a%20new%20template%20called%20LVA%20Edge%20Gateway%20v2%20and%20then%20select%20Create.%20%26nbsp%3BClick%20on%20%E2%80%9Creplace%20manifest%E2%80%9D%20and%20upload%20the%20deployment%20manifest%20file%20setup%2FdeploymentManifests%2Fdeployment.arm64v8.json%20that%20we%20updated%20in%20the%20previous%20step.%26nbsp%3B%20Finally%2C%20publish%20the%20device%20template.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_7-1620151371914.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277959iF61B5BA69D20BAF1%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amitmarathe_7-1620151371914.png%22%20alt%3D%22amitmarathe_7-1620151371914.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CU%3E%3CSTRONG%3EStep%207%3A%3C%2FSTRONG%3E%3C%2FU%3E%26nbsp%3BCreate%20new%20IoT%20device%20using%20the%20device%20template%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENavigate%20to%20the%20devices%20page%20on%20the%20IoT%20Central%20app%20and%20create%20a%20new%20IoT%20edge%20gateway%20device%20using%20the%20LVA%20Edge%20Gateway%20template%20we%20just%20created%20in%20the%20previous%20step.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_8-1620151371932.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277960i356B37B0A2FE868F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amitmarathe_8-1620151371932.png%22%20alt%3D%22amitmarathe_8-1620151371932.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20obtain%20the%20device%20credentials%2C%20on%20the%20Devices%20page%2C%20select%20your%20device.%20Select%20Connect.%26nbsp%3B%20On%20the%20Device%20connection%20page%2C%20make%20a%20note%20of%20the%20ID%20Scope%2C%20the%20Device%20ID%2C%20and%20the%20device%20Primary%20Key.%20You%20will%20use%20these%20values%20later%20for%20provisioning%20the%20Azure%20Percept%20(Note%3A%20make%20sure%20the%20connection%20method%20is%20set%20to%20Shared%20access%20signature).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CU%3E%3CSTRONG%3EStep%208%3A%3C%2FSTRONG%3E%3C%2FU%3E%26nbsp%3BProvision%20the%20Azure%20Percept%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESSH%20into%20Azure%20Percept%20and%20update%20the%20provisioning%20script.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Esudo%20yum%20install%20nano%0Asudo%20nano%20%2Fetc%2Fiotedge%2Fconfig.yaml%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAdd%20the%20following%20section%20to%20config.yaml%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-yaml%22%3E%3CCODE%3E%23%20DPS%20symmetric%20key%20provisioning%20configuration%20provisioning%3A%0A%20%20source%3A%20%22dps%22%0A%26nbsp%3B%20global_endpoint%3A%20%22https%3A%2F%2Fglobal.azure-devices-provisioning.net%22%0A%26nbsp%3B%20scope_id%3A%20%22%7Bscope_id%7D%22%0A%26nbsp%3B%20attestation%3A%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20method%3A%20%22symmetric_key%22%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20registration_id%3A%20%22%7Bregistration_id%7D%22%0A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20symmetric_key%3A%20%22%7Bsymmetric_key%7D%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUpdate%20scope_id%2C%20registration_id%20(this%20is%20the%20device%20id)%20and%20symmetric_key%20with%20the%20IoT%20Central%20app%20information%20you%20noted%20down%20in%20the%20previous%20step.%3C%2FP%3E%0A%3CP%3EFinally%2C%20reboot%20the%20Azure%20Percept%20and%20then%20ssh%20into%20it%20to%20make%20sure%20the%20following%20six%20docker%20containers%20are%20running%3A%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_9-1620151371939.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277961i656C58B1C5A5D282%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amitmarathe_9-1620151371939.png%22%20alt%3D%22amitmarathe_9-1620151371939.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CU%3E%3CSTRONG%3EStep%209%3A%3C%2FSTRONG%3E%3C%2FU%3E%26nbsp%3BAdd%20camera%2C%20manage%20camera%20settings%20and%20start%20LVA%20processing%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%20that%20we%20have%20created%20the%20IoT%20edge%20gateway%20device%2C%20we%20need%20to%20add%20camera%20as%20a%20downstream%20device.%20In%20IoT%20central%2C%20go%20to%20your%20device%20page%20and%20select%20%E2%80%9CCommands%E2%80%9D%20and%20add%20camera%20by%20providing%20a%20camera%20name%2C%20camera%20id%20and%20the%20RTSP%20URL%20and%20select%20Run.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_10-1620151371947.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277962i48F62087D0AA4E2B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amitmarathe_10-1620151371947.png%22%20alt%3D%22amitmarathe_10-1620151371947.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20your%20Azure%20Percept%2C%20you%20can%20confirm%20that%20the%20LVA%20Edge%20Gateway%20module%20received%20the%20request%20to%20add%20camera%20by%20checking%20the%20docker%20logs%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Esudo%20docker%20logs%20-f%20LvaEdgeGatewayModule%26nbsp%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENavigate%20to%20the%20newly%20created%20camera%20device%20and%20select%20the%20%E2%80%9Cmanage%E2%80%9D%20tab%20to%20modify%20the%20camera%20settings%20as%20shown%20below%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_11-1620151371964.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277963i9972BBB69601E304%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amitmarathe_11-1620151371964.png%22%20alt%3D%22amitmarathe_11-1620151371964.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20see%20that%20I%20have%20added%20%E2%80%9Cperson%E2%80%9D%20and%20%E2%80%9Ctruck%E2%80%9D%20as%20detection%20classes%20with%20a%20minimum%20confidence%20threshold%20of%2050%25.%26nbsp%3B%20You%20can%20select%20your%20own%20object%20classes%20here%20(object%20class%20can%20be%20any%20of%20the%2091%20object%20classes%20that%20are%20supported%20by%20the%20COCO%20dataset%20on%20which%20our%20YOLOv3%20model%20was%20trained).%3C%2FP%3E%0A%3CP%3EFinally%2C%20navigate%20to%20the%20commands%20tab%20of%20the%20camera%20page%20and%20click%20on%20Run%20to%20Start%20LVA%20Processing.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_12-1620151371975.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277965iA0DA30C6AE2246FD%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amitmarathe_12-1620151371975.png%22%20alt%3D%22amitmarathe_12-1620151371975.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20will%20start%20the%20AMS%20graph%20instance%20on%20the%20Azure%20Percept.%26nbsp%3B%20Azure%20Percept%20will%20now%20start%20sending%20AI%20inference%20events%20(in%20our%20case%20a%20person%20or%20a%20truck%20detection%20event)%20to%20IoT%20central%20(via%20IoT%20hub%20message%20sink)%20and%20the%20video%20clips%20(capturing%20the%20person%20or%20truck%20event%20detections)%20to%20your%20AMS%20account%20(AMS%20sink).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CU%3E%3CSTRONG%3EStep%2010%3A%3C%2FSTRONG%3E%3C%2FU%3E%26nbsp%3BView%20charts%20and%20event%20videos%20on%20the%20camera%20device%20dashboard%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENavigate%20to%20the%20camera%20device%20and%20select%20the%20dashboard%20tab.%26nbsp%3B%20Whenever%20the%20camera%20sees%20a%20truck%20or%20a%20person%2C%20the%20YOLOv3%20detection%20model%20will%20send%20the%20corresponding%20AI%20inference%20events%20with%20the%20detection%20class%20and%20confidence%20%25%20to%20IoT%20central.%26nbsp%3B%20The%20charts%20on%20the%20IoT%20Central%20dashboard%20will%20update%20in%20real-time%20to%20reflect%20these%20detections.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_13-1620151371985.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277964iD0042DC342468185%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amitmarathe_13-1620151371985.png%22%20alt%3D%22amitmarathe_13-1620151371985.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20scroll%20further%20down%20on%20the%20dashboard%2C%20you%20will%20see%20a%20tile%20that%20shows%20event%20detections%20and%20links%20to%20corresponding%20AMS%20video%20streaming%20URL%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_14-1620151371998.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277966i08E775C2CA7FCC42%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amitmarathe_14-1620151371998.png%22%20alt%3D%22amitmarathe_14-1620151371998.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20IoT%20Central%20application%20stores%20the%20video%20in%20Azure%20Media%20Services%20from%20where%20you%20can%20stream%20it.%20You%20need%20a%20video%20player%20to%20play%20the%20video%20stored%20in%20Azure%20Media%20Services.%3C%2FP%3E%0A%3CP%3EOn%20your%20host%20machine%2C%20run%20the%20amp-viewer%20docker%20container%20that%20has%20the%20AMS%20video%20player.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Edocker%20run%20-it%20--rm%20-e%20amsAadClientId%3D%22%3CFROM_AZURE_PORTAL%3E%22%20-e%20amsAadSecret%3D%22%3CFROM_AZURE_PORTAL%3E%22%20-e%20amsAadTenantId%3D%22%3CFROM_AZURE_PORTAL%3E%22%20-e%20amsArmAadAudience%3D%22https%3A%2F%2Fmanagement.core.windows.net%22%20-e%20amsArmEndpoint%3D%22https%3A%2F%2Fmanagement.azure.com%22%20-e%20amsAadEndpoint%3D%22https%3A%2F%2Flogin.microsoftonline.com%22%20-e%20amsSubscriptionId%3D%22%3CFROM_AZURE_PORTAL%3E%22%20-e%20amsResourceGroup%3D%22%3CFROM_AZURE_PORTAL%3E%22%20-e%20amsAccountName%3D%22%3CFROM_AZURE_PORTAL%3E%22%20-p%208094%3A8094%20mcr.microsoft.com%2Flva-utilities%2Famp-viewer%3A1.0-amd64%3C%2FFROM_AZURE_PORTAL%3E%3C%2FFROM_AZURE_PORTAL%3E%3C%2FFROM_AZURE_PORTAL%3E%3C%2FFROM_AZURE_PORTAL%3E%3C%2FFROM_AZURE_PORTAL%3E%3C%2FFROM_AZURE_PORTAL%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20the%20AMP%20viewer%20docker%20container%20is%20running%20on%20your%20host%20machine%2C%20clicking%20on%20any%20of%20the%20streaming%20video%20URLs%20will%20bring%20up%20a%20short%20clip%20of%20the%20video%20that%20was%20captured%20for%20the%20corresponding%20event.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20are%20a%20couple%20of%20video%20clips%20that%20were%20captured%20by%20my%20Azure%20Percept%20and%20sent%20to%20AMS%20when%20it%20detected%20a%20person%20or%20a%20truck%20in%20the%20scene.%20The%20first%20video%20shows%20that%20the%20Azure%20Percept%20detected%20me%20as%20a%20person%20and%20the%20second%20video%20shows%20that%20the%20Azure%20Percept%20detected%20a%20FedEx%20truck%20as%20it%20zipped%20past%20the%20scene.%26nbsp%3B%20In%20just%20a%20few%20hours%20after%20unboxing%20the%20Azure%20Percept%2C%20I%20was%20able%20to%20set%20up%20a%20quick%20Proof%20of%20Concept%20of%20a%20package%20delivery%20monitoring%20AI%20application%20using%20Azure%20services%20and%20my%20Inseego%205G%20MiFi%20%C2%AE%20M2000%20mobile%20hotspot!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_15-1620151372075.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277968i6CBB0FE78791FAA8%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amitmarathe_15-1620151372075.png%22%20alt%3D%22amitmarathe_15-1620151372075.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20align%3D%22center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22amitmarathe_16-1620151372165.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277969iA17098FDD3F629CC%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22amitmarathe_16-1620151372165.png%22%20alt%3D%22amitmarathe_16-1620151372165.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CFONT%20size%3D%221%202%203%204%205%206%207%22%3ENote%3A%20The%20views%20and%20opinions%20expressed%20in%20this%20article%20are%20those%20of%20the%20author%20and%20do%20not%20necessarily%20reflect%20an%20official%20position%20of%20Inseego%20Corp.%3C%2FFONT%3E%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2323165%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20DIY%20package%20delivery%20monitoring%20solution%20built%20with%20the%20Azure%20Percept%20DK%2C%20is%20a%20nice%20showcase%20of%20how%20easy%20and%20convenient%20it%20is%20to%20build%20a%20prototype%20for%20an%20end-to-end%20video%20AI%20application%20on%20the%20edge%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22truck.jpg%22%20style%3D%22width%3A%20624px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F278558iC34967E759F79582%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22truck.jpg%22%20alt%3D%22truck.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2323165%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20IoT%20Edge%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Percept%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIntelligent%20Edge%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2338388%22%20slang%3D%22en-US%22%3ERe%3A%20Set%20up%20your%20own%20end-to-end%20package%20delivery%20monitoring%20AI%20application%20on%20the%20edge%20with%20Azure%20Per%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2338388%22%20slang%3D%22en-US%22%3E%3CP%3EWOW%2C%20I%20have%20to%20plan%20in%20getting%20one%20for%20myself.%3C%2FP%3E%3CP%3EHow%20long%20does%20it%20take%20to%20learn%2Fset%20it%20up%3F%3C%2FP%3E%3CP%3EExcept%20the%20device%2C%20do%20we%20need%20to%20get%20anything%20else%3F%20like%20high%20speed%20internet%3F%3C%2FP%3E%3CP%3Ehave%20you%20tried%20it%20on%20other%20objects%20like%20Flower%2C%20Face%20Mask%2C%20coins....%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3ENik%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2338540%22%20slang%3D%22en-US%22%3ERe%3A%20Set%20up%20your%20own%20end-to-end%20package%20delivery%20monitoring%20AI%20application%20on%20the%20edge%20with%20Azure%20Per%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2338540%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20details%20explanation%20%26nbsp%3B%3Afolded_hands%3A%2C%20please%20keep%20it%20coming%2C%20with%20different%20azure%20services%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎May 05 2021 03:26 PM