Comments (3)
Issue thread regarding this question.
from pyk4a.
Hey @JJLimmm,
have you found a valid solution for your problem?
I am currently working on a comparable project and struggle to get valid depth vales for my 2D-RGB Keypoints as well.
The first try I did was taking the transformed_depth_image and just look up the depth value at [x,y]-coordinate of the RGB pose keypoint. At first it looked good, but some further investigations showed off, that this process has a major issue:
The depth value, that is returned by the transformed_depth_image, is not the true depth (euclidean distance) from the object to the sensor, but it already is the Z-coordinate from one of the both 3D-coordinate systems. Some tests showed off this issue, even though on of the Azure Kinect developers wrote it differently: (Github Issue).
When now converting [x,y] (2D image plane) and Z (3D coordinate system) to a set of 3D coordinates, by hand or with the help of calibration.convert_2d_to_3d() function, the resulting coordinates do not match the reality due to the miss interpretation of the given depth value. In my case, the hip of the 3D person is tilted forward towards the camera because it is placed approximately on the Z-coordinate line.
Have you encountered similar anomalies and how did you solved your problems? :)
from pyk4a.
Hey @nliedmey , yes i noticed this discrepancy as well between using the calibration from Azure SDK and also our own conversion. Currently i cannot find a way to create a custom calibration to obtain the depth at the 2D keypoint coordinate that i want, it will take up a lot of time and i dont have the luxury of that right now.
For my project, i'm just taking the obtained depth value in the 2D RGB space at face value, and if it shows an invalid depth, i will skip that frame and obtain the next.
from pyk4a.
Related Issues (20)
- --external-sync flag in pyk4a HOT 2
- issues with pyk4a installation HOT 2
- Depth image counts to units conversion HOT 2
- ERROR: Could not build wheels for pyk4a, which is required to install pyproject.toml-based projects HOT 3
- Bug WFOV_UNBINNED depth configuration returns error HOT 4
- ERROR: Body tracking branch installation fails HOT 1
- Cannot import k4a_module.
- capture_set_color_image with K4A_IMAGE_FORMAT_COLOR_MJPG HOT 2
- Question about pyk4a.PyK4APlayback () HOT 2
- how can i change camera settings?
- Error code 1120: not able to install pyk4a HOT 1
- calibration HOT 1
- align rgb and depth HOT 1
- cap.color and cap.transformed_depth are not sync HOT 3
- poetry install issue HOT 2
- How to only record RGB and trasnformed depth? HOT 1
- Transformed Depth Image - Depth value experimental setup HOT 1
- specify the path for my k4a.dll HOT 1
- Is it possible to use pyk4a with Jetson Nano 4GB?
- how to set the iso like whitebalance or exposure in pyk4a.py? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyk4a.