MarekKowalski / LiveScan3D

LiveScan3D is a system designed for real time 3D reconstruction using multiple Azure Kinect or Kinect v2 depth sensors simultaneously at real time speed.
MIT License
749 stars 202 forks source link

File format saving problem #27

Open 18738753011 opened 6 years ago

18738753011 commented 6 years ago

File format saving problem Hi, we have a question about saving files. When we choose Ascll_ply or binary_ply, the saved file format is .bin format, we want to save it as .ply format. Maybe because we may not really understand the meaning of the paper, so we have two questions to ask: First, whether the point cloud can be saved after multi-view registration, and second, whether the point cloud after multi-view registration can be saved .ply format?

MarekKowalski commented 5 years ago

Hi,

Yes the data can be saved to .ply format.

During recording the .bin file is treated as a temporary buffer by the client. Once the recording is finished, the clients send the recorded frames to the server, which subsequently saves them as .ply files in the directory specified in the main window of the server app.

Let me know if that answers your questions.

Thanks,

Marek

ChienDuong commented 5 years ago

I think we have one thing in saving frames I would like to take note, may it can help someone : When recording data, points and vertices are saved into the bin files in Clients. But, the bodies are not saved. Then, after click the button again to save the data. When Saving frames, Clients read those recorded frames . However, when Clients sends to sever, they send (points + colors+ m_vLastFrameBody). Thus, the Skeletons in current version will not synchronize with pointcloud when saving.

To solve the problem, when recording, in WriteFrame, we also need to write the Bodies information, then read it and send to Sever.

Best, Chien

MarekKowalski commented 5 years ago

Hi Chien,

That's a good point. While in the current version the skeleton data is not saved during sequence recording, this might be confusing to someone who wants to add that option.

Thanks,

Marek