luxonis / depthai-ros

Official ROS Driver for DepthAI Sensors.
MIT License
239 stars 173 forks source link

Launch File for OAK-1 Lite W - ROS Noetic #334

Closed David9696 closed 10 months ago

David9696 commented 1 year ago

Hi,

I just received my OAK-1 Lite W camera.

May I know which launch file should I use to have the yolo detection result being published in ROS noetic?

Thanks.

Regards,

David

Serafadam commented 1 year ago

Hi, currently to use Yolo detection you can use stereo_inertial_node launch file, or use depthai_ros_driver just need to set i_nn_config_path: depthai_ros_driver/yolo parameter, these by default use the same predownloaded sample network, if you want to change Yolo model to some other, you need to download it & change paths in respective configs/launch files.

sagarvl96 commented 11 months ago

@Serafadam what about yolov4_spatial_node? Does it have a similar implementation as stereo_inertial_node?

Serafadam commented 11 months ago

Hi, yolov4_publisher is pretty similar to stereo_inertial_node, although you should be able to run custom Yolo models on OAK-1 with depthai_ros_driver, if not, please let us know.

sagarvl96 commented 11 months ago

Hi, yolov4_publisher is pretty similar to stereo_inertial_node, although you should be able to run custom Yolo models on OAK-1 with depthai_ros_driver, if not, please let us know.

Thank you for the quick response. Should I just change the path to blob file in the i_nn_config_path: and launch the camera driver to run the custom yolo model? Or is there some other way?

Serafadam commented 10 months ago

Hi, you should edit or create new NN config file (here is the example one that can be used), i_nn_config_path is the path to that json (currently only absolute paths are supported).

Serafadam commented 10 months ago

Closing due to inactivity, please reopen if there are still questions.