Project import generated by Copybara.

GitOrigin-RevId: df2c4ee5ecd342bd88f332389348615b47a0244c
This commit is contained in:
MediaPipe Team 2020-01-17 16:55:00 -08:00 committed by jqtang
parent dd02df1dbe
commit d144e564d8

View File

@ -1,28 +1,32 @@
## Setting up MediaPipe for iOS ## Setting up MediaPipe for iOS
1. Install [Xcode](https://developer.apple.com/xcode/). 1. Install [Xcode](https://developer.apple.com/xcode/) and the Command Line
Tools.
Follow Apple's instructions to obtain the required developemnt certificates Follow Apple's instructions to obtain the required development certificates
and provisioning profiles for your iOS device. and provisioning profiles for your iOS device. Install the Command Line
Tools by
2. Install [Bazel](https://bazel.build/). ```bash
xcode-select --install
```
2. Install [Bazel 1.1.0](https://bazel.build/).
See their
[instructions](https://docs.bazel.build/versions/master/install-os-x.html).
We recommend using [Homebrew](https://brew.sh/): We recommend using [Homebrew](https://brew.sh/):
```bash ```bash
brew tap bazelbuild/tap $ brew install https://raw.githubusercontent.com/bazelbuild/homebrew-tap/f8a0fa981bcb1784a0d0823e14867b844e94fb3d/Formula/bazel.rb
brew install bazelbuild/tap/bazel
``` ```
3. Install python "future" and "six". 3. Set Python 3.7 as the default Python version and install the Python "six"
library.
To make Mediapipe work with TensorFlow, please install the python "future" To make Mediapipe work with TensorFlow, please set Python 3.7 as the default
library and the python "six" library: Python version and install the Python "six" library.
```bash ```bash
pip install --user future six pip3 install --user six
``` ```
4. Clone the MediaPipe repository. 4. Clone the MediaPipe repository.