Skip to content
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

Could we save the depth map image at the same time? #71

Closed
ERICXUCHI opened this issue Sep 13, 2023 · 4 comments
Closed

Could we save the depth map image at the same time? #71

ERICXUCHI opened this issue Sep 13, 2023 · 4 comments

Comments

@ERICXUCHI
Copy link

Hi, team, thanks for your effort in this project.

I am using 2 Azure Kinects and I wonder if I could save the depth map image at the same time. Since right now we can only save .ply file, so we wanna save the depth image (like "show depth" in the LiveScanClient) simultaneously.

Or did you leave any API that I can leverage to extend the function?

@ChristopherRemde
Copy link

Hey!

Yes we have this functionality, again over here in the improved version of LiveScan:

https://github.com/BuildingVolumes/LiveScan3D/tree/development

In the server UI, you need to select "Raw Images" instead of pointclouds. But you can't record pointclouds & raw data at the same time. I however have a WIP tool I can share with you, that would allow you to convert the raw data back into pointclouds after the capture!

@ERICXUCHI
Copy link
Author

Yes, thanks for your help. Can you share me with the WIP tool? I have sent a email to you~ 👍

@ChristopherRemde
Copy link

Just if any reader is interested, the tool can be found here: https://github.com/BuildingVolumes/volumetricpipeline/tree/main/DepthProcessingTools/OfflineK4AImageToPointcloud

After downloading, open the solution and install the Azure Kinect Nuget package inside of the project. Then enter the path to your raw Image capture on line 37 in OfflineK4AImageToPointcloud.cpp, all slashes in the path need to be double backward slashes.
Now create a folder called “out” in your entered path and then start the program. You should have .ply files inside of the “out” directory when the program has finished.

@ERICXUCHI
Copy link
Author

👍 👍 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants