yahboom
HomeTutorialsProduct
Solution
Blog
Online Store
About Us
EN/中文
Store
Realsense Depth Camera📖
1.Installation video
  • Installation video
2.Tutorials
  • 2.0 How to use camera
  • 2.1 Opencv application
  • 2.2 Color recognition-object tracking
  • 2.3 ARTag
  • 2.4 ROS+Opencv basic course
  • 2.5 ROS+OpenCV application
  • 2.6 Data conversion and point cloud
Download
  • Code
  • Datasheet
  • Software
  • VM file
Download ZIP

Welcome to Realsense Depth Camera repository

2.0 How to use camera

How to Use Intel RealSense Camera

How to Use Intel RealSense Camera1、SDK + ROS2、Web Monitoring

Official Website: https://www.intel.com/content/www/us/en/ark/products/series/85364/intel-realsense-cameras.html

Installation: https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md

Wiki: http://wiki.ros.org/RealSense

realsense2_camera: http://wiki.ros.org/realsense2_camera

librealsense2: http://wiki.ros.org/librealsense2

librealsense: https://github.com/IntelRealSense/librealsense

realsense-ros: https://github.com/IntelRealSense/realsense-ros

Note: If you need to quickly use the Intel camera, you can directly use the virtual machine in the attachments. There is no need to set up the environment below. The virtual machine provided in the attachments can run all the cases in the tutorial.

1、SDK + ROS

Note: The librealsense version is v3.10; the realsense_ros version is 2.3.1.

Install dependencies

xxxxxxxxxx
sudo apt install ros-melodic-ddynamic-reconfigure ros-melodic-realsense2-camera ros-melodic-realsense2-description git libssl-dev libusb-1.0-0-dev pkg-config libgtk-3-dev libglfw3-dev

Install Intel® RealSense™ SDK 2.0

xxxxxxxxxx
mkdir -p librealsense
cd librealsense/
git clone -b v2.48.0 https://github.com/IntelRealSense/librealsense.git
cd librealsense
./scripts/setup_udev_rules.sh
mkdir build && cd build
cmake ..
make -j8
sudo make install

RealSense Viewer

xxxxxxxxxx
realsense-viewer

image-20210924182018878

You can measure in 3D mode, as shown in the figure. The error from the actual 1 meter is negligible.

Install Intel® RealSense™ ROS from source

xxxxxxxxxx
mkdir -p ~/realsense_ros/src
cd ~/realsense_ros/src/
git clone -b 2.3.1 https://github.com/IntelRealSense/realsense-ros.git
cd realsense-ros/realsense2_camera
git checkout `git tag | sort -V | grep -P "^\d+\.\d+\.\d+" | tail -1`
// Build
cd ~/realsense_ros
catkin_make
echo "source ~/realsense_w/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc

Start the camera

xxxxxxxxxx
roslaunch realsense2_camera rs_camera.launch

2、Web Monitoring

Environment setup

xxxxxxxxxx
sudo apt-get install ros-melodic-async-web-server-cpp ros-melodic-web-video-server ros-melodic-usb-cam

Start the camera

xxxxxxxxxx
roslaunch realsense2_camera rs_camera.launch

Start web_video_server

xxxxxxxxxx
rosrun web_video_server web_video_server

View

View via local web browser:
http://localhost:8080/

For other devices on the same LAN:
http://192.168.2.103:8080/
(192.168.2.103 is the IP address of this host)

Note: It is recommended to use Google Chrome or mobile QQ browser. Other browsers may fail to display images.
Installation video
Opencv application

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文