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

No object is visible in find_object_3d launch #143

Open
digimate2023 opened this issue Jan 19, 2024 · 3 comments
Open

No object is visible in find_object_3d launch #143

digimate2023 opened this issue Jan 19, 2024 · 3 comments

Comments

@digimate2023
Copy link

Hi,
I did the data annotation with an object. When i try to do the object detection, its not detecting any object, i am getting white screen.
1
This is my code:

<launch>
        
    <node name="find_object_3d" pkg="find_object_2d" type="find_object_2d" output="screen">
        <param name="gui" value="true" type="bool"/>
        <param name="settings_path" value="~/.ros/find_object_2d.ini" type="str"/>
        <param name="subscribe_depth" value="true" type="bool"/>
        <param name="session_path" value="$(find my_object_recognition_pkg)/saved_pictures/ball_session.bin" type="str"/>
        <param name="objects_path" value="" type="str"/>
        <param name="object_prefix" value="object" type="str"/>
        
        <remap from="rgb/image_rect_color" to="/camera/rgb/image_raw"/>
        <remap from="depth_registered/image_raw" to="/camera/depth/image_raw"/>
        <remap from="depth_registered/camera_info" to="/camera/depth/camera_info"/>
    </node>
    
</launch>
@matlabbe
Copy link
Member

It seems the remap is wrong. Maybe try with:

<remap from="camera/color/image_raw" to="/camera/rgb/image_raw"/>
<remap from="camera/depth/image" to="/camera/depth/image_raw"/>
<remap from="camera/color/camera_info" to="/camera/depth/camera_info"/>

@digimate2023
Copy link
Author

still getting the same error screen

@matlabbe
Copy link
Member

Actually, I cannot get the same error than you with exactly the same launch file than you:
image
which seems to work fine.

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