# Grounding Dino in Deepstream-app

**URL:** <https://forums.developer.nvidia.com/t/grounding-dino-in-deepstream-app/336692>\
**Category:** DeepStream SDK\
**Tags:** deepstream\
**Created:** [June 20, 2025, 12:54pm UTC](https://forums.developer.nvidia.com/t/grounding-dino-in-deepstream-app/336692 "2025-06-20T12:54:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![BarcaBear](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@BarcaBear](https://forums.developer.nvidia.com/u/BarcaBear)\
**Post date:** [June 20, 2025, 12:54pm UTC](https://forums.developer.nvidia.com/t/grounding-dino-in-deepstream-app/336692/1 "2025-06-20T12:54:54Z")

</div>

Is it possible to Deploy and build an engine on a Jetson device using deepstream-app and the grounding-dino model? [nv-grounding-dino Model by NVIDIA | NVIDIA NIM](https://build.nvidia.com/nvidia/nv-grounding-dino/modelcard)

I have searched and cant find any config file examples for grounding Dino.

As an example what properties are required for “grounding\_dino\_swin\_tiny\_commercial\_deployable\_v1.0”

offsets  
net-scale-factor  
output-blob-names  
parse-bbox-func-name  
custom-lib

Jetso Xavier NX  
Jetpack 4.6

Thanks.

---

<div class="post-metadata">

**Author:** ![BarcaBear](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@BarcaBear](https://forums.developer.nvidia.com/u/BarcaBear)\
**Post date:** [June 20, 2025, 3:22pm UTC](https://forums.developer.nvidia.com/t/grounding-dino-in-deepstream-app/336692/2 "2025-06-20T15:22:02Z")

</div>

I have also looked at the notebook. [tao\_tutorials/notebooks/tao\_launcher\_starter\_kit/grounding\_dino/finetune\_grounding\_dino.ipynb at main · NVIDIA/tao\_tutorials · GitHub](https://github.com/NVIDIA/tao_tutorials/blob/main/notebooks/tao_launcher_starter_kit/grounding_dino/finetune_grounding_dino.ipynb)

But it’s still not clear if this can be deployed on a Jetson device using DeepStream-app

---

<div class="post-metadata">

**Author:** ![Morganh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/morganh/32/9748_2.png) [@Morganh](https://forums.developer.nvidia.com/u/Morganh)\
**Post date:** [June 24, 2025, 9:44am UTC](https://forums.developer.nvidia.com/t/grounding-dino-in-deepstream-app/336692/5 "2025-06-24T09:44:09Z")

</div>

Hi @BarcaBear  
Please refer to the code in [tao\_deploy/nvidia\_tao\_deploy/cv/grounding\_dino/scripts/inference.py at main · NVIDIA/tao\_deploy · GitHub](https://github.com/NVIDIA/tao_deploy/blob/main/nvidia_tao_deploy/cv/grounding_dino/scripts/inference.py#L56-L59) and [tao\_deploy/nvidia\_tao\_deploy/utils/image\_batcher.py at main · NVIDIA/tao\_deploy · GitHub](https://github.com/NVIDIA/tao_deploy/blob/main/nvidia_tao_deploy/utils/image_batcher.py#L34-L52).

- **Mean:** [0.485, 0.456, 0.406]
- **Std:** [0.229, 0.224, 0.225]

In DeepStream , you may set

- **Offsets:** Use the mean values: `0.485,0.456,0.406`
- **Net Scale Factor:** Use 1/255 (i.e., `0.003921569`)

For onnx output, you can download tao onnx model from [GPU-optimized AI, Machine Learning, & HPC Software | NVIDIA NGC | NVIDIA NGC](https://catalog.ngc.nvidia.com/orgs/nvidia/teams/tao/models/grounding_dino/files?version=grounding_dino_swin_tiny_commercial_deployable_v1.0).

In [GPU-optimized AI, Machine Learning, & HPC Software | NVIDIA NGC | NVIDIA NGC](https://catalog.ngc.nvidia.com/orgs/nvidia/teams/tao/models/grounding_dino), it mentions,

#### Output

**Output Type(s):** Bounding Boxes and Confidence Scores for each detected object in the input image.  
**Output Formats:** One Dimensional (1D), Two Dimensional (2D) vectors  
**Other Properties Related to Output:**

- `pred_logits`: B x 900 (Batch Size x Number of Queries)
- `pred_boxes`: B x 900 x 4 (Batch Size x Number of Queries x Coordinates in `cxcywh` format)

---

<div class="post-metadata">

**Author:** ![BarcaBear](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@BarcaBear](https://forums.developer.nvidia.com/u/BarcaBear)\
**Post date:** [June 24, 2025, 10:55am UTC](https://forums.developer.nvidia.com/t/grounding-dino-in-deepstream-app/336692/6 "2025-06-24T10:55:58Z")

</div>

Thanks for the feedback!

I had read those posts.

I’m looking for an example pgie config file. For example [deepstream\_tao\_apps/configs/nvinfer at master · NVIDIA-AI-IOT/deepstream\_tao\_apps · GitHub](https://github.com/NVIDIA-AI-IOT/deepstream_tao_apps/tree/master/configs/nvinfer)

Can you provide information on how to create/find info on-  
output-blob-names  
parse-bbox-func-name  
custom-lib-path

This way we can build the .engine when running deepstream-app.

---

<div class="post-metadata">

**Author:** ![Fiona.Chen](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fiona.chen/32/15508_2.png) [@Fiona.Chen](https://forums.developer.nvidia.com/u/Fiona.Chen)\
**Post date:** [June 25, 2025, 7:50am UTC](https://forums.developer.nvidia.com/t/grounding-dino-in-deepstream-app/336692/7 "2025-06-25T07:50:49Z")

</div>

> [@BarcaBear](#):
>
> output-blob-names

In [Grounding DINO | NVIDIA NGC](https://catalog.ngc.nvidia.com/orgs/nvidia/teams/tao/models/grounding_dino), it mentions,

**Output Type(s):** Bounding Boxes and Confidence Scores for each detected object in the input image.  
**Output Formats:** One Dimensional (1D), Two Dimensional (2D) vectors  
**Other Properties Related to Output:**

- `pred_logits`: B x 900 (Batch Size x Number of Queries)
- `pred_boxes`: B x 900 x 4 (Batch Size x Number of Queries x Coordinates in `cxcywh` format)

So the “output-blob-names” should be “pred\_logits;pred\_boxes”.

> [@BarcaBear](#):
>
> parse-bbox-func-name  
> custom-lib-path

The postprocessing function and library should be implemented by yourself according to the definition of the output tensors. We have some samples to show how to use the APIs. [deepstream\_tao\_apps/apps/tao\_others/deepstream\_lpr\_app/nvinfer\_custom\_lpr\_parser at master · NVIDIA-AI-IOT/deepstream\_tao\_apps](https://github.com/NVIDIA-AI-IOT/deepstream_tao_apps/tree/master/apps/tao_others/deepstream_lpr_app/nvinfer_custom_lpr_parser).

---

<div class="post-metadata">

**Author:** ![Fiona.Chen](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fiona.chen/32/15508_2.png) [@Fiona.Chen](https://forums.developer.nvidia.com/u/Fiona.Chen)\
**Post date:** [July 25, 2025, 3:24am UTC](https://forums.developer.nvidia.com/t/grounding-dino-in-deepstream-app/336692/8 "2025-07-25T03:24:30Z")

</div>

**There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks**

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [August 8, 2025, 3:24am UTC](https://forums.developer.nvidia.com/t/grounding-dino-in-deepstream-app/336692/9 "2025-08-08T03:24:42Z")

</div>

Closed on August 8, 2025, 3:24am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
