Skip to content

Commit 86b455a

Browse files
authored
Merge pull request #266041 from PatrickFarley/comvis-updates
Comvis updates
2 parents c969893 + e365d03 commit 86b455a

File tree

8 files changed

+156
-65
lines changed

8 files changed

+156
-65
lines changed

articles/ai-services/computer-vision/how-to/video-retrieval.md

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Do video retrieval using vectorization - Image Analysis 4.0
33
titleSuffix: Azure AI services
4-
description: Learn how to call the Spatial Analysis Video Retrieval APIs to vectorize video frames and search terms.
4+
description: Learn how to call the Video Retrieval APIs to vectorize video frames and search terms.
55
#services: cognitive-services
66
author: PatrickFarley
77
manager: nitinme
@@ -14,7 +14,7 @@ ms.author: pafarley
1414

1515
# Do video retrieval using vectorization (version 4.0 preview)
1616

17-
Azure AI Spatial Analysis Video Retrieval APIs are part of Azure AI Vision and enable developers to create an index, add documents (videos and images) to it, and search with natural language. Developers can define metadata schemas for each index and ingest metadata to the service to help with retrieval. Developers can also specify what features to extract from the index (vision, speech) and filter their search based on features.
17+
Azure AI Video Retrieval APIs are part of Azure AI Vision and enable developers to create an index, add documents (videos and images) to it, and search with natural language. Developers can define metadata schemas for each index and ingest metadata to the service to help with retrieval. Developers can also specify what features to extract from the index (vision, speech) and filter their search based on features.
1818

1919
## Prerequisites
2020

@@ -24,38 +24,11 @@ Azure AI Spatial Analysis Video Retrieval APIs are part of Azure AI Vision and e
2424

2525
## Input requirements
2626

27-
### Supported formats
28-
29-
| File format | Description |
30-
| ----------- | ----------- |
31-
| `asf` | ASF (Advanced / Active Streaming Format) |
32-
| `avi` | AVI (Audio Video Interleaved) |
33-
| `flv` | FLV (Flash Video) |
34-
| `matroskamm`, `webm` | Matroska / WebM |
35-
| `mov`,`mp4`,`m4a`,`3gp`,`3g2`,`mj2` | QuickTime / MOV |
36-
37-
### Supported video codecs
38-
39-
| Codec | Format |
40-
| ----------- | ----------- |
41-
| `h264` | H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 |
42-
| `h265` | H.265/HEVC |
43-
| `libvpx-vp9` | libvpx VP9 (codec vp9) |
44-
| `mpeg4` | MPEG-4 part 2 |
45-
46-
### Supported audio codecs
47-
48-
| Codec | Format |
49-
| ----------- | ----------- |
50-
| `aac` | AAC (Advanced Audio Coding) |
51-
| `mp3` | MP3 (MPEG audio layer 3) |
52-
| `pcm` | PCM (uncompressed) |
53-
| `vorbis` | Vorbis |
54-
| `wmav2` | Windows Media Audio 2 |
27+
[!INCLUDE [video-retrieval-input](../includes/video-retrieval-input.md)]
5528

5629
## Call the Video Retrieval APIs
5730

58-
To use the Spatial Analysis Video Retrieval APIs in a typical pattern, you would do the following steps:
31+
To use the Video Retrieval APIs in a typical pattern, you would do the following steps:
5932

6033
1. Create an index using **PUT - Create an index**.
6134
2. Add video documents to the index using **PUT - CreateIngestion**.
@@ -65,7 +38,7 @@ To use the Spatial Analysis Video Retrieval APIs in a typical pattern, you would
6538

6639
### Use Video Retrieval APIs for metadata-based search
6740

