(RGB, distance-clipped depth, aligned depth, left IR, right IR)
- Please be sure to install Intel RealSense SDK.
- Then, install python packages:
pip install -r requirements.txt
- Check the
config.yaml
(you can change whenever you need). - Run the code:
python two-realsense.py --clip 2.0 --alpha 0.1 # for two camera devices # or python single-realsense.py --clip 2.0 --alpha 0.1 # for one camera device
- Control by your keyboard
- 'v' button - to record your video
- 'SPACE' button - to save your video
- 's' button - to save a sample image (you can customize it if you want)
-
Reference to align-depth2color.py for depth and color
alignment
&distance clipping
. -
For understanding how it works, run the demo code with single realsense camera:
python demo.py
- Saving point cloud in
.ply