find-object icon indicating copy to clipboard operation
find-object copied to clipboard

No object is visible in find_object_3d launch

Open digimate2023 opened this issue 1 year ago • 3 comments

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>

digimate2023 avatar Jan 19 '24 08:01 digimate2023

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"/>

matlabbe avatar Jan 20 '24 21:01 matlabbe

still getting the same error screen

digimate2023 avatar Jan 22 '24 11:01 digimate2023

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

matlabbe avatar Jan 27 '24 21:01 matlabbe