Git Product home page Git Product logo

Comments (3)

domisjustanumber avatar domisjustanumber commented on July 30, 2024

Hey @niknaim thanks for the kind words!

Mediapipe only takes a 2D video image as an input and infers distance purely based on that, so you can't feed it a depth map directly.

That being said, you can probably look up the xy position of each point returned by MediaPipe and then overwrite the Z coordinates with the one you get from the RealSense camera to get more accurate depth positions.

from mediapipe-touchdesigner.

niknaim avatar niknaim commented on July 30, 2024

Thanks for your fast reply. how can I get the the xy position of all points? I only see the xy positions, with, height ans scale of the objects tracked by the object detection. Also I dont see any Z ccordinate, which I could overwrite.

from mediapipe-touchdesigner.

domisjustanumber avatar domisjustanumber commented on July 30, 2024

oh if you're object detection, you only get the xy coordinates of the box containing the object. You could still add Z positions to those values from your RealSense data and/or crop the depth data to the same box and take an average depth of the pixels in the box?

There's lots of options, but they're all beyond the scope of MediaPipe

from mediapipe-touchdesigner.

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.