My_ROV_WS is a ROS 2 setup that demonstrates how to integrate MediaPipe with camera, perception, and visualization nodes. Follow the steps below to install dependencies, build the workspace, and launch the application.
Install the MediaPipe library:
cd ~/my_rov_ws
python -m pip install mediapipe
cd ~/my_rov_ws
colcon build
Before launching, source the workspace:
cd ~/my_rov_ws
source install/setup.bash
Run the launch file to start all three nodes (camera_pkg, perception_pkg, and visualization_pkg):
ros2 launch camera_pkg camera_perception_viz.launch.py
List the active ROS 2 topics to confirm data is being published:
ros2 topic list
You should see topics like:
/camera/image_raw
/perception/output
/visualization/output
Use rqt_image_view
to visualize the camera feed:
ros2 run rqt_image_view rqt_image_view