Skip to content

Commit 263ab21

Browse files
authored
Merge pull request #188420 from nkhuyent/ngt-vision
Update article per feedbacks
2 parents e91dc17 + c9eca05 commit 263ab21

File tree

2 files changed

+38
-40
lines changed

2 files changed

+38
-40
lines changed

articles/azure-percept/create-people-counting-solution-with-azure-percept-devkit-vision.md

Lines changed: 37 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Create a people counting solution with Azure Percept DK and Azure Percept Vision
2+
title: Create a people counting solution with Azure Percept Vision
33
description: This guide will focus on detecting and counting people using the Azure Percept DK hardware, Azure IoT Hub, Azure Stream Analytics, and Power BI dashboard.
44
author: nkhuyent
55
ms.author: sbhasale
@@ -10,7 +10,7 @@ ms.custom: template-tutorial
1010
---
1111

1212

13-
# Tutorial: Create a People Counting Solution with Azure Percept DK and Azure Percept Vision
13+
# Create a people counting solution with Azure Percept Vision
1414
This guide will focus on detecting and counting people using the Azure Percept DK hardware, Azure IoT Hub, Azure Stream Analytics, and Power BI dashboard.
1515

1616
The tutorial is intended to show detailed steps on how users can create, configure, and implement the basic components of this solution. Users can easily expand the tutorial and create additional ways to visualize people counting data.
@@ -27,11 +27,11 @@ In this tutorial, you learn how to:
2727
- Create a Container Registry resource
2828
- Build and push your edge solution to Container Registry
2929
- Deploy edge solution to device
30-
- Add a Consumer group to your IoT Hub
30+
- Add a consumer group to your IoT Hub
3131
- Create a Stream Analytics Job
3232
- Create and publish a Power BI report to visualize data
3333

