Project import generated by Copybara.
PiperOrigin-RevId: 255697923
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
$ git clone https://github.com/google/mediapipe/mediapipe.git
|
||||
$ cd mediapipe
|
||||
|
||||
$ export GLOG_logtostderr=1
|
||||
# Need bazel flag 'MEDIAPIPE_DISABLE_GPU=1' as desktop GPU is not supported currently.
|
||||
$ bazel run --define 'MEDIAPIPE_DISABLE_GPU=1' \
|
||||
mediapipe/examples/desktop/hello_world:hello_world
|
||||
|
||||
@@ -14,6 +14,6 @@ answers and support from the MediaPipe community.
|
||||
### Bugs and Feature requests
|
||||
|
||||
To report bugs or make feature requests,
|
||||
[file an issue on Github](https://github.com/google/mediapipe/mediapipe/issues).
|
||||
[file an issue on GitHub](https://github.com/google/mediapipe/mediapipe/issues).
|
||||
Please choose the appropriate repository for the project from the
|
||||
[MediaPipe repo](https://github.com/google/mediapipe/mediapipe)
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 156 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 156 KiB |
@@ -107,6 +107,7 @@ Required libraries
|
||||
4. Run the hello world desktop example
|
||||
|
||||
```bash
|
||||
$ export GLOG_logtostderr=1
|
||||
# Need bazel flag 'MEDIAPIPE_DISABLE_GPU=1' as desktop GPU is currently not supported
|
||||
$ bazel run --define 'MEDIAPIPE_DISABLE_GPU=1' \
|
||||
mediapipe/examples/desktop/hello_world:hello_world
|
||||
@@ -191,6 +192,7 @@ Required libraries
|
||||
4. Run the hello world desktop example
|
||||
|
||||
```bash
|
||||
$ export GLOG_logtostderr=1
|
||||
# Need bazel flag 'MEDIAPIPE_DISABLE_GPU=1' as desktop GPU is currently not supported
|
||||
$ bazel run --define 'MEDIAPIPE_DISABLE_GPU=1' \
|
||||
mediapipe/examples/desktop/hello_world:hello_world
|
||||
@@ -279,6 +281,7 @@ Required libraries
|
||||
4. Run the hello world desktop example
|
||||
|
||||
```bash
|
||||
$ export GLOG_logtostderr=1
|
||||
# Need bazel flag 'MEDIAPIPE_DISABLE_GPU=1' as desktop GPU is currently not supported
|
||||
$ bazel run --define 'MEDIAPIPE_DISABLE_GPU=1' \
|
||||
mediapipe/examples/desktop/hello_world:hello_world
|
||||
@@ -331,7 +334,7 @@ This will use a Docker image that will isolate mediapipe's installation from the
|
||||
```bash
|
||||
$ docker run -it --name mediapipe mediapipe:latest
|
||||
|
||||
root@bca08b91ff63:/mediapipe# bazel run --define 'MEDIAPIPE_DISABLE_GPU=1' mediapipe/examples/desktop/hello_world:hello_world
|
||||
root@bca08b91ff63:/mediapipe# GLOG_logtostderr=1 bazel run --define 'MEDIAPIPE_DISABLE_GPU=1' mediapipe/examples/desktop/hello_world:hello_world
|
||||
|
||||
# Should print:
|
||||
# Hello World!
|
||||
|
||||
@@ -34,6 +34,7 @@ $ bazel build -c opt \
|
||||
# INFO: 2675 processes: 2673 linux-sandbox, 2 local.
|
||||
# INFO: Build completed successfully, 2807 total actions
|
||||
|
||||
$ export GLOG_logtostderr=1
|
||||
# Replace <input video path> and <output video path>.
|
||||
# You can find a test video in mediapipe/examples/desktop/object_detection.
|
||||
$ bazel-bin/mediapipe/examples/desktop/object_detection/object_detection_tensorflow \
|
||||
@@ -198,6 +199,7 @@ $ bazel build -c opt --define 'MEDIAPIPE_DISABLE_GPU=1' \
|
||||
# INFO: 711 processes: 710 linux-sandbox, 1 local.
|
||||
# INFO: Build completed successfully, 734 total actions
|
||||
|
||||
$ export GLOG_logtostderr=1
|
||||
# Replace <input video path> and <output video path>.
|
||||
# You can find a test video in mediapipe/examples/desktop/object_detection.
|
||||
$ bazel-bin/mediapipe/examples/desktop/object_detection/object_detection_tflite \
|
||||
|
||||
Reference in New Issue
Block a user