Sample code streaming color frames from sensor
Sample code streaming depth frames from sensor
Sample code for streaming depth frames with applyed filter (Sub-sampling (Decimation), Threshhold, Spatial, Temporal, Hole Filling). All filters applyed in the main thread.
Almoust the same example as Depth-Post-processing. In this sample all filters applyed in separate thread.
Sample code for saving depth frames to .png files
Sample code for saving depth and color frames to .png files at the same time
Building and running Depth-Streamig for example:
cd Depth-Streaming
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
make -j4
./DepthStreaming
Press any button to stop.