How to create and select a Region of Interest (eg a 5 sided polygon to only analyse that area leaving the rest aside) and also to create a line (eg to perform line count etc) inside a deepstream app?
Any idea on the same along with some code snippets can help.
why the rectangle detection can’t meet your requirement?
And according to what to draw 5 sided polygon?
can you please explain how to do a rectangle-based ROI detection? I cannot find any examples, any help would be really appreciated.
I think you have to modify the nvinfer code to crop ROI (rectangle) and do some padding (for polygon) and then push to input queue.
nvinfer diagram is here: