ROS Package for MidasV2.2 small.
The topic names can be changed in the param.yaml
- /webcam/image_raw (sensor_msgs/Image)
The input RGB image stream
- /midas/depth_raw (sensor_msgs/Image)
The resultant image after being passed through the detector.
- start_depth (std_srv/SetBool)
Switches on or off the estimator.
Midas v2.1 small (link)
pip install numpy opencv-python tflite tensorflow
roslaunch ros_midas model.launch
rosservice call /start_depth "data: false/true"
to set the detection off/on