# How to Use an Image Fusion Model in DeepStream

**URL:** <https://forums.developer.nvidia.com/t/how-to-use-an-image-fusion-model-in-deepstream/292929>\
**Category:** DeepStream SDK\
**Created:** [May 15, 2024, 6:53am UTC](https://forums.developer.nvidia.com/t/how-to-use-an-image-fusion-model-in-deepstream/292929 "2024-05-15T06:53:15Z")\
**Posts on this page:** 1\
**Showing post:** 14

<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:** [May 27, 2024, 5:53am UTC](https://forums.developer.nvidia.com/t/how-to-use-an-image-fusion-model-in-deepstream/292929/14 "2024-05-27T05:53:38Z")

</div>

> [@sultanofsleep](#):
>
> In fact, the output content of this 1x3x640x640 is an image in RGB format. I use a pointer of type NvDsInferTensorMeta to obtain the model output data, but I am not quite clear whether NvDsInferTensorMeta can be directly converted into NVBufSurface.

No. You can’t.

Please consult the guy who provide the model to you for the details for the output tensor data content and format.

Please refer to [NVIDIA DeepStream SDK API Reference: NvBufSurface Struct Reference | NVIDIA Docs](https://docs.nvidia.com/metropolis/deepstream/dev-guide/sdk-api/structNvBufSurface.html) for the NvBufSurface. There is also sample for how to get the raw data inside NvBufSurface. [DeepStream SDK FAQ - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums](https://forums.developer.nvidia.com/t/deepstream-sdk-faq/80236/17)

---

_[View the full topic](https://forums.developer.nvidia.com/t/how-to-use-an-image-fusion-model-in-deepstream/292929)._
