How to show result detection (yolov3) on Rviz
Hi everyone!
I want to test Yolo detection on Autoware 1.12.0 with LGSVL simulation 2019.09.
I saw the image data is published on /simulator/camera_node/image/compressed topic from Simulator.
On darknet_yolo3 window, I config:
imagesrc: /simulator/cameranode/image
cfg: /home/autoware/Autoware/install/visiondarknetdetect/share/visiondarknetdetect/darknet/cfg/yolov3.cfg
weights: /home/autoware/Autoware/install/visiondarknetdetect/share/visiondarknetdetect/darknet/data/yolov3.weights
name: /home/autoware/Autoware/install/visiondarknetdetect/share/visiondarknetdetect/darknet/cfg/coco.names
visiondarknetdetect node runs successfully.
On ImageViewerPlugin window, I chose the following topic:
- Image Topic: /image_raw
- Object Rect Topic: /detection/image_detector/objects
The image from Simulator is displayed, but I can't see result detection (bounding box).
Can you show me what I'm wrong?
Thank you very much!
Asked by tiensu on 2019-10-16 06:35:09 UTC
Comments
Are you using some custom setup? If no can you point me to what you are using (github repo). Is YOLO subscribing to the image topic coming from simulator?
Asked by Choco93 on 2019-10-16 08:09:19 UTC
Hi, I used Autoware docker prebuilt 1.12.0:
https://gitlab.com/autowarefoundation/autoware.ai/autoware/wikis/Generic-x86-Docker
Is YOLO subscribing to the image topic coming from simulator?
Yes, YOLO subscribes to the image topic coming from the simulator?
Asked by tiensu on 2019-10-16 11:43:24 UTC
Surprise, today I can show detection results on ImageViewerPlugin with the same config as yesterday. I don't know why. Anw, thank for your attention! :)
Asked by tiensu on 2019-10-16 22:51:41 UTC