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

rosrun jsk_perception image_publisher.py does not work (?) #70

Open
k-okada opened this issue Oct 17, 2021 · 1 comment
Open

rosrun jsk_perception image_publisher.py does not work (?) #70

k-okada opened this issue Oct 17, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@k-okada
Copy link
Member

k-okada commented Oct 17, 2021

I followed instruction and start

rosrun jsk_perception image_publisher.py _file_name:=$(rospack find jsk_perception)/sample/object_detection_example_1.jpg

and try to visualize the image by

 rosrun image_view image_view image:=/image_publisher/output
[ERROR] [1634453747.476164744]: Skipped loading plugin with error: XML Document '/opt/ros/noetic/share/prosilica_camera/plugins/nodelet_plugins.xml' has no Root Element. This likely means the XML is malformed or missing..
[ INFO] [1634453747.480691611]: Initializing nodelet with 12 worker threads.
[ INFO] [1634453747.555356635]: Using transport "compressed"

but it does not work. Using image_publisher works.

rosrun image_publisher image_publisher $(rospack find jsk_perception)/sample/object_detection_example_1.jpg __name:=image_publisher ~image_raw:=~output

This because I ran

rosrun image_view image_view image:=/edgetpu_object_detector/output/image _image_transport:=compressed

and it update /image_view/image_transport as follows

$ rosparam get /image_view/image_transport
compressed

but image_publishser.py does not support compressed format, to reset transport hint. Ran

rosrun image_view image_view  image:=/image_publisher/output _image_transport:=raw

Or wait for jsk-ros-pkg/jsk_recognition#2637

cc: @hi-kondo

@knorth55 knorth55 added the bug Something isn't working label Nov 9, 2021
@knorth55
Copy link
Member

knorth55 commented Nov 9, 2021

jsk-ros-pkg/jsk_recognition#2637 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants