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/machine-learning/how-to-consume-web-service.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ The [azureml.core.Webservice](https://docs.microsoft.com/python/api/azureml-core
42
42
*`auth_enabled` - If key authentication is enabled, `True`; otherwise, `False`.
43
43
*`token_auth_enabled` - If token authentication is enabled, `True`; otherwise, `False`.
44
44
*`scoring_uri` - The REST API address.
45
-
*`swagger_uri` - The address of the OpenAPI specification. This URI is available if you enabled automatic schema generation. For more information, see [Deploy models with Azure Machine Learning](how-to-deploy-and-where.md#optional-define-model-web-service-schema).
45
+
*`swagger_uri` - The address of the OpenAPI specification. This URI is available if you enabled automatic schema generation. For more information, see [Deploy models with Azure Machine Learning](how-to-deploy-and-where.md).
46
46
47
47
There are a three ways to retrieve this information for deployed web services:
Copy file name to clipboardExpand all lines: articles/media-services/video-indexer/customize-brands-model-with-api.md
+16-17Lines changed: 16 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,10 @@
1
1
---
2
-
title: Use Azure Video Indexer to customize Brands model
2
+
title: Customize a Brands model with Video Indexer API
3
3
titleSuffix: Azure Media Services
4
-
description: This article demonstrates how to use Azure Video Indexer to customize Brands model.
4
+
description: Learn how to customize a Brands model with the Video Indexer API.
5
5
services: media-services
6
6
author: anikaz
7
7
manager: johndeu
8
-
9
8
ms.service: media-services
10
9
ms.subservice: video-indexer
11
10
ms.topic: article
@@ -15,23 +14,23 @@ ms.author: anzaman
15
14
16
15
# Customize a Brands model with the Video Indexer API
17
16
18
-
Video Indexer supports brand detection from speech and visual text during indexing and reindexing of video and audio content. The brand detection feature identifies mentions of products, services, and companies suggested by Bing's brands database. For example, if Microsoft is mentioned in a video or audio content or if it shows up in visual text in a video, Video Indexer detects it as a brand in the content. A custom Brands model allows you to exclude certain brands from being detected and include brands that should be part of your model that might not be in Bing's brands database.
17
+
Video Indexer supports brand detection from speech and visual text during indexing and reindexing of video and audio content. The brand detection feature identifies mentions of products, services, and companies suggested by Bing's brands database. For example, if Microsoft is mentioned in video or audio content or if it shows up in visual text in a video, Video Indexer detects it as a brand in the content. A custom Brands model allows you to exclude certain brands from being detected and include brands that should be part of your model that might not be in Bing's brands database.
19
18
20
19
For a detailed overview, see [Overview](customize-brands-model-overview.md).
21
20
22
21
You can use the Video Indexer APIs to create, use, and edit custom Brands models detected in a video, as described in this topic. You can also use the Video Indexer website, as described in [Customize Brands model using the Video Indexer website](customize-brands-model-with-api.md).
23
22
24
23
## Create a Brand
25
24
26
-
The [create a brand](https://api-portal.videoindexer.ai/docs/services/operations/operations/Create-Brand) API creates a new custom brand and adds it to the custom Brands model for the specified account.
25
+
The [create a brand](https://api-portal.videoindexer.ai/docs/services/operations/operations/Create-Brand) API creates a new custom brand and adds it to the custom Brands model for the specified account.
27
26
28
27
> [!NOTE]
29
-
> Setting **enabled** (in the body) to true puts the brand in the *Include* list for Video Indexer to detect. Setting **enabled** to false puts the brand in the *Exclude* list, so Video Indexer will not detect it.
28
+
> Setting `enabled` (in the body) to true puts the brand in the *Include* list for Video Indexer to detect. Setting `enabled` to false puts the brand in the *Exclude* list, so Video Indexer won't detect it.
30
29
31
30
Some other parameters that you can set in the body:
32
31
33
-
* The **referenceUrl** value can be any reference websites for the brand such as a link to its Wikipedia page.
34
-
* The **tags** value is a list of tags for the brand. This shows up in the brand's *Category* field in the Video Indexer website. For example, the brand "Azure" can be tagged or categorized as "Cloud".
32
+
* The `referenceUrl` value can be any reference websites for the brand, such as a link to its Wikipedia page.
33
+
* The `tags` value is a list of tags for the brand. This tag shows up in the brand's *Category* field in the Video Indexer website. For example, the brand "Azure" can be tagged or categorized as "Cloud".
35
34
36
35
### Response
37
36
@@ -57,11 +56,11 @@ The response provides information on the brand that you just created following t
57
56
58
57
## Delete a Brand
59
58
60
-
The [delete a brand](https://api-portal.videoindexer.ai/docs/services/operations/operations/Delete-Brand?) API removes a brand from the custom Brands model for the specified account. The account is specified in the **accountId** parameter. Once called successfully, the brand will no longer be in the *Include* or *Exclude* brands lists.
59
+
The [delete a brand](https://api-portal.videoindexer.ai/docs/services/operations/operations/Delete-Brand?) API removes a brand from the custom Brands model for the specified account. The account is specified in the `accountId` parameter. Once called successfully, the brand will no longer be in the *Include* or *Exclude* brands lists.
61
60
62
61
### Response
63
62
64
-
There is no returned content when the brand is deleted successfully.
63
+
There's no returned content when the brand is deleted successfully.
65
64
66
65
## Get a specific Brand
67
66
@@ -90,7 +89,7 @@ The response provides information on the brand that you searched (using brand ID
90
89
```
91
90
92
91
> [!NOTE]
93
-
> **enabled** being set to **true** signifies that the brand is in the *Include* list for Video Indexer to detect, and **enabled** being false signifies that the brand is in the *Exclude* list, so Video Indexer will not detect it.
92
+
> `enabled` being set to `true` signifies that the brand is in the *Include* list for Video Indexer to detect, and `enabled` being false signifies that the brand is in the *Exclude* list, so Video Indexer won't detect it.
94
93
95
94
## Update a specific brand
96
95
@@ -156,11 +155,11 @@ The response provides a list of all of the brands in your account and each of th
156
155
```
157
156
158
157
> [!NOTE]
159
-
> The brand named *Example* is in the *Include* list for Video Indexer to detect, and the brand named *Example2* is in the *Exclude* list, so Video Indexer will not detect it.
158
+
> The brand named *Example* is in the *Include* list for Video Indexer to detect, and the brand named *Example2* is in the *Exclude* list, so Video Indexer won't detect it.
160
159
161
160
## Get Brands model settings
162
161
163
-
The [get brands settings](https://api-portal.videoindexer.ai/docs/services/operations/operations/Get-Brands) API returns the Brands model settings in the specified account. The Brands model settings represent whether detection from the Bing brands database is enabled or not. If Bing brands are not enabled, Video Indexer will only detect brands from the custom Brands model of the specified account.
162
+
The [get brands settings](https://api-portal.videoindexer.ai/docs/services/operations/operations/Get-Brands) API returns the Brands model settings in the specified account. The Brands model settings represent whether detection from the Bing brands database is enabled or not. If Bing brands aren't enabled, Video Indexer will only detect brands from the custom Brands model of the specified account.
164
163
165
164
### Response
166
165
@@ -174,17 +173,17 @@ The response shows whether Bing brands are enabled following the format of the e
174
173
```
175
174
176
175
> [!NOTE]
177
-
> **useBuiltIn** being set to true represents that Bing brands are enabled. If *useBuiltin* is false, Bing brands are disabled. The **state** value can be ignored as it has been deprecated.
176
+
> `useBuiltIn` being set to true represents that Bing brands are enabled. If `useBuiltin` is false, Bing brands are disabled. The `state` value can be ignored because it has been deprecated.
178
177
179
178
## Update Brands model settings
180
179
181
-
The [update brands](https://api-portal.videoindexer.ai/docs/services/operations/operations/Update-Brands-Model-Settings?) updates the Brands model settings in the specified account. The Brands model settings represent whether detection from the Bing brands database is enabled or not. If Bing brands are not enabled, Video Indexer will only detect brands from the custom Brands model of the specified account.
180
+
The [update brands](https://api-portal.videoindexer.ai/docs/services/operations/operations/Update-Brands-Model-Settings?)API updates the Brands model settings in the specified account. The Brands model settings represent whether detection from the Bing brands database is enabled or not. If Bing brands aren't enabled, Video Indexer will only detect brands from the custom Brands model of the specified account.
182
181
183
-
The **useBuiltIn** flag set to true represents that Bing brands are enabled. If *useBuiltin* is false, Bing brands are disabled.
182
+
The `useBuiltIn` flag set to true means that Bing brands are enabled. If `useBuiltin` is false, Bing brands are disabled.
184
183
185
184
### Response
186
185
187
-
There is no returned content when the Brands model setting is updated successfully.
186
+
There's no returned content when the Brands model setting is updated successfully.
Copy file name to clipboardExpand all lines: articles/media-services/video-indexer/customize-brands-model-with-website.md
+46-35Lines changed: 46 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,10 @@
1
1
---
2
-
title: Use the Video Indexer website to customize Brands models - Azure
2
+
title: Customize a Brands model with the Video Indexer website
3
3
titleSuffix: Azure Media Services
4
-
description: This article shows how to customize a Brands model with the Video Indexer website.
4
+
description: Learn how to customize a Brands model with the Video Indexer website.
5
5
services: media-services
6
6
author: anikaz
7
7
manager: johndeu
8
-
9
8
ms.service: media-services
10
9
ms.subservice: video-indexer
11
10
ms.topic: article
@@ -15,75 +14,87 @@ ms.author: anzaman
15
14
16
15
# Customize a Brands model with the Video Indexer website
17
16
18
-
Video Indexer supports brand detection from speech and visual text during indexing and reindexing of video and audio content. The brand detection feature identifies mentions of products, services, and companies suggested by Bing's brands database. For example, if Microsoft is mentioned in a video or audio content or if it shows up in visual text in a video, Video Indexer detects it as a brand in the content. A custom Brands model allows you to select whether or not you Video Indexer will detect brands from the Bing brands database, exclude certain brands from being detected (essentially creating a black list of brands), and include brands that should be part of your model that might not be in Bing's brands database (essentially creating a white list of brands).
17
+
Video Indexer supports brand detection from speech and visual text during indexing and reindexing of video and audio content. The brand detection feature identifies mentions of products, services, and companies suggested by Bing's brands database. For example, if Microsoft is mentioned in video or audio content or if it shows up in visual text in a video, Video Indexer detects it as a brand in the content.
18
+
19
+
A custom Brands model allows you to:
20
+
21
+
- select if you want Video Indexer to detect brands from the Bing brands database.
22
+
- select if you want Video Indexer to exclude certain brands from being detected (essentially creating a deny list of brands).
23
+
- select if you want Video Indexer to include brands that should be part of your model that might not be in Bing's brands database (essentially creating an accept list of brands).
19
24
20
-
For a detailed overview, see [Overview](customize-brands-model-overview.md).
25
+
For a detailed overview, see this [Overview](customize-brands-model-overview.md).
21
26
22
27
You can use the Video Indexer website to create, use, and edit custom Brands models detected in a video, as described in this topic. You can also use the API, as described in [Customize Brands model using APIs](customize-brands-model-with-api.md).
23
28
24
-
## Edit the settings of the Brands model
29
+
## Edit Brands model settings
30
+
31
+
You have the option to set whether or not you want brands from the Bing brands database to be detected. To set this option, you need to edit the settings of your Brands model. Follow these steps:
32
+
33
+
1. Go to the [Video Indexer](https://www.videoindexer.ai/) website and sign in.
34
+
2. To customize a model in your account, select the **Content model customization** button on the top-right corner of the page.
25
35
26
-
You have the option to set whether or not you want brands from the Bing brands database to be detected. For this, you need to edit the settings of your Brands model.
36
+

27
37
28
-
1. Browse to the [Video Indexer](https://www.videoindexer.ai/) website and sign in.
29
-
2. To customize a model in your account, click on the **Content model customization** button on the top-right corner of the page.
4. Check the **Show brands suggested by Bing** option, if you want for Video Indexer to include brands suggested by Bing. Leave the option unchecked if you do not want Video Indexer to detect brands suggested by Bing in your content.
40
+

41
+
42
+
4. Check the **Show brands suggested by Bing** option if you want Video Indexer to detect brands suggested by Bing—leave the option unchecked if you don't.
36
43
37
44
## Include brands in the model
38
45
39
-
The **Include brands** section represents custom brands that you want for Video Indexer to detect even if they are not suggested by Bing.
46
+
The **Include brands** section represents custom brands that you want Video Indexer to detect, even if they aren't suggested by Bing.

46
53
47
54
Provide a name (required), category (optional), description (optional), and reference URL (optional).
48
55
The category field is meant to help you tag your brands. This field shows up as the brand's *tags* when using the Video Indexer APIs. For example, the brand "Azure" can be tagged or categorized as "Cloud".
49
56
50
-
The reference URL field can be any reference website for the brand such as a link to its Wikipedia page.
51
-
2. Click "Add brand" and you will see that the brand has been added to the **Include brands** list.
57
+
The reference URL field can be any reference website for the brand (like a link to its Wikipedia page).
58
+
59
+
2. Select **Add brand** and you'll see that the brand has been added to the **Include brands** list.
52
60
53
-
### Edit a brand
61
+
### Edit a brand on the include list
54
62
55
-
1.Click on the pencil icon next to the brand that you want to edit.
63
+
1.Select the pencil icon next to the brand that you want to edit.
56
64
57
65
You can update the category, description, or reference URL of a brand. You can't change the name of a brand because names of brands are unique. If you need to change the brand name, delete the entire brand (see next section) and create a new brand with the new name.
58
-
2. Click the **Update** button to update the brand with the new information.
59
66
60
-
### Delete a brand
67
+
2. Select the **Update** button to update the brand with the new information.
68
+
69
+
### Delete a brand on the include list
61
70
62
-
1.Click on the trash icon next to the brand that you want to delete.
63
-
2.Click "Delete" and the brand will no longer appear in your *Include brands* list.
71
+
1.Select the trash icon next to the brand that you want to delete.
72
+
2.Select **Delete** and the brand will no longer appear in your *Include brands* list.
64
73
65
74
## Exclude brands from the model
66
75
67
-
The **Exclude brands** section represents the brands that you want for Video Indexer not to detect.
76
+
The **Exclude brands** section represents the brands that you don't want Video Indexer to detect.
68
77
69
-
### Add a brand
78
+
### Add a brand to exclude list
70
79
71
-
1.Click "+ Add brand".
80
+
1.Select **+ Add brand.**
72
81
73
82
Provide a name (required), category (optional).
74
-
2. Click "Add brand" and you will see that the brand has been added to the *Exclude brands* list.
75
83
76
-
### Edit a Brand
84
+
2. Select **Add brand** and you'll see that the brand has been added to the *Exclude brands* list.
77
85
78
-
1. Click on the pencil icon next to the brand that you want to edit.
86
+
### Edit a brand on the exclude list
87
+
88
+
1. Select the pencil icon next to the brand that you want to edit.
79
89
80
90
You can only update the category of a brand. You can't change the name of a brand because names of brands are unique. If you need to change the brand name, delete the entire brand (see next section) and create a new brand with the new name.
81
-
2. Click the **Update** button to update the brand with the new information.
82
91
83
-
### Delete a Brand
92
+
2. Select the **Update** button to update the brand with the new information.
93
+
94
+
### Delete a brand on the exclude list
84
95
85
-
1.Click on the trash icon next to the brand that you want to delete.
86
-
2.Click "Delete" and the brand will no longer appear in your *Exclude brands* list.
96
+
1.Select the trash icon next to the brand that you want to delete.
97
+
2.Select **Delete** and the brand will no longer appear in your *Exclude brands* list.
0 commit comments