Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to acces the center.x value in detectnet/detections #136

Open
12003586 opened this issue Mar 22, 2024 · 1 comment
Open

How to acces the center.x value in detectnet/detections #136

12003586 opened this issue Mar 22, 2024 · 1 comment

Comments

@12003586
Copy link

12003586 commented Mar 22, 2024

Hi when i listen to the topic /detectnet/detections I get this output:

    header: 
      seq: 35942
      stamp: 
        secs: 1711107077
        nsecs: 727951291
      frame_id: ''
    detections: 
      - 
        header: 
          seq: 0
          stamp: 
            secs: 0
            nsecs:         0
          frame_id: ''
        results: 
          - 
            id: 1
            score: 0.991217374802
            pose: 
              pose: 
                position: 
                  x: 0.0
                  y: 0.0
                  z: 0.0
                orientation: 
                  x: 0.0
                  y: 0.0
                  z: 0.0
                  w: 0.0
              covariance: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
        bbox: 
          center: 
            x: 458.828125
            y: 356.748046875
            theta: 0.0
          size_x: 384.84375
          size_y: 687.12890625
        source_img: 
          header: 
            seq: 0
            stamp: 
              secs: 0
              nsecs:         0
            frame_id: ''
          height: 0
          width: 0
          encoding: ''
          is_bigendian: 0
          step: 0
          data: []

How can i acces the bbox/center/x and /y values?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants