Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read rostopic /detection_image #2

Open
lsy311 opened this issue Oct 13, 2020 · 2 comments
Open

Read rostopic /detection_image #2

lsy311 opened this issue Oct 13, 2020 · 2 comments

Comments

@lsy311
Copy link

lsy311 commented Oct 13, 2020

Hi, I got this yolov4-for-darknet_ros works, can output a window with objects are detected.
But when I check the rostopics be published and try to use the rqt_image_view to load and show the rostopic /darknet_ros/detection_image , I got the problem with the topic can not be shown like this:
image
Do anyone have the same problem? How this can be solved?

@Tossy0423
Copy link
Owner

Hi lsy311

Thank you for use yolov4-for-darknet_ros!
I had a similar problem, but I was able to solve it.
I solved this problem by changing enable_opencv: true to enable_opencv: false in darknet_ros/darknet_ros/config/ros.yaml.

image_view:

  enable_opencv: false
  wait_key_delay: 1
  enable_console_output: true

However, the cause of the problem is not well understood.:disappointed_relieved:

@lsy311
Copy link
Author

lsy311 commented Oct 14, 2020

@Tossy0423 Thanks for your reply, I'll try it😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants