Please someone clarify these regarding ROI

Hello,

I’ve read a number of posts as well as documentation but I’ve still got some questions regarding ROI (and by the look of it, I’m not the only one). If someone could answer these questions that would be awesome for the community.

  1. Is NvOSD_LineParams the recommended way to add ROI to a video stream? If so, should I expect lines to show up on the video as I run the application? (Followed suggestions at https://devtalk.nvidia.com/default/topic/1063752/deepstream-sdk/i-want-to-know-how-to-use-roi-top-offset-roi-bottom-offset/ but lines are not showing up on video)

  2. After defining ROI using the above method, I’m expecting objects to only be recognised if they’re within the ROI area. Is that a correct expectation or is there additional code to be written to make this happen?

  3. What’s the difference between using NvOSD_LineParams and NvOSD_RectParams? What does NvOSD_RectParams do differently / what is it used for?

Thank you so much!

Considering this closed here - https://devtalk.nvidia.com/default/topic/1063752/deepstream-sdk/i-want-to-know-how-to-use-roi-top-offset-roi-bottom-offset/post/5391296/#5391296x