68-
The Spatial Analysis Video Retrieval APIs allows a user to add metadata to video files. Metadata is additional information associated with video files such as "Camera ID," "Timestamp," or "Location" that can be used to organize, filter, and search for specific videos. This example demonstrates how to create an index, add video files with associated metadata, and perform searches using different features.
41+
The Video Retrieval APIs allows a user to add metadata to video files. Metadata is additional information associated with video files such as "Camera ID," "Timestamp," or "Location" that can be used to organize, filter, and search for specific videos. This example demonstrates how to create an index, add video files with associated metadata, and perform searches using different features.
6942

7043
### Step 1: Create an Index
7144

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: "Video Retrieval input requirements"
3+
titleSuffix: "Azure AI services"
4+
#services: cognitive-services
5+
author: PatrickFarley
6+
manager: nitinme
7+
ms.service: azure-ai-vision
8+
ms.custom:
9+
ms.topic: include
10+
ms.date: 02/12/2024
11+
ms.author: pafarley
12+
---
13+
14+
15+
16+
### Supported formats
17+
18+
| File format | Description |
19+
| ----------- | ----------- |
20+
| `asf` | ASF (Advanced / Active Streaming Format) |
21+
| `avi` | AVI (Audio Video Interleaved) |
22+
| `flv` | FLV (Flash Video) |
23+
| `matroskamm`, `webm` | Matroska / WebM |
24+
| `mov`,`mp4`,`m4a`,`3gp`,`3g2`,`mj2` | QuickTime / MOV |
25+
26+
### Supported video codecs
27+
28+
| Codec | Format |
29+
| ----------- | ----------- |
30+
| `h264` | H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 |
31+
| `h265` | H.265/HEVC |
32+
| `libvpx-vp9` | libvpx VP9 (codec vp9) |
33+
| `mpeg4` | MPEG-4 part 2 |
34+
35+
### Supported audio codecs
36+
37+
| Codec | Format |
38+
| ----------- | ----------- |
39+
| `aac` | AAC (Advanced Audio Coding) |
40+
| `mp3` | MP3 (MPEG audio layer 3) |
41+
| `pcm` | PCM (uncompressed) |
42+
| `vorbis` | Vorbis |
43+
| `wmav2` | Windows Media Audio 2 |

articles/ai-services/computer-vision/index.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,20 @@ conceptualContent:
115115
footerLink:
116116
text: More
117117
url: overview-identity.md
118-
- title: Spatial Analysis
118+
- title: Video Analysis
119119
links:
120120
- itemType: overview
121-
text: About Spatial Analysis
121+
text: About Video Analysis
122122
url: intro-to-spatial-analysis-public-preview.md
123123
- itemType: quickstart
124124
text: Get started with Spatial Analysis
125125
url: spatial-analysis-container.md
126126
- itemType: how-to-guide
127127
text: Configure Spatial Analysis operations
128128
url: spatial-analysis-operations.md
129+
- itemType: how-to-guide
130+
text: Call the Video Retrieval APIs
131+
url: how-to/video-retrieval.md
129132
- itemType: concept
130133
text: Zone and line placement
131134
url: spatial-analysis-zone-line-placement.md
@@ -137,7 +140,7 @@ conceptualContent:
137140
url: spatial-analysis-logging.md
138141
footerLink:
139142
text: More
140-
url: index-spatial-analysis.yml
143+
url: intro-to-spatial-analysis-public-preview.md
141144

142145
tools:
143146
title: Software development kits (SDKs)

articles/ai-services/computer-vision/intro-to-spatial-analysis-public-preview.md

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,30 @@
11
---
2-
title: What is Spatial Analysis?
2+
title: What is Video Analysis?
33
titleSuffix: Azure AI services
4-
description: This document explains the basic concepts and features of the Azure Spatial Analysis container.
4+
description: This document explains the basic concepts and features of Azure Spatial Analysis and Video Retrieval.
55
#services: cognitive-services
66
author: PatrickFarley
77
manager: nitinme
88
ms.author: pafarley
99
ms.service: azure-ai-vision
1010
ms.topic: overview
11-
ms.date: 01/19/2024
11+
ms.date: 02/12/2024
12+
ms.custom: contperf-fy22q2, ignite-2022
1213
---
1314

