OpenPTrack / open_ptrack_v2

OPT v2 "Gnocchi" - adding object tracking and pose recognition
BSD 3-Clause "New" or "Revised" License
220 stars 65 forks source link

Object tracking data #117

Closed muella91 closed 4 years ago

muella91 commented 4 years ago

Hello,

For my VR application I want to track some objects (e.g. a box) and bring them into VR.

  1. What is meant by "height" in the object tracking data? The size of the object or the z coordinate?
  2. Is the coordinate system in the center of the object or where do the x and y coordinates point to?
   "object_tracks": [{
        "id": 387,
        "object_name": "ball_red",
        "x": -0.89131,
        "y": 2.41851,
        "height": 1.55837,
        "age": 29.471,
        "confidence": 0.0500193
    }]

Thanks!

nanodust commented 4 years ago

Hello Manuel,

The xyz origin is set during extrinsic calibration. One uses the grid to set the zero point on the floor per wiki.

All tracking is then in meters, from that origin.

On Sat, Jan 11, 2020, 5:31 AM Manuel Mueller notifications@github.com wrote:

Hello,

For my VR application I want to track some objects (e.g. a box) and bring them into VR.

  1. What is meant by "height" in the object tracking data? The size of the object or the z coordinate?
  2. Is the coordinate system in the center of the object or where do the x and y coordinates point to?

    "object_tracks": [{ "id": 387, "object_name": "ball_red", "x": -0.89131, "y": 2.41851, "height": 1.55837, "age": 29.471, "confidence": 0.0500193 }]

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OpenPTrack/open_ptrack_v2/issues/117?email_source=notifications&email_token=AAAP45X6E7J3RC5LNE533VDQ5GUYHA5CNFSM4KFRRFMKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IFQGT4Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAP45V67MUEHCQXJMEGCX3Q5GUYHANCNFSM4KFRRFMA .

muella91 commented 4 years ago

@nanodust Thanks for your answer, but that was not my question. I already did the extrinsic calibration, I know all positions are measured from the OPT world coordinate system. My questions are:

**1. What is meant by "height" in the object tracking data? The size of the object or the z coordinate?

  1. Is the coordinate system in the center of the object or where do the x and y coordinates point to?**

I hope the following picture makes my questions clearer. objectTracking

jburkeucla commented 4 years ago

Height is the z-coordinate. In position and object tracking, the coordinates generally refer to the centroid. (In person tracking, it's more practically the centroid of the upper body, usually.)

muella91 commented 4 years ago

@jburkeucla Perfect, thanks for your answer!