# Access ROI from nvdspreprocess in python

**URL:** <https://forums.developer.nvidia.com/t/access-roi-from-nvdspreprocess-in-python/294219>\
**Category:** DeepStream SDK\
**Tags:** python\
**Created:** [May 27, 2024, 11:32am UTC](https://forums.developer.nvidia.com/t/access-roi-from-nvdspreprocess-in-python/294219 "2024-05-27T11:32:00Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![yuweiw](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/yuweiw/32/101255_2.png) [@yuweiw](https://forums.developer.nvidia.com/u/yuweiw)\
**Post date:** [June 3, 2024, 7:59am UTC](https://forums.developer.nvidia.com/t/access-roi-from-nvdspreprocess-in-python/294219/5 "2024-06-03T07:59:38Z")

</div>

Yes. If you use preprocess plugin, you refer to the `queueInputBatchPreprocessed ` function.  
About the patch, did you refer to the 2nd part of the [Dump the Inference Input](https://forums.developer.nvidia.com/t/deepstream-sdk-faq/80236/9)?

---

_[View the full topic](https://forums.developer.nvidia.com/t/access-roi-from-nvdspreprocess-in-python/294219)._
