Skip to content

Commit 1e6e0b9

Browse files
[DOCS][Metro] IBVS - tocrev 2 (open-edge-platform#1695)
1 parent 1bb8cfd commit 1e6e0b9

File tree

9 files changed

+82
-137
lines changed

9 files changed

+82
-137
lines changed

metro-ai-suite/image-based-video-search/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ The application includes a demonstration video for testing. The video loops cont
3636
![Screenshot of the Image-Based Video Search sample application interface displaying search input and matched results](./docs/user-guide/_assets/imagesearch2.png)
3737

3838
### Learn More
39+
3940
- [Get Started](./docs/user-guide/get-started.md)
40-
- [System Requirements](./docs/user-guide/system-requirements.md)
41+
- [System Requirements](./docs/user-guide/get-started/system-requirements.md)
4142
- [How It Works](./docs/user-guide/how-it-works.md)
42-
- [How to Deploy with Helm](./docs/user-guide/how-to-deploy-helm.md)
43-
- [How to Deploy with Edge Orchestrator](./docs/user-guide/how-to-deploy-with-edge-orchestrator.md)
43+
- [Deploy with Helm](./docs/user-guide/get-started/deploy-with-helm.md)
44+
- [Deploy with Edge Orchestrator](./docs/user-guide/get-started/deploy-with-edge-orchestrator.md)
4445
- [Release Notes](./docs/user-guide/release-notes.md)
4546

4647
## Important Notice

metro-ai-suite/image-based-video-search/docs/user-guide/get-started.md

Lines changed: 13 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,18 @@
11
# Get Started
22

3-
<!--
4-
**Sample Description**: Provide a brief overview of the application and its purpose.
5-
-->
63
The **Image-Based Video Search** is a sample application that demonstrates how developers can leverage edge AI technologies to solve real-world challenges. It enables efficient processing and searching of video data to identify objects of interest, providing actionable insights in real-time.
74

85
This application showcases searching through video data generated by cameras around a city to find the closest match to the user-provided image.
96

10-
<!--
11-
**What You Can Do**: Highlight the developer workflows supported by the guide.
12-
-->
137
By following this guide, you will learn how to:
148
- **Set up the sample application**: Use Docker Compose to quickly deploy the application in your environment.
159
- **Run a predefined pipeline**: Execute a sample pipeline to see real-time traffic monitoring and object detection in action.
1610
- **Modify application parameters**: Customize settings like input sources and detection thresholds to adapt the application to your specific requirements.
1711

18-
1912
## Prerequisites
20-
- Verify that your system meets the [minimum requirements](./system-requirements.md).
21-
- Install Docker: [Installation Guide](https://docs.docker.com/get-docker/).
2213

14+
- Verify that your system meets the [minimum requirements](./get-started/system-requirements.md).
15+
- Install Docker: [Installation Guide](https://docs.docker.com/get-docker/).
2316

2417
## Set up and First Use
2518

@@ -33,9 +26,6 @@ By following this guide, you will learn how to:
3326
> **Note:** The below step is required for deployment with certain pre-release images
3427
- Update `DOCKER_REGISTRY` variable in `.env` file present at `edge-ai-suites/metro-ai-suite/image-based-video-search/`. The recommended setting to use pre-release images is: `DOCKER_REGISTRY=docker.io/`
3528
Please remember to include `/` at the end.
36-
<!--
37-
a pre-step to prepare models may be needed
38-
-->
3929

4030
2. **Build from Source (Optional)**:
4131
- Run the below command to build the images from source
@@ -136,7 +126,6 @@ a pre-step to prepare models may be needed
136126
- Stream UI: You can access https stream at `https://<ip-addr>/stream` and RTSP stream at `rtsp://<ip-addr>:8554/stream`.
137127
> **Note:** Replace `<ip-addr>` with your host IP address
138128

139-
140129
7. **Run the Application**:
141130

142131
- **Analyze Stream**: Use the predefined video and click **Analyze Stream** to start processing the video stream.
@@ -300,30 +289,18 @@ a pre-step to prepare models may be needed
300289
docker compose logs
301290
```
302291

292+
## Supporting Resources
303293

304-
## Troubleshooting
305-
306-
1. **Containers Not Starting**:
307-
- Check the Docker logs for errors:
308-
```bash
309-
docker compose logs
310-
```
311-
2. **Port Conflicts**:
312-
- Update the `ports` section in the Compose file to resolve conflicts.
313-
314-
3. **ibvs-milvusdb container is unhealthy**:
315-
- Currently, milvusdb does not work with proxy servers. Make sure that the proxies `http_proxy`, `https_proxy` and `no_proxy` are set to empty string in `compose.yml` file
316-
317-
4. **Empty search results after clicking on `Search Object`**:
318-
- Make sure the models are able to detect the objects in the stream correctly
319-
- Make sure you have analysed the stream first to capture the video frames into milvus database
320-
- Make sure you are using the right frame to search the object
321-
- Increase the 'To' timestamp in the search results to accommodate the latest results
294+
- [Troubleshooting](./troubleshooting.md)
295+
- [Docker Compose Documentation](https://docs.docker.com/compose/)
322296

323-
5. **Failure to launch `ibvs-app`, `ibvs-featurematching` or `ibvs-streaming` containers**:
324-
- In case one of the above containers fails to come up, try building the image locally as mentioned in Step 2 of [Set up and First Use](#set-up-and-first-use) before bringing up the containers.
297+
<!--hide_directive
298+
:::{toctree}
299+
:hidden:
325300

326-
## Supporting Resources
327-
- [Docker Compose Documentation](https://docs.docker.com/compose/)
301+
get-started/system-requirements.md
302+
get-started/deploy-with-helm.md
303+
get-started/deploy-with-edge-orchestrator.md
328304

329-
<!-- - [Community Forum](https://community.example.com) -->
305+
:::
306+
hide_directive-->

metro-ai-suite/image-based-video-search/docs/user-guide/how-to-deploy-with-edge-orchestrator.md renamed to metro-ai-suite/image-based-video-search/docs/user-guide/get-started/deploy-with-edge-orchestrator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To deploy the **Image-Based Video Search** application with Edge Orchestrator, f
3434

3535
3. Once the deployment package has been imported into Edge Orchestrator, you can see it in the list of Web UI as shown here.
3636

37-
![Image](./_assets/ibvs-dp.png)
37+
![Image](../_assets/ibvs-dp.png)
3838

3939
See [Deployment Packages](https://docs.openedgeplatform.intel.com/edge-manage-docs/dev/user_guide/package_software/deploy_packages.html#view-deployment-packages) for more information on deployment packages.
4040

@@ -78,6 +78,6 @@ For more information on setting up a deployment, see [Set up a Deployment](https
7878

7979
1. Download the kubeconfig of the cluster of the Edge Node on which the Application has been deployed. Refer [Kubeconfig Download](https://docs.openedgeplatform.intel.com/edge-manage-docs/dev/user_guide/set_up_edge_infra/clusters/accessing_clusters.html).
8080

81-
1. Follow the steps described in the **Image-Based Video Search** [Documentation](./how-to-deploy-helm.md) on usage of the application.
81+
1. Follow the steps described in the **Image-Based Video Search** [Documentation](./deploy-with-helm.md) on usage of the application.
8282

8383
> **Note:** Skip the install the Helm chart step.

metro-ai-suite/image-based-video-search/docs/user-guide/how-to-deploy-helm.md renamed to metro-ai-suite/image-based-video-search/docs/user-guide/get-started/deploy-with-helm.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -73,33 +73,8 @@ Before You Begin, ensure the following:
7373
helm uninstall -n ibvs ibvs
7474
```
7575

76-
## Troubleshooting
77-
78-
1. **Helm Chart Not Found**:
79-
80-
- Check if the Helm repository was added:
81-
82-
```bash
83-
helm repo list
84-
```
85-
86-
1. **Pods Not Running**:
87-
88-
- Review pod logs:
89-
90-
```bash
91-
kubectl logs {{pod-name}} -n {{namespace}}
92-
```
93-
94-
1. **Service Unreachable**:
95-
96-
- Confirm the service configuration:
97-
98-
```bash
99-
kubectl get svc -n {{namespace}}
100-
```
101-
10276
## Supporting Resources
10377

78+
- [Troubleshooting Helm Deployments](../troubleshooting.md#troubleshooting-helm-deployments)
10479
- [Kubernetes Documentation](https://kubernetes.io/docs/home/)
10580
- [Helm Documentation](https://helm.sh/docs/)

metro-ai-suite/image-based-video-search/docs/user-guide/system-requirements.md renamed to metro-ai-suite/image-based-video-search/docs/user-guide/get-started/system-requirements.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ help you set up and run the application efficiently.
1313
**Hardware Platforms**
1414
- 12th Generation Intel® Core™ processor or above with Intel® HD Graphics or , or Intel® Xeon® processor
1515

16-
1716
## Minimum Requirements
1817
| **Component** | **Minimum Requirement** | **Recommended** |
1918
|---------------------|---------------------------|--------------------------|
@@ -38,4 +37,4 @@ help you set up and run the application efficiently.
3837
## Validation
3938

4039
- Ensure all dependencies are installed and configured before proceeding to
41-
[Get Started](./get-started.md).
40+
[Get Started](../get-started.md).

metro-ai-suite/image-based-video-search/docs/user-guide/how-to-use-gpu-for-inference.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
## Docker deployment
44
### Prerequisites
55

6-
Follow steps 1 and 2 mentioned in [Get Started](./get-started.md#set-up-and-first-use) guide if not already done.
6+
Follow steps 1 and 2 mentioned in [Get Started](./get-started.md#set-up-and-first-use) guide
7+
if not already done.
78

89
### Volume mount GPU config
910

10-
Comment out CPU and NPU config and uncomment the GPU config present in [`compose.yml`](https://github.com/open-edge-platform/edge-ai-suites/blob/main/metro-ai-suite/image-based-video-search/compose.yml) file
11-
under `volumes` section as shown below:
11+
Comment out CPU and NPU config and uncomment the GPU config present in [compose.yml](https://github.com/open-edge-platform/edge-ai-suites/blob/main/metro-ai-suite/image-based-video-search/compose.yml)
12+
file under `volumes` section as shown below:
1213

1314
```sh
1415
volumes:
@@ -24,7 +25,7 @@ After the above changes to docker compose file, follow from step 3 as mentioned
2425

2526
## Helm deployment
2627
### Prerequisites
27-
Follow step 1 mentioned in this [document](./how-to-deploy-helm.md#steps-to-deploy) if not already done.
28+
Follow step 1 mentioned in this [document](./get-started/deploy-with-helm.md#steps-to-deploy) if not already done.
2829

2930
### Update values.yaml
3031

@@ -49,4 +50,5 @@ dlstreamerpipelineserver:
4950

5051
### Start the application
5152

52-
After above changes to `values.yaml` file, follow from step 2 as mentioned in this [document](./how-to-deploy-helm.md#steps-to-deploy).
53+
After above changes to `values.yaml` file, follow from step 2 as mentioned in the
54+
[Helm Deployment Guide](./get-started/deploy-with-helm.md#steps-to-deploy).

metro-ai-suite/image-based-video-search/docs/user-guide/index.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Image-Based Video Search Sample Application
1+
# Image-Based Video Search
22

33
<!--hide_directive
44
<div class="component_card_widget">
@@ -11,7 +11,7 @@
1111
</div>
1212
hide_directive-->
1313

14-
Performs near real-time analysis and image-based search to detect and retrieve
14+
Image-based Video Search sample application performs near real-time analysis and image-based search to detect and retrieve
1515
objects of interest in large video datasets.
1616

1717
## Overview
@@ -30,9 +30,10 @@ quickly locate objects of interest across large video datasets.
3030

3131
## How it Works
3232

33-
The application workflow has three stages: inputs, processing, and outputs.
33+
The application workflow consists of three stages: inputs, processing, and outputs.
3434

3535
![architectural diagram](./_assets/architecture.svg)
36+
*Figure 1: Detailed Architecture of the Image-Based Video Search Application.*
3637

3738
### Inputs
3839

@@ -44,12 +45,12 @@ continuously and appears in the UI as soon as the application starts.
4445

4546
### Processing
4647

47-
- **Nginx reverse proxy server**: All interactions with user happens via Nginx server. It protects IBVS app by handling SSL/TLS encryption, filtering and validating requests and making the app directly inaccessible from external access.
48+
- **Nginx reverse proxy server**: All interactions with user happens via Nginx server. It protects the IBVS app by handling SSL/TLS encryption, filtering and validating requests, offering centralized access control and making the app directly inaccessible from external access.
4849
- **Video analysis with Deep Learning Streamer Pipeline Server and MediaMTX**:
4950
Select **Analyze Stream** to start the DL Streamer Pipeline Server pipeline.
5051
The Pipeline Server processes video through **MediaMTX**, which simulates
5152
remote video cameras and publishes live streams. The Pipeline Server extracts
52-
frames and detects objects in each frame, publishing predictions through
53+
frames from RTSP streams and detects objects in each frame, publishing predictions through
5354
**MQTT**.
5455
- **Feature extraction with Feature Matching**: DL Streamer Pipeline Server
5556
sends metadata and images through MQTT to the Feature Matching microservice.
@@ -75,7 +76,7 @@ continuously and appears in the UI as soon as the application starts.
7576

7677
## Learn More
7778
- [Get Started](./get-started.md)
78-
- [System Requirements](./system-requirements.md)
79+
- [System Requirements](./get-started/system-requirements.md)
7980
- [Release Notes](./release-notes.md)
8081
- [DL Streamer Pipeline Server](https://docs.openedgeplatform.intel.com/dev/edge-ai-libraries/dlstreamer-pipeline-server/index.html)
8182

@@ -84,9 +85,6 @@ continuously and appears in the UI as soon as the application starts.
8485
:hidden:
8586
8687
get-started
87-
system-requirements
88-
how-to-deploy-helm
89-
how-to-deploy-with-edge-orchestrator
9088
how-it-works
9189
how-to-use-gpu-for-inference
9290
troubleshooting

metro-ai-suite/image-based-video-search/docs/user-guide/release-notes.md

Lines changed: 6 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,9 @@
1-
<!--
2-
# How to Use This Template
3-
4-
1. **Purpose**:
5-
- Summarize new features, improvements, bug fixes, and known issues for each release.
6-
- Help developers quickly understand updates and adapt workflows accordingly.
7-
8-
2. **Content Customization**:
9-
- Replace placeholders (e.g., `[Version X.X.X]`, `[YYYY-MM-DD]`, `<description>`) with specific release details.
10-
- Refer to the user stories in comments to understand what information developers expect to find.
11-
12-
3. **Style Guidelines**:
13-
- Use bullet points and concise descriptions for clarity.
14-
- Organize changes by category: New Features, Improvements, Bug Fixes, and Known Issues.
15-
- Use active voice and developer-focused language.
16-
- Follow the **Microsoft Developer Writing Style Guide**.
17-
18-
4. **GitHub Copilot Can Help**:
19-
- **For Style Adherence**:
20-
- This template specifys the style guide to be followed, ask Copilot to check.
21-
- Copilot can generate suggestions in line with the specified writing style.
22-
- **To Validate Content Completeness**:
23-
- The template includes in comments the user stories and acceptance criteria to be fulfilled by its content in each section. Copilot can check if you included all required information.
24-
5. **Validation**:
25-
- Verify all details, links, and formatting before publishing.
26-
- Ensure that descriptions are accurate and actionable.
27-
28-
-->
29-
301
# Release Notes
312

3+
- [Version 1.1.0](#version-110)
4+
- [Version 1.0.1](#version-101)
5+
- [Version 1.0.0](#version-100)
6+
327
Details about the changes, improvements, and known issues in this release of the
338
application.
349

@@ -40,26 +15,15 @@ application.
4015

4116
## Version 1.0.1
4217

43-
**Release Date**: [2025-08-20]
18+
**Release Date**: 2025-08-20
4419

4520
- DL Streamer version upgraded to 2025.1.2
4621
- DL Streamer Pipeline Server version upgraded to 3.1.0
4722
- Bug fixes
4823

4924
## Version 1.0.0
5025

51-
**Release Date**: [2025-03-31]
52-
<!--
53-
**Guidelines for New Features**:
54-
1. **What to Include**:
55-
- Summarize new capabilities introduced in this release.
56-
- Highlight how these features help developers or solve common challenges.
57-
- Link to relevant guides or instructions for using the feature.
58-
2. **Example**:
59-
- **Feature**: Added multi-camera configuration support.
60-
- **Benefit**: Enables developers to monitor larger areas in real-time.
61-
- [Learn More](./how-to-customize.md)
62-
-->
26+
**Release Date**: 2025-03-31
6327

6428
- **MediaMTX**: This third-party microservice simulates remote video cameras
6529
placed in various geographical locations. The service can replay videos from

0 commit comments

Comments
 (0)