-
Notifications
You must be signed in to change notification settings - Fork 53
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
Depth limited to 4.5 meters pylibfreenect api? #64
Comments
It's possible but for now you cannot change depth limit since the python API doesn't expose getDepthPacketProcessor method. https://openkinect.github.io/libfreenect2/classlibfreenect2_1_1PacketPipeline.html You can try exposing the API from the python binding if you want the feature. |
Ah thank you very much. Do you have a nice tutorial how to expose those APIs? I'm quite new to Python and i guess this is a good to know. |
You could look at the cython doc: https://cython.readthedocs.io/en/latest/ |
Hi. I am working on Kienct V2 with pylibfreenect2 . I need to measure an object distance from Kinect in mm/cm etc. I am trying to access Raw depth data for the last one month but i am not able to access it or even get sense out of things i get. Its like entering from one rabbit hole to another. Can you help me on it. |
I am not sure what you mean by you cannot access raw depth data. Raw depth data is surely available. See
|
You are right object detection is another thing and I am not talking about.it. A point i will like to add here while searching i came across function GetPointXYZ and i thought it gave real life Z(distance) from camera to a particular pixel. But it only showed me NAN.Here is the code of it. x and y are my required pixel coordinates. |
getPointXYZ(implemented in #23) should work. Please note that you need to initialize and start your kinect2 device before calling getPointXYZ, since registration requires to retrieve camera parameters from kinect2. Another option is to implement the conversion by yourself. It's just simple math. |
Hello,
as the caption mentioned in figured out that in the depth images, the maximum range is 4.5 meters. I need to extend this range to around 8 meters which should be possible. In a post for libfreenct2 it is possible to change the depth by setting the range in the DepthPacketProcessor. ([Depth limited to 4.5 meters?])(OpenKinect/libfreenect2#143) Is it possible to get access to the DepthPacketProcessor with pylibfreenct2? Maybe i'm just bad at applying the api.
Kind Regards, Dimitrij
The text was updated successfully, but these errors were encountered: