GithubHelp home page GithubHelp logo

Comments (4)

fmrico avatar fmrico commented on September 25, 2024

Well, you can modify the code to adapt it to your needs.

Maybe you will better need something like https://github.com/gentlebots/gb_perception/blob/dadebe3d90719d6e01528ca68c44dfa80199b5c1/gb_perception_utils/src/gb_perception_utils/Perceptor3D.cpp#L77 but in Melodic.

Good luck!!!

from gb_visual_detection_3d.

gusrbgks avatar gusrbgks commented on September 25, 2024

Hi.
I seem to have found a way to get the 3D coordinates of the Center Point of a 2D bbox.
This is the center_point in this code.
is this right?

[Darknet3D.cpp]
image

from gb_visual_detection_3d.

fgonzalezr1998 avatar fgonzalezr1998 commented on September 25, 2024

Hi @gusrbgks First part is correct. However, the last part is not. You can not get the index in the point cloud from the (x,y) coordinates (At least, in this way) because that x and y are not pixels but they are 3D coordinates (in meters) taking the 'camera_link' (or what you use) frame.

from gb_visual_detection_3d.

gusrbgks avatar gusrbgks commented on September 25, 2024

Hi. @fgonzalezr1998

The coordinates detected in Yolo were converted to the robot's base coordinates and moved, but they did not move to the desired coordinates.

I suspect it's because I put the wrong 3d coordinates.

So how can I get the 3D coordinates I want?

from gb_visual_detection_3d.

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.