Robotics StackExchange | Archived questions

image compression using image transport

I don't have the hardware to implement this, hence I am asking this question.

I am planning to install darknetros package on TX2 and wirelessly publish image to a laptop https://github.com/leggedrobotics/darknetros/blob/master/darknet_ros/src/YoloObjectDetector.cpp It looks like they already have image transport implemented. I am trying to use theora compressor . Are these the two steps involved?

a) add image theora to launch file https://github.com/leggedrobotics/darknet_ros/blob/master/darknet_ros/launch/darknet_ros.launch

<node pkg="darknet_ros" type="darknet_ros" name="darknet_ros" output="screen" launch-prefix="$(arg launch_prefix)">
    <param name="image_transport" value="theora" />
    <param name="weights_path"          value="$(arg yolo_weights_path)" />
    <param name="config_path"           value="$(arg yolo_config_path)" />
  </node>

b) rosrun image_view image_view image:=/detection_image compressed ( on the laptop)

Please confirm if I got this right

Asked by pnambiar on 2018-02-19 20:36:18 UTC

Comments

Answers