Update README.md
This commit is contained in:
parent
b85d991cdc
commit
ecc2dead70
12
README.md
12
README.md
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Simple rust bindings for [mediapipe](https://mediapipe.dev/).
|
Simple rust bindings for [mediapipe](https://mediapipe.dev/).
|
||||||
|
|
||||||
Forked from: https://github.com/angular-rust/ux-mediapipe 🙏
|
Forked from: https://github.com/julesyoungberg/mediapipe-rs
|
||||||
|
|
||||||
And heavily based on this example: https://github.com/asprecic/mediapipe-qt-integration-example 🤌
|
And heavily based on this example: https://github.com/asprecic/mediapipe-qt-integration-example 🤌
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ And heavily based on this example: https://github.com/asprecic/mediapipe-qt-inte
|
||||||
To run the examples clone this project.
|
To run the examples clone this project.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/julesyoungberg/mediapipe-rs.git
|
git clone https://gitea.cass-dlcm.dev/cassdlcm/mediapipe-rs.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Mediapipe is a framework for building AI-powered computer vision applications. It provides high level libraries exposing some of its solutions for common problems. This package makes some of these solutions available in Rust. In order to use it we must build a custom mediapipe C++ library.
|
Mediapipe is a framework for building AI-powered computer vision applications. It provides high level libraries exposing some of its solutions for common problems. This package makes some of these solutions available in Rust. In order to use it we must build a custom mediapipe C++ library.
|
||||||
|
@ -23,7 +23,7 @@ Mediapipe is a framework for building AI-powered computer vision applications. I
|
||||||
Clone the modified Mediapipe repo next to `mediapipe-rs` or a project that uses `mediapipe-rs`.
|
Clone the modified Mediapipe repo next to `mediapipe-rs` or a project that uses `mediapipe-rs`.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/julesyoungberg/mediapipe.git
|
git clone https://gitea.cass-dlcm.dev/cassdlcm/mediapipe.git
|
||||||
cd mediapipe
|
cd mediapipe
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ Build & install the mediagraph library.
|
||||||
#### mac os
|
#### mac os
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bazel build --define MEDIAPIPE_DISABLE_GPU=1 mediapipe:libmediagraph.dylib
|
bazel build mediapipe:libmediagraph.dylib
|
||||||
sudo cp bazel-bin/mediapipe/libmediagraph.dylib /usr/local/lib/libmediagraph.dylib
|
sudo cp bazel-bin/mediapipe/libmediagraph.dylib /usr/local/lib/libmediagraph.dylib
|
||||||
sudo cp mediapipe/mediagraph.h /usr/local/include/mediagraph.h
|
sudo cp mediapipe/mediagraph.h /usr/local/include/mediagraph.h
|
||||||
```
|
```
|
||||||
|
@ -42,7 +42,7 @@ sudo cp mediapipe/mediagraph.h /usr/local/include/mediagraph.h
|
||||||
#### linux (untested)
|
#### linux (untested)
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
bazel build --define MEDIAPIPE_DISABLE_GPU=1 mediapipe:mediagraph
|
bazel build mediapipe:mediagraph
|
||||||
sudo cp bazel-bin/mediapipe/libmediagraph.so /usr/local/lib/libmediagraph.so
|
sudo cp bazel-bin/mediapipe/libmediagraph.so /usr/local/lib/libmediagraph.so
|
||||||
sudo cp mediapipe/mediagraph.h /usr/local/include/mediagraph.h
|
sudo cp mediapipe/mediagraph.h /usr/local/include/mediagraph.h
|
||||||
```
|
```
|
||||||
|
@ -61,7 +61,7 @@ ln -s ../mediapipe/mediapipe .
|
||||||
Add the following to your dependencies list in `Cargo.toml`:
|
Add the following to your dependencies list in `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
mediapipe = { git = "https://github.com/julesyoungberg/mediapipe-rs" }
|
mediapipe = { git = "https://gitea.cass-dlcm.dev/cassdlcm/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` 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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user