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/azure-video-indexer/observed-people-featured-clothing.md
+25-28Lines changed: 25 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
title: Enable featured clothing of an observed person
3
3
description: When indexing a video using Azure AI Video Indexer advanced video settings, you can view the featured clothing of an observed person.
4
4
ms.topic: how-to
5
-
ms.date: 10/10/2022
5
+
ms.date: 08/14/2023
6
6
ms.author: juliako
7
7
---
8
8
9
9
# Enable featured clothing of an observed person (preview)
10
10
11
-
When indexing a video using Azure AI Video Indexer advanced video settings, you can view the featured clothing of an observed person. The insight provides information of key items worn by individuals within a video and the timestamp in which the clothing appears. This allows high-quality in-video contextual advertising, where relevant clothing ads are matched with the specific time within the video in which they are viewed.
11
+
When indexing a video using Azure AI Video Indexer advanced video settings, you can view the featured clothing of an observed person. The insight provides moments within the video where key people are prominently featured and clearly visible, including the coordinates of the people, timestamp, and the frame of the shot. This insight allows high-quality in-video contextual advertising, where relevant clothing ads are matched with the specific time within the video in which they're viewed.
12
12
13
13
This article discusses how to view the featured clothing insight and how the featured clothing images are ranked.
14
14
@@ -20,14 +20,14 @@ You can view the following short video that discusses how to view and use the fe
20
20
21
21
## Viewing featured clothing
22
22
23
-
The featured clothing insight is available when indexing your file by choosing the Advanced option -> Advanced video or Advanced video + audio preset (under Video + audio indexing). Standard indexing will not include this insight.
23
+
The featured clothing insight is available when indexing your file by choosing the Advanced option -> Advanced video or Advanced video + audio preset (under Video + audio indexing). Standard indexing doesn't include this insight.
24
24
25
25
:::image type="content" source="./media/detected-clothing/index-video.png" alt-text="This screenshot represents an indexing video option.":::
26
26
27
-
The featured clothing images are ranked based on some of the following factors: key moments of the video, general emotions from text or audio. The `id` property indicates the ranking index. For example, `"id": 1` signifies the most important featured clothing.
27
+
The featured clothing images are ranked based on some of the following factors: key moments of the video, duration the person appears, text-based emotions, and audio events. The insights privates the highest ranking frame per scene, which enables you to produce contextual advertisements per scene throughout the video. The JSON file is ranked by the sequence of scenes in the video, with each scene having the top rated frame as the result.
28
28
29
29
> [!NOTE]
30
-
> The featured clothing currently can only be viewed from the artifact file.
30
+
> The featured clothing insight can only be viewed from the artifact file, and the insight is not in the Azure AI Video Indexer website.
31
31
32
32
1. In the right-upper corner, select to download the artifact zip file: **Download** -> **Artifact (ZIP)**
33
33
1. Open `featuredclothing.zip`.
@@ -42,40 +42,37 @@ The .zip file contains two objects:
42
42
-`timestamp` – corresponding to the frameIndex.
43
43
-`opBoundingBox` – bounding box of the person.
44
44
-`faceBoundingBox` – bounding box of the person's face, if detected.
45
-
-`fileName` – where the best frame of the clothing is saved.
45
+
-`fileName` – where the best frame of the clothing is saved.
46
+
-`sceneID` - the scene where the scene appears.
46
47
47
-
An example of the featured clothing with `"id": 1`.
48
+
An example of the featured clothing with `"sceneID": 1`.
48
49
49
-
```
50
+
```json
50
51
"instances": [
51
52
{
52
-
"confidence": 0.98,
53
-
"faceBoundingBox": {
54
-
"x": 0.50158,
55
-
"y": 0.10508,
56
-
"width": 0.13589,
57
-
"height": 0.45372
58
-
},
59
-
"fileName": "frame_12147.jpg",
60
-
"frameIndex": 12147,
61
-
"id": 1,
62
-
"opBoundingBox": {
63
-
"x": 0.34141,
64
-
"y": 0.16667,
65
-
"width": 0.28125,
66
-
"height": 0.82083
67
-
},
68
-
"timestamp": "00:08:26.6311250"
69
-
},
53
+
"confidence": 0.07,
54
+
"faceBoundingBox": {},
55
+
"fileName": "frame_100.jpg",
56
+
"frameIndex": 100,
57
+
"opBoundingBox": {
58
+
"x": 0.09062,
59
+
"y": 0.4,
60
+
"width": 0.11302,
61
+
"height": 0.59722
62
+
},
63
+
"timestamp": "0:00:04",
64
+
"personName": "Observed Person #1",
65
+
"sceneId": 1
66
+
}
70
67
```
71
68
- `featuredclothing.frames.map` – this folder contains images of the best frames that the featured clothing appeared in, corresponding to the `fileName` property in each instance in `featuredclothing.map.json`.
72
69
73
70
## Limitations and assumptions
74
71
75
72
It's important to note the limitations of featured clothing to avoid or mitigate the effects of false detections of images with low quality or low relevancy.
76
73
77
-
- Pre-condition for the featured clothing is that the person wearing the clothes can be found in the observed people insight.
78
-
- If the face of a person wearing the featured clothing wasn't detected, the results won't include the faces bounding box.
74
+
- Precondition for the featured clothing is that the person wearing the clothes can be found in the observed people insight.
75
+
- If the face of a person wearing the featured clothing isn't detected, the results don't include the faces bounding box.
79
76
- If a person in a video wears more than one outfit, the algorithm selects its best outfit as a single featured clothing image.
80
77
- When posed, the tracks are optimized to handle observed people who most often appear on the front.
81
78
- Wrong detections may occur when people are overlapping.
0 commit comments