Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,7 @@ spec:
volumeMounts:
- name: '{{ include "image_based_video_search.fullname" . }}-dlstreamer-pipeline-server-pipeline'
mountPath: /home/pipeline-server/config.json
subPath: config.cpu.json
- name: '{{ include "image_based_video_search.fullname" . }}-dlstreamer-pipeline-server-pipeline'
mountPath: /home/pipeline-server/config.gpu.json
subPath: config.gpu.json
- name: '{{ include "image_based_video_search.fullname" . }}-dlstreamer-pipeline-server-pipeline'
mountPath: /home/pipeline-server/config.npu.json
subPath: config.npu.json
subPath: {{ .Values.dlstreamerpipelineserver.pipeline }}
- name: '{{ include "image_based_video_search.fullname" . }}-dlstreamer-pipeline-server-pipeline'
mountPath: /home/pipeline-server/person-vehicle-bike-detection-2004.json
subPath: person-vehicle-bike-detection-2004.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ a pre-step to prepare models may be needed
| ![image1](./_images/imagesearch1.png) | ![image2](./_images/imagesearch2.png) |
|--------------------------------|--------------------------------|

8. **Stop the Application**:
- Brind down the dockers along with volumes:
```bash
docker compose down -v
```

<!--

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,39 +37,41 @@ Before You Begin, ensure the following:

## Steps to Deploy

Clone the repo and go to helm directory
```bash
git clone https://github.com/open-edge-platform/edge-ai-suites.git
cd edge-ai-suites/metro-ai-suite/image-based-video-search/chart
```

```bash
# Install the Image-Based Video Search chart in the ibvs namespace
helm install ibvs . --create-namespace -n ibvs
```

Some containers in the deployment requires network access. If you are in a proxy
environment, pass the proxy environment variables as follows:

```bash
# Install the Image-Based Video Search chart in the ibvs namespace
# Replace the proxy values with the specific ones for your environment:
helm install ibvs . --create-namespace -n ibvs \
--set httpProxy="http://proxy.example.com:8080" \
--set httpsProxy="http://proxy.example.com:8080" \
--set noProxy="localhost\,127.0.0.1"
```


Now frontend should be accessible at `https://<ip-addr>:30443/`.
> Note: To access the above url remotely, replace the `<ip-addr>` with your system IP address.

Finally, the app can be uninstalled using the following command:

```bash
# And this is how you uninstall the chart:
helm uninstall -n ibvs ibvs
```
1. **Clone the repo**:
- Clone the repo and go to helm directory
```bash
git clone https://github.com/open-edge-platform/edge-ai-suites.git
cd edge-ai-suites/metro-ai-suite/image-based-video-search/chart
```

2. **Start the application**:
- Run below command in the terminal
```bash
# Install the Image-Based Video Search chart in the ibvs namespace
helm install ibvs . --create-namespace -n ibvs
```

Some containers in the deployment requires network access. If you are in a proxy
environment, pass the proxy environment variables as follows:

```bash
# Install the Image-Based Video Search chart in the ibvs namespace
# Replace the proxy values with the specific ones for your environment:
helm install ibvs . --create-namespace -n ibvs \
--set httpProxy="http://proxy.example.com:8080" \
--set httpsProxy="http://proxy.example.com:8080" \
--set noProxy="localhost\,127.0.0.1"
```

3. **Open IBVS UI**:
- Now frontend should be accessible at `https://<ip-addr>:30443/`.
> Note: To access the above url remotely, replace the `<ip-addr>` with your system IP address.

4. **Stop the application**:
- The app can be uninstalled using the following command:
```bash
helm uninstall -n ibvs ibvs
```

## Troubleshooting

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# How to use GPU for inference

## Docker deployment
### Prerequisites

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

### Volume mount GPU config

Comment out CPU and NPU config and uncomment the GPU config present in [compose](../../compose.yml) file under `volumes` section as shown below

```sh
volumes:
# - "./src/dlstreamer-pipeline-server/configs/filter-pipeline/config.cpu.json:/home/pipeline-server/config.json"
- "./src/dlstreamer-pipeline-server/configs/filter-pipeline/config.gpu.json:/home/pipeline-server/config.json"
# - "./src/dlstreamer-pipeline-server/configs/filter-pipeline/config.npu.json:/home/pipeline-server/config.json"
```

### Start and run the application

After the above changes to docker compose file, follow from step 3 as mentioned in [Get-started](./get-started.md#set-up-and-first-use) guide.

## Helm deployment
### Prerequisites
Follow step 1 mentioned in this [document](./how-to-deploy-helm.md#steps-to-deploy) if not already done.

### Update values.yaml

In [values.yaml](../../chart/values.yaml) file, change value of `pipeline` config present under `dlstreamerpipelineserver` section as shown below -

```sh
dlstreamerpipelineserver:
# key: dlstreamerpipelineserver.repository
repository:
# key: dlstreamerpipelineserver.repository.image
image: docker.io/intel/dlstreamer-pipeline-server
# key: dlstreamerpipelineserver.repository.tag
tag: 2025.2.0-ubuntu24
# key: dlstreamerpipelineserver.replicas
replicas: 1
# key: dlstreamerpipelineserver.nodeSelector
nodeSelector: {}
# key: dlstreamerpipelineserver.pipeline
pipeline: config.gpu.json #### Changed value from config.cpu.json to config.gpu.json
```

### Start the application

After above changes to `values.yaml` file, follow from step 2 as mentioned in this [document](./how-to-deploy-helm.md#steps-to-deploy).
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ release-notes
get-started
how-to-deploy-helm
how-to-deploy-with-edge-orchestrator
how-to-use-gpu-for-inference
GitHub <https://github.com/open-edge-platform/edge-ai-suites/tree/main/metro-ai-suite/image-based-video-search>
support
:::
Expand Down
Loading