This is the example realense camera code for TDK 2025, including orange detection and coffee menu detection
Start container
cd Camera_tutorial_tdk/Docker
docker compose up -d
Edit the value of camera_name
, camera_namespace
and serial_no
in /packages/realsense-pkg/realsense2_camera/launch/rs_launch.py
(You can enter any name you want in camera_name
and camera_namespace
, and you can find the serial_no
on your realsense camera)
Attach shell of the container vision-tdk:realsense
, enter the following commands:
colcon build
source install/setup.bash
ros2 launch realsense2_camera rs_launch.py
Attach shell of the container vision-tdk:opencv
, enter the following commands:
colcon build
source install/setup.bash
ros2 run opencv_ros orange