D435i draw a box of interest in the video stream
I am a beginner of a realsense camera, I would like to ask how to draw a box of interest in the video stream and keep it displayed. I know the way of ordinary camera, if you can give me some methods about realsenseD435i, I will be very grateful, thank you
-
Drawing a 'bounding box' can typically be done with the OpenCV vision software, which the RealSense SDK is fully compatible with. The SDK has a couple of example programs that use OpenCV to do this.
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/opencv/dnn
https://github.com/twMr7/rscvdnn
A simpler example of creating a bounding box with OpenCV can be found here:
If you wanted to draw a three-dimensional bounding box, that is a bit more complicated.
https://github.com/IntelRealSense/librealsense/issues/3868#issuecomment-487654994
Please sign in to leave a comment.
Comments
1 comment