Coder Social home page Coder Social logo

Comments (6)

Samahu avatar Samahu commented on August 15, 2024 1

Hi @imdsafi09, please refer to this example that I compiled to you and other users on how to consume the range image and convert into a point cloud using ros+python. For C++ you can refer to the driver code and see how the point cloud is being composed.

from ouster-ros.

Samahu avatar Samahu commented on August 15, 2024 1

@imdsafi09 you are asking for very specific interactions with the software which is a little beyond the scope of this GitHub issues portal.

In any case, if you are interested in processing the signal image then all you need to change from the example I shared with you is to create another subscription to the /signal_image topic and do your computer vision tasks against it. However, in order to merge the results with the point cloud you will also need the need the values from the range image at the same time. This adds a bit of complexity to the problem, still you can achieve by utilizing ROS's message filters mechanism which allows you to combine multiple topics into one callback. Then you can process both images in the same callback and then rely on the example I provided to generate the altered point cloud.

I am not sure if you are aware of ouster-yolov5-demo which provides starter materials on how to process the sensor generate output as 2D images and also update the output.

Hope this helps.

from ouster-ros.

Samahu avatar Samahu commented on August 15, 2024

Hi @imdsafi09, are you looking for a C++ or python implementation?

from ouster-ros.

imdsafi09 avatar imdsafi09 commented on August 15, 2024

Hi @Samahu,
Thank you for your response. I would prefer Python but C++ will work equally, and if you can provide integration with ROS2 it will make my job much easier.
regards,

from ouster-ros.

imdsafi09 avatar imdsafi09 commented on August 15, 2024

Hi, @Samahu,
Thank you for your quick response. However, I want to perform a specific vision task on a signal image, such as object detection, and then project the results into a point cloud coordinate to be visible on top of the point cloud. Please guide me through how I can use your developed scripts to solve this problem.

Regards,

from ouster-ros.

imdsafi09 avatar imdsafi09 commented on August 15, 2024

Thank you for all the insightful suggestions. I am already following ouster-yolov5-demo
and trying to do precisely the same thing but with a "/signal_image" topic rather than a range image. However, I will look into it further, as you suggested.

Regards,

from ouster-ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.