This little trick fails to work well, however, if scaling the stream before the on-screen display, …using a Tiler for example… with intermittent frames showing
Thanks @bcao, I’m also capturing/converting the object within the bounding box to a jpeg image on demand, so I really need to have the object highlighted without altering its image. I was hoping there might be a way to achieve the affect above… perhaps using open-CV or something similar.
You can use opencv to download the image, and also you can refer deepstream_image_meta_test.c.
For highlight the object, not sure if you can try above code, I think you can tune the alpha parameter to see the result.
@bcao, I have the image capture and download all working, and I have lots of working examples of shading/highlighting objects directly…
I was really looking for a solution to what I’ve accomplished with the four added rectangles… to where it looks exactly like the first picture in the post…
Highlighting an object by darkening everything else seems like a very common practice in videos… by the media when highlighting individuals in a crowd for example,
If you’re not aware of another way, then we can close this… and thanks for the suggestions…