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/ai-services/custom-vision-service/logo-detector-mobile.md
+10-13Lines changed: 10 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@ author: PatrickFarley
7
7
manager: nitinme
8
8
ms.service: azure-ai-custom-vision
9
9
ms.topic: tutorial
10
-
ms.date: 07/04/2023
10
+
ms.date: 06/01/2024
11
11
ms.author: pafarley
12
12
ms.devlang: csharp
13
13
ms.custom: devx-track-csharp
14
14
---
15
15
16
16
# Tutorial: Recognize Azure service logos in camera pictures
17
17
18
-
In this tutorial, you'll explore a sample app that uses Custom Vision as part of a larger scenario. The AI Visual Provision app, a Xamarin.Forms application for mobile platforms, analyzes photos of Azure service logos and then deploys those services to the user's Azure account. Here you'll learn how it uses Custom Vision in coordination with other components to deliver a useful end-to-end application. You can run the whole app scenario for yourself, or you can complete only the Custom Vision part of the setup and explore how the app uses it.
18
+
In this tutorial, explore a sample app that uses Custom Vision as part of a larger scenario. The AI Visual Provision app, a Xamarin.Forms application for mobile platforms, analyzes photos of Azure service logos and then deploys those services to the user's Azure account. Here you'll learn how it uses Custom Vision in coordination with other components to deliver a useful end-to-end application. You can run the whole app scenario for yourself, or you can complete only the Custom Vision part of the setup and explore how the app uses it.
19
19
20
20
This tutorial shows you how to:
21
21
@@ -31,7 +31,9 @@ If you don't have an Azure subscription, create a [free account](https://azure.m
31
31
-[Visual Studio 2017 or later](https://www.visualstudio.com/downloads/)
32
32
- The Xamarin workload for Visual Studio (see [Installing Xamarin](/xamarin/cross-platform/get-started/installation/windows))
33
33
- An iOS or Android emulator for Visual Studio
34
-
- The [Azure CLI](/cli/azure/install-azure-cli-windows) (optional)
34
+
> [!NOTE]
35
+
> You will need a macOS device to run an iOS emulator.
36
+
- (Optional) The [Azure CLI](/cli/azure/install-azure-cli-windows)
35
37
36
38
## Get the source code
37
39
@@ -87,9 +89,9 @@ To learn more about how the app handles this data, start with the **GetResources
87
89
88
90
## Add text recognition
89
91
90
-
The Custom Vision portion of the tutorial is complete. If you want to run the app, you'll need to integrate the Azure AI Vision service as well. The app uses the Azure AI Vision text recognition feature to supplement the logo detection process. An Azure logo can be recognized by its appearance *or* by the text printed near it. Unlike Custom Vision models, Azure AI Vision is pretrained to perform certain operations on images or videos.
92
+
The Custom Vision portion of the tutorial is complete. If you want to run the app, you'll need to integrate the Azure AI Vision service as well. The app uses the Azure AI Vision optical character recognition feature to supplement the logo detection process. An Azure logo can be recognized by its appearance *or* by the text printed near it. Unlike Custom Vision models, Azure AI Vision is pretrained to perform certain operations on images or videos.
91
93
92
-
Subscribe to the Azure AI Vision service to get a key and endpoint URL. For help on this step, see [How to obtain keys](../multi-service-resource.md?pivots=azportal).
94
+
Subscribe to the Azure AI Vision service to get a key and endpoint URL. For help on this step, see [Create a multi-service resource](../multi-service-resource.md?pivots=azportal).
93
95
94
96

95
97
@@ -99,7 +101,7 @@ Next, open the *Source\VisualProvision\AppSettings.cs* file and populate the `Co
99
101
100
102
## Create a service principal
101
103
102
-
The app requires an Azure service principal account to deploy services to your Azure subscription. A service principal lets you delegate specific permissions to an app using Azure role-based access control. To learn more, see the [service principals guide](/azure-stack/operator/azure-stack-create-service-principals).
104
+
The app requires an Azure service principal account to deploy the detected Azure services to your Azure subscription. A service principal lets you delegate specific permissions to an app using Azure role-based access control. To learn more, see the [service principals guide](/azure-stack/operator/azure-stack-create-service-principals).
103
105
104
106
You can create a service principal by using either Azure Cloud Shell or the Azure CLI, as shown here. To begin, sign in and select the subscription you want to use.
105
107
@@ -133,19 +135,14 @@ Take note of the `clientId` and `tenantId` values. Add them to the appropriate f
133
135
134
136
## Run the app
135
137
136
-
At this point, you've given the app access to:
137
-
138
+
Now you've given the app access to:
138
139
- A trained Custom Vision model
139
140
- The Azure AI Vision service
140
141
- A service principal account
141
142
142
143
Follow these steps to run the app:
143
144
144
-
1. In Visual Studio Solution Explorer, select either the **VisualProvision.Android** project or the **VisualProvision.iOS** project. Choose a corresponding emulator or connected mobile device from the drop-down menu on the main toolbar. Then run the app.
145
-
146
-
> [!NOTE]
147
-
> You will need a macOS device to run an iOS emulator.
148
-
145
+
1. In the Visual Studio Solution Explorer, select either the **VisualProvision.Android** project or the **VisualProvision.iOS** project. Choose a corresponding emulator or connected mobile device from the drop-down menu on the main toolbar. Then run the app.
149
146
1. On the first screen, enter your service principal client ID, tenant ID, and password. Select the **Login** button.
0 commit comments