Skip to content

Commit e070174

Browse files
authored
Merge pull request #248256 from mhopkins-msft/mh-avi-observed-people
Clothing insight updates
2 parents 2f1ef2d + ccc4e15 commit e070174

File tree

1 file changed

+25
-28
lines changed

1 file changed

+25
-28
lines changed

articles/azure-video-indexer/observed-people-featured-clothing.md

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
title: Enable featured clothing of an observed person
33
description: When indexing a video using Azure AI Video Indexer advanced video settings, you can view the featured clothing of an observed person.
44
ms.topic: how-to
5-
ms.date: 10/10/2022
5+
ms.date: 08/14/2023
66
ms.author: juliako
77
---
88

99
# Enable featured clothing of an observed person (preview)
1010

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.
1212

1313
This article discusses how to view the featured clothing insight and how the featured clothing images are ranked.
1414

@@ -20,14 +20,14 @@ You can view the following short video that discusses how to view and use the fe
2020
2121
## Viewing featured clothing
2222

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.
2424

2525
:::image type="content" source="./media/detected-clothing/index-video.png" alt-text="This screenshot represents an indexing video option.":::
2626

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.
2828

2929
> [!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.
3131
3232
1. In the right-upper corner, select to download the artifact zip file: **Download** -> **Artifact (ZIP)**
3333
1. Open `featuredclothing.zip`.
@@ -42,40 +42,37 @@ The .zip file contains two objects:
4242
- `timestamp` – corresponding to the frameIndex.
4343
- `opBoundingBox` – bounding box of the person.
4444
- `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.
4647

47-
An example of the featured clothing with `"id": 1`.
48+
An example of the featured clothing with `"sceneID": 1`.
4849

49-
```
50+
```json
5051
"instances": [
5152
{
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+
}
7067
```
7168
- `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`.
7269

7370
## Limitations and assumptions
7471

7572
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. 
7673

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.
7976
- If a person in a video wears more than one outfit, the algorithm selects its best outfit as a single featured clothing image.
8077
- When posed, the tracks are optimized to handle observed people who most often appear on the front.
8178
- Wrong detections may occur when people are overlapping.

0 commit comments

Comments
 (0)