If using a virtual machine provided by Yahboom, you can skip this course

0.Mediapipe Install

1. Installation steps for media pipe

  1. Run the following command on a Linux system with a hub version of ROS2

If there is an error indicating that the module cannot be found in Python, you can use this command to install the corresponding third-party module

If the package for ROS2 cannot be found, you can use this command to install the corresponding package

Kind reminder: If you don't understand how to operate, copying Google incorrectly will solve the problem.

  1. The installation of midiapipe is completed by running the above commands.

2. Building the Mediapipe Function Package

  1. Note: If the tutorial for viewing the camera in * * 2. ROS2 * * has already created the path "yahboomcar_ws/src", then the information will be savedyahboom_esp32_mediapipe.zipPass to this path and run the following command image-2024042800001

Once the compilation is successful, the mediatipe feature package is successfully loaded into the ROS2 environment, as shown in the figure image-2024042800002

 

  1. If you are directly reading this tutorial and haven't seen the previous tutorial, please run the following command first

Then go back to the first step of operation

image-2024042800002 The yahboom_esp32_camera in the picture is built in the 2. ROS2 View Camera tutorial, and this feature pack and the mediape feature pack do not affect each other.