update readme

This commit is contained in:
Jules Youngberg 2022-07-26 17:50:24 -07:00
parent 7b57938699
commit 559a9deb88

View File

@ -45,9 +45,9 @@ bazel build --define MEDIAPIPE_DISABLE_GPU=1 mediapipe:mediagraph
cp bazel-bin/mediapipe/libmediagraph.so /usr/local/lib/libmediagraph.so cp bazel-bin/mediapipe/libmediagraph.so /usr/local/lib/libmediagraph.so
``` ```
### linking & building ### linking
Navigate to the project directory and create a symbolic link to the `../mediapipe/mediapipe`. Navigate to the project directory and create a symbolic link to `../mediapipe/mediapipe`.
```shell ```shell
cd ../mediapipe-rs # or the path to your project cd ../mediapipe-rs # or the path to your project
@ -62,7 +62,7 @@ Add the following to your dependencies list in `Cargo.toml`:
mediapipe = { git = "https://github.com/julesyoungberg/mediapipe-rs" } mediapipe = { git = "https://github.com/julesyoungberg/mediapipe-rs" }
``` ```
Mediapipe relies on tflite files which must be available at `./mediapipe/modules/`. The easiest way to satisfy this is by creating a symbolic link to mediapipe as explained in the `linking & building` section above. Mediapipe relies on tflite files which must be available at `./mediapipe/modules/`. The easiest way to satisfy this is by creating a symbolic link to mediapipe as explained in the `linking` section above.
## examples ## examples