Region of interest #9715
davisalex22
started this conversation in
General
Replies: 3 comments
-
@davisalex22 I'd just crop your image before you pass it for inference. |
Beta Was this translation helpful? Give feedback.
0 replies
-
As @glenn-jocher suggested, you can crop your image and feed the cropped image to the model. Here is an example:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Another approach is to feed the entire image to the model and after detection, filter out those boxes within your ROI. I suggest this approach, because cropping image will reduce the resolution of your image feeding to the model. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I set a region of interest (ROI) on a video and only detect objects that are in that area of the ROI?
What specific lines need to be modified?
Beta Was this translation helpful? Give feedback.
All reactions