34-
## Solution Architecture
34+
## Solution architecture
3535
[ ![Solution Architecture](./media/create-people-counting-solution-with-azure-percept-vision-images/solution-architecture-mini.png) ](./media/create-people-counting-solution-with-azure-percept-vision-images/solution-architecture.png#lightbox)
3636

3737
- Input : Video stream from Azure Percept DK
@@ -74,7 +74,7 @@ Setting up the Azure Percept DK is the first step in the tutorial. Below are the
7474
Azure Container Registry is a managed, private Docker registry service based on the open-souce Docker Registry. Container Registries are used to manage and store your private Docker containers images and related artifacts.
7575

7676
1. Login to Azure portal https://portal.azure.com/
77-
2. To create a Container Registry, go to [Create container registry - Microsoft Azure](https://portal.azure.com/#create/Microsoft.ContainerRegistry)
77+
2. To create a Container Registry, go to [Create container registry - Microsoft Azure](https://ms.portal.azure.com/#create/Microsoft.ContainerRegistry)
7878

7979
a. Select your Azure Subscription in the `Subscription` drop-down box
8080

@@ -90,11 +90,11 @@ Azure Container Registry is a managed, private Docker registry service based on
9090

9191
g. Keep all other tab as default and click `Review + create` at the bottom of the screen. Once the validation passes, click `Create`. This will create your Container Registry.
9292

93-
![Container Registry Creation](./media/create-people-counting-solution-with-azure-percept-vision-images/container-registry.png)
93+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/container-registry.png" alt-text="Container Registry Creation.":::
9494
3. After successful resource deployment go to your container registry resource. On the left scroll panel select `Access Keys` under `Settings` and `enable` the `Admin user`
95-
![Container Registry setting](./media/create-people-counting-solution-with-azure-percept-vision-images/access-keys.png)
95+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/access-keys.png" alt-text="Container Registry access key setting.":::
9696
4. Make a note of the `Login Server`, `Username`, and `password`
97-
![Container Registry login](./media/create-people-counting-solution-with-azure-percept-vision-images/access-keys-1.png)
97+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/access-keys-1.png" alt-text="Container Registry login.":::
9898
5. Go to the git repository and `people-counting-with-azure-percept-vision` directory and rename `envtemplate` to `.env`. Open the file and fill in the following details-
9999

100100
a. CONTAINER_REGISTRY_USERNAME= your container registry Username
@@ -141,7 +141,7 @@ This section guides users on modifying the cloned people counting repo with thei
141141

142142
8. To further verify what the build and push command did, go to the Azure portal, and navigate to your container registry. In your container registry, select `Repositories` then `countmodule`
143143

144-
![select repositories](./media/create-people-counting-solution-with-azure-percept-vision-images/azure-container-registry.png)
144+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/azure-container-registry.png" alt-text="Select repositories.":::
145145

146146

147147
## Step 3: Deploy edge solution to device
@@ -161,64 +161,65 @@ Step 3 will guide users on creating and deploying a manifest to the Azure Percep
161161

162162
![view the count module](./media/create-people-counting-solution-with-azure-percept-vision-images/module-run.png)
163163

164-
5. Go to [Azure Percept Studio](https://portal.azure.com/#blade/AzureEdgeDevices/Main/devices) and on the left panel, select Devices, then select your Azure Percept device
164+
5. Go to [Azure Percept Studio](https://ms.portal.azure.com/#blade/AzureEdgeDevices/Main/devices) and on the left panel, select Devices, then select your Azure Percept device
165165

166-
![select devices](./media/create-people-counting-solution-with-azure-percept-vision-images/devices.png)
166+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/devices.png" alt-text="Select devices.":::
167167

168168
6. Ensure that your device is `Connected`. Click on `Vision`
169169

170-
![check for connected](./media/create-people-counting-solution-with-azure-percept-vision-images/vision.png)
170+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/vision.png" alt-text="check for device connected.":::
171171

172172
7. Click `View your device stream `
173173

174-
![View your device stream](./media/create-people-counting-solution-with-azure-percept-vision-images/device-stream.png)
174+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/device-stream.png" alt-text="View your device stream.":::
175175

176176
8. The previous step will deploy modules to your device. In the `Notifications` tab click `View Stream`. This will open a new tab in your browser, please verify that you see the video stream. If you point the camera module to a person then you will see the person detection with bounding box
177177

178-
![verify the video stream](./media/create-people-counting-solution-with-azure-percept-vision-images/stream.png)
178+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/stream.png" alt-text="Verify the video stream.":::
179179

180180
9. After verifying the video stream and bounding boxes, please close the web stream browser tab.
181181

182182
10. To ensure the Count Module is setup correctly, in the Azure portal go to your IoT Hub. On the left panel under `Device management `select `IoT Edge`
183183

184-
![select iot edge](./media/create-people-counting-solution-with-azure-percept-vision-images/iot-edge.png)
184+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/iot-edge.png" alt-text="Select IoT edge.":::
185+
185186

186187
11. From the IoT device list click on your Azure Percept DK device
187188

188-
![Azure Percept DK device](./media/create-people-counting-solution-with-azure-percept-vision-images/device.png)
189+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/device.png" alt-text="Azure Percept DK device.":::
189190

190191
12. Scroll down to check if all deployed modules are in `running` status
191192

192-
![check the running status](./media/create-people-counting-solution-with-azure-percept-vision-images/running.png)
193+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/running.png" alt-text="Check the running status.":::
193194

194195
13. Click `Troubleshoot`
195196

196-
![chose troubleshoot](./media/create-people-counting-solution-with-azure-percept-vision-images/troubleshoot.png)
197+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/troubleshoot.png" alt-text="Choose troubleshoot.":::
197198

198199
14. From the drop-down list select `CountModule`
199200

200-
![view count module](./media/create-people-counting-solution-with-azure-percept-vision-images/dropdown.png)
201+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/dropdown.png" alt-text="View count module.":::
201202

202203
15. Ensure you see `People_Count` logs as follows-
203204

204-
![check the box](./media/create-people-counting-solution-with-azure-percept-vision-images/logs.png)
205+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/logs.png" alt-text="Check the box.":::
205206

206207

207-
## Step 4: Add a Consumer group to your IoT Hub
208-
Consumer groups provide independent views into the event stream that enable apps and Azure services to independently consume data. This consumer group will be used by the Stream Analytics Job we will create in Step 5.
208+
## Step 4: Add a consumer group to your IoT Hub
209+
Consumer Groups provide independent views into the event stream that enable apps and Azure services to independently consume data. This consumer group will be used by the Stream Analytics Job we will create in Step 5.
209210

210211
1. In the [Azure portal](https://portal.azure.com), go to your IoT hub which is connected to your Azure Percept DK.
211212

212-
2. On the left pane, select `Hub settings > Built-in endpoints`. Enter a name for your new consumer group in the text box under `Consumer groups`
213+
2. On the left pane, select `Hub settings > Built-in endpoints`. Enter a name for your new consumer group in the text box under `Consumer Groups`
213214

214-
![new consumer group](./media/create-people-counting-solution-with-azure-percept-vision-images/consumer-group.png)
215+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/consumer-group.png" alt-text="New consumer group.":::
215216

216217
3. Click anywhere outside the text box to save the consumer group
217218

218-
## Step 5: Create a Stream Analytics Job
219+
## Step 5: Create a Stream Analytics job
219220
Step 5 guides users through creating, configuring, and running a Stream Analytics job. Stream Analytics is a hot path to stream data from out Azure IoT Hub to a Power BI workspace in real time. We will create a query so only People Counting telemetry will be streamed. Once People Counting data is in our Power BI workspace it will be easy to render with a Power BI report.
220221

221-
1. Go to New [Stream Analytics job - Microsoft Azure](https://portal.azure.com/#create/Microsoft.StreamAnalyticsJob)
222+
1. Go to New [Stream Analytics job - Microsoft Azure](https://ms.portal.azure.com/#create/Microsoft.StreamAnalyticsJob)
222223

223224
2. Enter the following information for the job -
224225

@@ -228,7 +229,7 @@ Step 5 guides users through creating, configuring, and running a Stream Analytic
228229

229230
- `Location` - Use the same location as your resource group.
230231

231-
![resource group](./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-job.png)
232+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-job.png" alt-text="New Stream Analytics job.":::
232233

233234
3. Click `Create`
234235

@@ -237,7 +238,7 @@ Step 5 guides users through creating, configuring, and running a Stream Analytic
237238

238239
2. In the `Inputs` pane, select `Add stream input`, then select `IoT Hub` from the drop-down list.
239240

240-
![drop-down list](./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-input.png)
241+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-input.png" alt-text="Add an input.":::
241242

242243
3. On the new input pane, enter the following information -
243244

@@ -257,9 +258,9 @@ Step 5 guides users through creating, configuring, and running a Stream Analytic
257258

258259
- `Endpoint` - Select Messaging
259260

260-
Leave all other fields as default
261+
Leave all other fields as default-
261262

262-
![example view](./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-input-fields.png)
263+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-input-fields.png" alt-text="Example input fields.":::
263264

264265
4. Click `Save`
265266

@@ -278,7 +279,7 @@ Step 5 guides users through creating, configuring, and running a Stream Analytic
278279
2. Under `Job topology`, select `Outputs`
279280
3. In the `Outputs` pane, select `Add`, and then select `Power BI` from the drop-down list
280281

281-
![view of drop-down list](./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-output.png)
282+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-output.png" alt-text="Add an output.":::
282283

283284
4. Enter the following information-
284285

@@ -292,7 +293,7 @@ Step 5 guides users through creating, configuring, and running a Stream Analytic
292293

293294
e. `Authentication mode` - Leave as the default
294295

295-
![Leave as the default](./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-output-fields.png)
296+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-output-fields.png" alt-text="Power BI new output fields.":::
296297

297298
5. On the `Power BI - New output` pane, select `Authorize` and follow the prompts to sign into your Power BI account
298299

@@ -311,7 +312,7 @@ Step 5 guides users through creating, configuring, and running a Stream Analytic
311312

312313
5. The query will look as follows -
313314

314-
![The query](./media/create-people-counting-solution-with-azure-percept-vision-images/query.png)
315+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/query.png" alt-text="Displays the query.":::
315316

316317
6. Click `Save Query`
317318

@@ -320,11 +321,11 @@ Step 5 guides users through creating, configuring, and running a Stream Analytic
320321
### Run the Stream Analytics job
321322
1. In the Stream Analytics job, select `Overview`, then select `Start > Now > Start`
322323

323-
![overview](./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-start.png)
324+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-start.png" alt-text="Start the stream analytics job.":::
324325

325326
2. Once the job successfully starts, the job status changes from `Stopped` to `Running`
326327

327-
![running state](./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-running.png)
328+
:::image type="content" source="./media/create-people-counting-solution-with-azure-percept-vision-images/stream-analytics-running.png" alt-text="See running state.":::
328329

329330

330331
## Step 6: Create and publish a Power BI report to visualize data
@@ -336,7 +337,7 @@ This step will guide users on how to create a Power BI report from the People Co
336337

337338
2. Verify that you see your dataset
338339

339-
![verify dataset](./media/create-people-counting-solution-with-azure-percept-vision-images/power-bi-data-set.png)
340+
![Verify Power BI Dataset.](./media/create-people-counting-solution-with-azure-percept-vision-images/power-bi-data-set.png)
340341

341342
3. On the left scroll panel select `+ Create` and then click `Pick a published dataset`
342343

@@ -358,9 +359,6 @@ This step will guide users on how to create a Power BI report from the People Co
358359

359360
![update the graph](./media/create-people-counting-solution-with-azure-percept-vision-images/power-bi-graph-refresh.png)
360361

361-
362-
363-
364362
<!-- 6. Clean up resources
365363
Required. If resources were created during the tutorial. If no resources were created,
366364
state that there are no resources to clean up in this section.

articles/azure-percept/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
href: tutorial-no-code-speech.md
3636
- name: Advanced prototyping with Azure Percept
3737
items:
38-
- name: Create a people counting solution with Azure Percept DK and Azure Percept Vision
38+
- name: Create a people counting solution with Azure Percept Vision
3939
href: create-people-counting-solution-with-azure-percept-devkit-vision.md
4040
- name: Voice control your inventory and visualize with Power BI dashboard
4141
href: voice-control-your-inventory-then-visualize-with-power-bi-dashboard.md

0 commit comments

Comments
 (0)