# Nv OSD mask

**URL:** <https://forums.developer.nvidia.com/t/nv-osd-mask/184851>\
**Category:** DeepStream SDK\
**Tags:** python\
**Created:** [July 27, 2021, 2:30pm UTC](https://forums.developer.nvidia.com/t/nv-osd-mask/184851 "2021-07-27T14:30:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xtianhb.glb](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/xtianhb.glb/32/96974_2.png) [@xtianhb.glb](https://forums.developer.nvidia.com/u/xtianhb.glb)\
**Post date:** [July 27, 2021, 2:30pm UTC](https://forums.developer.nvidia.com/t/nv-osd-mask/184851/1 "2021-07-27T14:30:48Z")

</div>

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)**  
GPU  
**• DeepStream Version**  
5.1  
**• Issue Type( questions, new requirements, bugs)**  
Question  
**• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)**

I’m working with Deepstream 5.1 Python bindings. Have configured successfully output tensor metadata for custom post-processing of different models, and displayed with NVOsd. That works fine with rectangles, circles, text.

Now, I want to draw segmentation masks. I can’t find how to do this with Python.  
The only example available uses OpenCV and output image files.  
Is there any undocumented binding? Support in next releases?

Thanks!

---

<div class="post-metadata">

**Author:** ![bcao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/bcao/32/14043_2.png) [@bcao](https://forums.developer.nvidia.com/u/bcao)\
**Post date:** [August 2, 2021, 2:15am UTC](https://forums.developer.nvidia.com/t/nv-osd-mask/184851/3 "2021-08-02T02:15:37Z")

</div>

We will check internally and update you ASAP

---

<div class="post-metadata">

**Author:** ![bcao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/bcao/32/14043_2.png) [@bcao](https://forums.developer.nvidia.com/u/bcao)\
**Post date:** [August 9, 2021, 8:17am UTC](https://forums.developer.nvidia.com/t/nv-osd-mask/184851/4 "2021-08-09T08:17:32Z")

</div>

refer to this application for segmentation example - apps/sample\_apps/deepstream-mrcnn-test.

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:13pm UTC](https://forums.developer.nvidia.com/t/nv-osd-mask/184851/6 "2021-10-12T16:13:42Z")

</div>

Closed on October 12, 2021, 4:13pm UTC


