Update installation step in README.md
This commit is contained in:
parent
71998bc650
commit
38f4da8a11
|
@ -9,14 +9,17 @@ Currently, the following features are supported:
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
Follow the guidelines on the official Mediapipe website: https://google.github.io/mediapipe/getting_started/install.html#installing-on-windows
|
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_<platform>.BUILD` to the one installed in the system (https://github.com/google/mediapipe/issues/1926#issuecomment-825874197).
|
||||||
|
|
||||||
|
|
||||||
## How to build
|
## How to build
|
||||||
Assuming you're in the root of the repository:
|
Assuming you're in the root of the repository:
|
||||||
|
|
||||||
```
|
```
|
||||||
cd mediapipe
|
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=<path to the python executable described using forward slashes ("/")> 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.
|
Alternatively `dbg` can be used in place of `opt` to build the library with debug symbols in Visual Studio pdb format.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user