Add cross pointer on the video

asked 2019-12-03 10:59:24 -0600

VivosLespagnos gravatar image

Hi everybody,

So, I'm working with D435 Intel Realsense and ROS Melodic. I extracting some video stream on screen, and as the camera permit, i use an additional script (present in the package from the beginning : "" to measur the depth and print on new shell (Anyway if someone know's how to include the script automatically in the ".launch" ). No problem until here !

When i'm looking the script code, we can see the depth is measuring only by the middle pixel ! So now i would to display on my video stream a "pointer cross" which design this "measuring pixel". I have no idea how I'm going to be able to do ! A simple little cross, with the possibility too change the color maybe (for the fun)

I have to pass by Python code (script) or by an additionnal package from ROS ?

Thank for all, Vivien

edit retag flag offensive close merge delete


You can either use opencv or pillow to achieve this.

Choco93 gravatar imageChoco93 ( 2019-12-04 08:54:33 -0600 )edit