pyKinectAzure | Python library to run Kinect Azure DK SDK functions | Azure library
kandi X-RAY | pyKinectAzure Summary
kandi X-RAY | pyKinectAzure Summary
Python 3 library for the Azure Kinect DK sensor-SDK.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Start a device
- Start K4A camera
- Get a calibration
- Start the camera
- Update the IMU
- Get IMU from device
- Parses the data into a numpy array
- Get a dictionary from a struct
- Update camera
- Get capture handle
- Write capture to record
- Create a skeleton2d
- Convert from 3D camera to 2D
- Create the camera
- Called when the device configuration changes
- Return a calibration of the device
- Return the current buffer
- Returns the transformed depth image
- Get the point cloud of the camera
- Get the colored depth image
- Create capture
- Draw the body of the actor
- Get the recording configuration
- Create the tracker for the given model type
- Return a JSON representation of the body
- Update capture tracking queue
pyKinectAzure Key Features
pyKinectAzure Examples and Code Snippets
Community Discussions
Trending Discussions on pyKinectAzure
QUESTION
I have a sequences of pngs and corresponding depth files (aligned to the corresponding images) from an external camera.
RGB: 1.png 2.png 3.png etc 150.png
Depth: 1.txt 2.txt 3.txt etc 150.txt
I also have the intrinsics and corresponding camera information in another file called camera.txt.
My goal is to convert these images and depth files to an mkv file in order to utilize the pykinect's body tracker (https://github.com/ibaiGorordo/pyKinectAzure)
So far, I've been able to convert the images and and depth files into an open3D RGBD object. See: http://www.open3d.org/docs/release/python_api/open3d.geometry.RGBDImage.html
I would think we need to run it through the azure kinect reader (https://github.com/isl-org/Open3D/blob/0ec3e5b24551eaffa3c7708aae8630fde9b00e6c/examples/python/reconstruction_system/sensors/azure_kinect_recorder.py#L34), but this seems to open up the camera for additional input.
How can I save this rgbd images to an mkv file format to read in to the pykinect reader? I
...ANSWER
Answered 2021-Dec-16 at 07:58Have you tried:
- Converting the RGBD image into a numpy array :
http://www.open3d.org/docs/latest/tutorial/Basic/rgbd_image.html
- Then converting the numpy array to an mkv file like:
NumPy array of a video changes from the original after writing into the same video
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pyKinectAzure
You can use pyKinectAzure like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page