vimeo / vimeo-depth-viewer

OpenGL application for viewing depth and color video streams from Intel RealSense cameras
https://vimeo-volumetric-video-livestreaming.glitch.me/
MIT License
53 stars 11 forks source link

Yellow and white flashings w/ D435 #6

Open tangbao opened 5 years ago

tangbao commented 5 years ago

Hi,

I use your pre-compiled viewer and the viewer compiled by myself to test, but none of them works. Here is a snapshot. The left window is always with yellow and white flashings and the right window sometimes shows the same flashings, or sometimes shows videos with many noises.

image

I change do not change the code, and I have no idea what is wrong. Could you please give me some suggestions?

I am using:

Thank you very much

juniorxsound commented 5 years ago

I think this could be related to the USB bus on your MBA 2015. It is not USB 3.0 right? I also wonder if that happens when using the Intel Realsense Viewer that comes in the SDK

tangbao commented 5 years ago

I think this could be related to the USB bus on your MBA 2015. It is not USB 3.0 right? I also wonder if that happens when using the Intel Realsense Viewer that comes in the SDK

Thank you for your quick reply. Sorry that I forgot to mention the camera works well with the Intel Realsense Viewer. And I think the USB bus on MBA 2015 is USB 3.0. Thanks!

image

tangbao commented 5 years ago

Could you please provide the firmware version of your D415 and D435? Maybe the old SDK you use does not support the newest firmware. Thanks!

juniorxsound commented 5 years ago

Hi @tangbao was able to build and run this on MBP 2018 (Mojave 10.14.6) and run successfully with a D415

Screen Shot 2019-09-13 at 8 20 53 PM

One quick caveat I did catch is it failed CMak'ing the project due to a librealsense GLFW issue so had to turn off the visual examples when using CMake - cmake ../ -DBUILD_GRAPHICAL_EXAMPLES=Off

tangbao commented 5 years ago

Thanks @juniorxsound ! Have you tried it with D435?

juniorxsound commented 5 years ago

Unfortunately I do not have one, so can't really test it but if you want to dive into the code and try to debug that the librealsense pipeline initialization happens here

tangbao commented 5 years ago

Hi @juniorxsound ,

Thank you for your suggestions. I solved the GLFW issue by installing GLFW on my machine before. I received the D415 camera today but it still not worked.... I tried to debug it but I failed to find anything wrong. Maybe I need to use a newer machine.

Thanks!

tangbao commented 5 years ago

Hi @juniorxsound

I tried on an MBP 2017 today and it worked perfectly both with D415 and D435.

Now I am playing with your depth-player now. It seems that it needs some tricks (like adjusting the angle of camera and the size of window in OBS) to let the player get a good rendering result. Also, the streaming thing does not work now because the XMLHttpRequest is banned by CORS policy. I will look into this problem tomorrow.

One more thing -- the 3D hologram is generated based on 3D mesh, not point cloud, right?

Thank you for your time so much.

juniorxsound commented 5 years ago

@tangbao Correct, it starts with a fully tesselated grid and displaces it using the depth map