Coder Social home page Coder Social logo

Get the Depth Data about py-k4a HOT 4 OPEN

fshamsafar avatar fshamsafar commented on June 19, 2024
Get the Depth Data

from py-k4a.

Comments (4)

amy-caali avatar amy-caali commented on June 19, 2024 2

from py-k4a.

fshamsafar avatar fshamsafar commented on June 19, 2024

Thanks :) It worked :) The output for K4A_COLOR_RESOLUTION_720P is an array of dimension 245520. But why it does not match with the image_get_height_pixels(img), which is 720 and image_get_width_pixels(img), which is 1280. I mean totally it should have 720*1280*3=2764800 values and not 245520. What is missing here for reshaping the flattened data to an image?

from py-k4a.

amy-caali avatar amy-caali commented on June 19, 2024

from py-k4a.

abbott1234 avatar abbott1234 commented on June 19, 2024

If it is depth value, how to transform the values to mm? The values looks look grey values from 0 to 255.
And the depth returns a vector, how to transform it to array(image)?

from py-k4a.

Related Issues (11)

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.