introlab / find-object

Find-Object project
http://introlab.github.io/find-object/
BSD 3-Clause "New" or "Revised" License
448 stars 189 forks source link

No object is visible in find_object_3d launch #143

Open digimate2023 opened 10 months ago

digimate2023 commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

still getting the same error screen

matlabbe commented 10 months ago

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