diff --git a/mediapipe/pose_tracking_dll/README.md b/mediapipe/pose_tracking_dll/README.md index 6e4f483c7..fb4b731ac 100644 --- a/mediapipe/pose_tracking_dll/README.md +++ b/mediapipe/pose_tracking_dll/README.md @@ -9,14 +9,17 @@ Currently, the following features are supported: ## Prerequisites Follow the guidelines on the official Mediapipe website: https://google.github.io/mediapipe/getting_started/install.html#installing-on-windows -IMPORTANT: The tutorial does not specify which version of Bazel to install. Install Bazel version 3.7.2 +IMPORTANT: The tutorial does not specify which version of Bazel to install. Install Bazel version 3.7.2. The OpenCV version used by default in mediapipe is 3.4.10. + +If you are using a different OpenCV version, adapt the `OPENCV_VERSION` variable in the file `mediapipe/external/opencv_.BUILD` to the one installed in the system (https://github.com/google/mediapipe/issues/1926#issuecomment-825874197). + ## How to build Assuming you're in the root of the repository: ``` cd mediapipe -bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 pose_tracking_dll:pose_tracking_cpu +bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 --action_env PYTHON_BIN_PATH= pose_tracking_dll:pose_tracking_cpu ``` Alternatively `dbg` can be used in place of `opt` to build the library with debug symbols in Visual Studio pdb format.