Skip to content

Commit f7ae623

Browse files
committed
update cpp readme
1 parent a19ca58 commit f7ae623

1 file changed

Lines changed: 23 additions & 7 deletions

File tree

yolox_ros_cpp/README.md

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626

2727

28-
<details>
28+
<!-- <details>
2929
<summary>Execute with docker</summary>
3030
3131
@@ -117,7 +117,7 @@ docker run --rm -it \
117117
/bin/bash
118118
```
119119
120-
</details>
120+
</details> -->
121121

122122
## Clone YOLOX-ROS
123123
```bash
@@ -296,7 +296,10 @@ ros2 launch yolox_ros_cpp yolox_tflite.launch.py \
296296
``` -->
297297

298298
### Parameter
299-
#### OpenVINO example
299+
300+
<details>
301+
<summary>OpenVINO example</summary>
302+
300303
- `model_path`: ./install/yolox_ros_cpp/share/yolox_ros_cpp/weights/openvino/yolox_tiny.xml
301304
- `p6`: false
302305
- `class_labels_path`: ""
@@ -312,8 +315,12 @@ ros2 launch yolox_ros_cpp yolox_tflite.launch.py \
312315
- `publish_image_topic_name`: /yolox/image_raw
313316
- `publish_boundingbox_topic_name`: /yolox/bounding_boxes
314317

318+
</details>
319+
320+
321+
<details>
322+
<summary>TensorRT example</summary>
315323

316-
#### TensorRT example.
317324
- `model_path`: ./install/yolox_ros_cpp/share/yolox_ros_cpp/weights/tensorrt/yolox_tiny.trt
318325
- `p6`: false
319326
- `class_labels_path`: ""
@@ -327,8 +334,12 @@ ros2 launch yolox_ros_cpp yolox_tflite.launch.py \
327334
- `publish_image_topic_name`: /yolox/image_raw
328335
- `publish_boundingbox_topic_name`: /yolox/bounding_boxes
329336

337+
</details>
338+
339+
<details>
340+
<summary>ONNXRuntime example</summary>
341+
330342

331-
#### ONNXRuntime example.
332343
- `model_path`: ./install/yolox_ros_cpp/share/yolox_ros_cpp/weights/onnx/yolox_tiny.onnx
333344
- `p6`: false
334345
- `class_labels_path`: ""
@@ -348,7 +359,11 @@ ros2 launch yolox_ros_cpp yolox_tflite.launch.py \
348359
- `publish_image_topic_name`: /yolox/image_raw
349360
- `publish_boundingbox_topic_name`: /yolox/bounding_boxes
350361

351-
#### Tensorflow Lite example.
362+
</details>
363+
364+
<details>
365+
<summary>Tensorflow Lite example</summary>
366+
352367
- `model_path`: ./install/yolox_ros_cpp/share/yolox_ros_cpp/weights/tflite/model.tflite
353368
- `p6`: false
354369
- `is_nchw`: true
@@ -363,8 +378,9 @@ ros2 launch yolox_ros_cpp yolox_tflite.launch.py \
363378
- `publish_image_topic_name`: /yolox/image_raw
364379
- `publish_boundingbox_topic_name`: /yolox/bounding_boxes
365380

381+
</details>
366382

367-
### Reference
383+
## Reference
368384
Reference from YOLOX demo code.
369385
- https://github.com/Megvii-BaseDetection/YOLOX/blob/5183a6716404bae497deb142d2c340a45ffdb175/demo/OpenVINO/cpp/yolox_openvino.cpp
370386
- https://github.com/Megvii-BaseDetection/YOLOX/tree/5183a6716404bae497deb142d2c340a45ffdb175/demo/TensorRT/cpp

0 commit comments

Comments
 (0)