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

Visualization in world space #4

Closed
cwule opened this issue Jun 4, 2020 · 4 comments
Closed

Visualization in world space #4

cwule opened this issue Jun 4, 2020 · 4 comments

Comments

@cwule
Copy link

cwule commented Jun 4, 2020

Wonderful project, with the Readme descriptions the build worked without a problem, thanks!

Two issues I am having:

  • The app crashes on my Hololens quite often. Is that just for me or did you also experience that?
  • Do you plan to visualize the depth information in world space instead of a screen?
@doughtmw
Copy link
Owner

doughtmw commented Jun 8, 2020

Hi @cwule, I'm glad you were able to get the sample up and running!

As to the issues you've described, I've experienced more crashes running the sample in Debug mode than the Release configuration. Also, the current implementation sends sensor frames from the C# Unity project to the C++ WinRT project every frame which is the likely cause of memory leaks and crashes. An alternative implementation would be to do all processing inside the C++ project and just return the final PvDepth frames.

I currently don't have plans to visualize the depth information in the world space instead of a screen, though I'd imagine it would be possible as all of the required transform matrices are easily accessible through the HoloLensForCV plugin. There are some discussions about visualizing depth in the world coordinate system on the HoloLensForCV repo which could be of use!

@dbambulaks
Copy link

@cwule have u managed to get it work in world space?

@kaiwu119
Copy link

@doughtmw @cwule
I also encounter the situation that the app often crashes. I did it under the release version. Have you found the cause of the problem?

@cwule
Copy link
Author

cwule commented Sep 10, 2020

@quotetoxic @kaiwu119 I have not solved it, since I have moved to the HL2, with a very different research mode codebase.

@cwule cwule closed this as completed Sep 10, 2020
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

4 participants