# IN nvidia deepstream 6.2 docker image How I can install Opencv with GPU(cuda)

**URL:** <https://forums.developer.nvidia.com/t/in-nvidia-deepstream-6-2-docker-image-how-i-can-install-opencv-with-gpu-cuda/266383>\
**Category:** DeepStream SDK\
**Created:** [September 14, 2023, 9:04am UTC](https://forums.developer.nvidia.com/t/in-nvidia-deepstream-6-2-docker-image-how-i-can-install-opencv-with-gpu-cuda/266383 "2023-09-14T09:04:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![debjit.adak](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@debjit.adak](https://forums.developer.nvidia.com/u/debjit.adak)\
**Post date:** [September 14, 2023, 9:04am UTC](https://forums.developer.nvidia.com/t/in-nvidia-deepstream-6-2-docker-image-how-i-can-install-opencv-with-gpu-cuda/266383/1 "2023-09-14T09:04:02Z")

</div>

Please provide complete information as applicable to your setup.

\*\*• Hardware Platform ---------\> GPU  
\*\*• DeepStream Version ---------\> 6.2  
**• TensorRT Version** -------------\> 8.5  
\*\*• NVIDIA GPU Driver Version ----------------\> 535

Hi, I want to install opencv with cuda enable and all operation should be done through GPU with opencv Inside Nvidia deepstream 6.2 docker !  
Can anyone guide me

---

<div class="post-metadata">

**Author:** ![junshengy](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/junshengy/32/251332_2.png) [@junshengy](https://forums.developer.nvidia.com/u/junshengy)\
**Post date:** [September 18, 2023, 2:08am UTC](https://forums.developer.nvidia.com/t/in-nvidia-deepstream-6-2-docker-image-how-i-can-install-opencv-with-gpu-cuda/266383/3 "2023-09-18T02:08:39Z")

</div>

In fact the deepstream samples have some examples of working with opencv inside them.

For example `deepstream-infer-tensor-meta-test` in the `/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/` directory

---

<div class="post-metadata">

**Author:** ![debjit.adak](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@debjit.adak](https://forums.developer.nvidia.com/u/debjit.adak)\
**Post date:** [September 22, 2023, 8:58am UTC](https://forums.developer.nvidia.com/t/in-nvidia-deepstream-6-2-docker-image-how-i-can-install-opencv-with-gpu-cuda/266383/4 "2023-09-22T08:58:17Z")

</div>

let me check and confirm

---

<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:** [October 6, 2023, 8:59am UTC](https://forums.developer.nvidia.com/t/in-nvidia-deepstream-6-2-docker-image-how-i-can-install-opencv-with-gpu-cuda/266383/5 "2023-10-06T08:59:13Z")

</div>

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