Giter Site home page Giter Site logo

Comments (5)

saching13 avatar saching13 commented on July 29, 2024 1

Thanks for sharing the code. I will try the code at the earliest and check whats the issue and get back to you.

from depthai-ros.

saching13 avatar saching13 commented on July 29, 2024 1

If it's okay with you.
Can I add that to the examples in depthai-ros-examples or you can create a PR ?
cc: @luiscastro1995

from depthai-ros.

luiscastro1995 avatar luiscastro1995 commented on July 29, 2024 1

Sorry for the late reply.
Thank you very much for your time and the great news!
If you could add that to the examples would be perfect, thanks!

from depthai-ros.

luiscastro1995 avatar luiscastro1995 commented on July 29, 2024

Thank you for you time!
Forgot to tell that you need to add this line to the CMakeLists.txt:

  • dai_add_node(yolov4_spatial_node src/yolov4_spatial_publisher.cpp)

from depthai-ros.

saching13 avatar saching13 commented on July 29, 2024

Hi,
Sorry for the long wait. Have been busy with lot of things.

Here is the sample result I got with some modifications to your code.

header: 
  seq: 346
  stamp: 
    secs: 1620761857
    nsecs:  12942470
  frame_id: "oak_rgb_camera_optical_frame"
detections: 
  - 
    results: 
      - 
        id: 0
        score: 0.6420607566833496
    bbox: 
      center: 
        x: 174.5
        y: 265.5
        theta: 0.0
      size_x: 365.0
      size_y: 295.0
    position: 
      x: -0.0558454692363739
      y: -0.12286003679037094
      z: 1.2330000400543213
    is_tracking: False
    tracking_id: ''
---
header: 
  seq: 347
  stamp: 
    secs: 1620761857
    nsecs:  14133957
  frame_id: "oak_rgb_camera_optical_frame"
detections: 
  - 
    results: 
      - 
        id: 0
        score: 0.5141294002532959
    bbox: 
      center: 
        x: 174.0
        y: 265.5
        theta: 0.0
      size_x: 364.0
      size_y: 293.0
    position: 
      x: -0.05792438983917236
      y: -0.12136537581682205
      z: 1.218000054359436
    is_tracking: False
    tracking_id: ''

from depthai-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.