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

Get raw RGB Frame #11

Open
pallavimohansaab opened this issue Mar 10, 2021 · 4 comments
Open

Get raw RGB Frame #11

pallavimohansaab opened this issue Mar 10, 2021 · 4 comments

Comments

@pallavimohansaab
Copy link

Is it possible to get the raw RGB/PV camera frames through this .dll?

In the original C++ app, it saves the RGB frames along with the AHAT results, and I'm looking to extract the raw RGB frame in Unity as well. However, I didn't find a suitable function in the built .dll. Any pointers?

Thanks in advance!

@petergu684
Copy link
Owner

You don't need to enable research mode to access the PV camera. You can check this script how to obtain and visualize PV camera frames in Unity.

@kaiwu119
Copy link

Hello, I try to obtain a pv image based on the point cloud to get a color point cloud. I use PhotoCapture directly obtains the pv image in unity/C#, there is no problem when this method is run alone. However, when I used PhotoCapture and research mode at the same time, some abnormalities occurred. The point cloud was continuously acquired, and the acquisition of the pv image was controlled by the button. When four to five pv images are obtained, the program exits directly. And when I run the program again, the research mode API seems to be unable to obtain the deep point cloud information, and I must restart hololens. Perhaps this is a conflict between the pv camera and the depth camera?
Is there any possible reason or solution?
Any help would be greatly appreciated.

@petergu684
Copy link
Owner

I don't think PhotoCapture is designed for video streaming tasks as its name indicates. This Project has the implementation to map RGB frame to point cloud on HoloLens 1. Probably that would be useful to you.

@shoukailiang
Copy link

I don't think PhotoCapture is designed for video streaming tasks as its name indicates. This Project has the implementation to map RGB frame to point cloud on HoloLens 1. Probably that would be useful to you.

Hello,there are any Hololens2 solutions to achieve video sreaming tasks in unity ?

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