14-
# What is Spatial Analysis?
15+
# What is Video Analysis?
1516

16-
You can use Azure AI Vision Spatial Analysis to detect the presence and movements of people in video. Ingest video streams from cameras, extract insights, and generate events to be used by other systems. The service can do things like count the number of people entering a space or measure compliance with face mask and social distancing guidelines. By processing video streams from physical spaces, you're able to learn how people use them and maximize the space's value to your organization.
17+
Video Analysis includes video-related features like Spatial Analysis and Video Retrieval.
18+
19+
## Spatial Analysis
20+
21+
You can use Azure AI Vision Spatial Analysis to detect the presence and movements of people in video. Ingest video streams from cameras, extract insights, and generate events to be used by other systems. The service can do things like count the number of people entering a space or measure compliance with face mask and social distancing guidelines. By processing video streams from physical spaces, you're able to learn how people use them and maximize the space's value to your organization.
1722

1823
Try out the capabilities of Spatial Analysis quickly and easily in your browser using Vision Studio.
1924

2025
> [!div class="nextstepaction"]
2126
> [Try Vision Studio](https://portal.vision.cognitive.azure.com/)
2227
23-
<!--This documentation contains the following types of articles:
24-
* The [quickstarts](./quickstarts-sdk/analyze-image-client-library.md) are step-by-step instructions that let you make calls to the service and get results in a short period of time.
25-
* The [how-to guides](./how-to/call-analyze-image.md) contain instructions for using the service in more specific or customized ways.
26-
* The [conceptual articles]() provide in-depth explanations of the service's functionality and features.
27-
* The [tutorials](./tutorials/storage-lab-tutorial.md) are longer guides that show you how to use this service as a component in broader business solutions.-->
28-
29-
## What it does
30-
Spatial Analysis ingests video then detects people in the video. After people are detected, the system tracks the people as they move around over time then generates events as people interact with regions of interest. All operations give insights from a single camera's field of view.
3128

3229
### People counting
3330
This operation counts the number of people in a specific zone over time using the PersonCount operation. It generates an independent count for each frame processed without attempting to track people across frames. This operation can be used to estimate the number of people in a space or generate an alert when a person appears.
@@ -50,23 +47,29 @@ Spatial Analysis can also be configured to detect if a person is wearing a prote
5047

5148
## Video Retrieval
5249

53-
Spatial Analysis Video Retrieval is a service that lets you create a search index, add documents (videos and images) to it, and search with natural language. Developers can define metadata schemas for each index and ingest metadata to the service to help with retrieval. Developers can also specify what features to extract from the index (vision, speech) and filter their search based on features.
50+
Video Retrieval is a service that lets you create a search index, add documents (videos and images) to it, and search with natural language. Developers can define metadata schemas for each index and ingest metadata to the service to help with retrieval. Developers can also specify what features to extract from the index (vision, speech) and filter their search based on features.
5451

55-
[Call the Video Retrieval APIs](./how-to/video-retrieval.md)
52+
> [!div class="nextstepaction"]
53+
> [Call the Video Retrieval APIs](./how-to/video-retrieval.md)
5654
5755
## Input requirements
5856

57+
#### [Spatial Analysis](#tab/sa)
58+
5959
Spatial Analysis works on videos that meet the following requirements:
6060
* The video must be in RTSP, rawvideo, MP4, FLV, or MKV format.
6161
* The video codec must be H.264, HEVC(H.265), rawvideo, VP9, or MPEG-4.
6262

63-
## Get started
63+
#### [Video Retrieval](#tab/vr)
64+
65+
[!INCLUDE [video-retrieval-input](./includes/video-retrieval-input.md)]
66+
67+
---
6468

65-
Follow the [quickstart](spatial-analysis-container.md) to set up the Spatial Analysis container and begin analyzing video.
6669

6770
## Responsible use of Spatial Analysis technology
6871

69-
To learn how to use Spatial Analysis technology responsibly, see the [transparency note](/legal/cognitive-services/computer-vision/transparency-note-spatial-analysis?context=%2fazure%2fcognitive-services%2fComputer-vision%2fcontext%2fcontext). Microsoft's transparency notes help you understand how our AI technology works and the choices system owners can make that influence system performance and behavior. They focus on the importance of thinking about the whole system including the technology, people, and environment.
72+
To learn how to use Spatial Analysis technology responsibly, see the [Transparency note](/legal/cognitive-services/computer-vision/transparency-note-spatial-analysis?context=%2fazure%2fcognitive-services%2fComputer-vision%2fcontext%2fcontext). Microsoft's transparency notes help you understand how our AI technology works and the choices system owners can make that influence system performance and behavior. They focus on the importance of thinking about the whole system including the technology, people, and environment.
7073

7174
## Next steps
7275

articles/ai-services/computer-vision/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Azure's Azure AI Vision service gives you access to advanced algorithms that pro
2727
| [Optical Character Recognition (OCR)](overview-ocr.md)|The Optical Character Recognition (OCR) service extracts text from images. You can use the new Read API to extract printed and handwritten text from photos and documents. It uses deep-learning-based models and works with text on various surfaces and backgrounds. These include business documents, invoices, receipts, posters, business cards, letters, and whiteboards. The OCR APIs support extracting printed text in [several languages](./language-support.md). Follow the [OCR quickstart](quickstarts-sdk/client-library.md) to get started.|
2828
|[Image Analysis](overview-image-analysis.md)| The Image Analysis service extracts many visual features from images, such as objects, faces, adult content, and auto-generated text descriptions. Follow the [Image Analysis quickstart](quickstarts-sdk/image-analysis-client-library-40.md) to get started.|
2929
| [Face](overview-identity.md) | The Face service provides AI algorithms that detect, recognize, and analyze human faces in images. Facial recognition software is important in many different scenarios, such as identification, touchless access control, and face blurring for privacy. Follow the [Face quickstart](quickstarts-sdk/identity-client-library.md) to get started. |
30-
| [Spatial Analysis](intro-to-spatial-analysis-public-preview.md)| The Spatial Analysis service analyzes the presence and movement of people on a video feed and produces events that other systems can respond to. Install the [Spatial Analysis container](spatial-analysis-container.md) to get started.|
30+
| [Video Analysis](intro-to-spatial-analysis-public-preview.md)| Video Analysis includes video-related features like Spatial Analysis and Video Retrieval. Spatial Analysis analyzes the presence and movement of people on a video feed and produces events that other systems can respond to. Install the [Spatial Analysis container](spatial-analysis-container.md) to get started. [Video Retrieval](/azure/ai-services/computer-vision/how-to/video-retrieval) lets you create an index of videos that you can search with natural language.|
3131

3232
## Azure AI Vision for digital asset management
3333

articles/ai-services/computer-vision/reference-video-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: PatrickFarley
77
manager: nitinme
88

99
ms.service: azure-ai-vision
10-
ms.topic: how-to
10+
ms.topic: reference
1111
ms.date: 11/15/2023
1212
ms.author: pafarley
1313
---

articles/ai-services/computer-vision/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,9 @@ items:
378378
href: https://aka.ms/azure-ai-vision-face-liveness-client-sdk-android-api-reference
379379
- name: Swift (iOS)
380380
href: https://aka.ms/azure-ai-vision-face-liveness-client-sdk-ios-api-reference
381-
- name: Spatial Analysis
381+
- name: Video Analysis
382382
items:
383-
- name: Spatial Analysis overview
383+
- name: Video Analysis overview
384384
href: intro-to-spatial-analysis-public-preview.md
385385
- name: Responsible use of AI
386386
items:

0 commit comments

Comments
 (0)