Skip to content

Commit fe37c8c

Browse files
andrewharptensorflower-gardener
authored andcommitted
Android demo: add clarifications to README.md
Change: 148243198
1 parent 4f98897 commit fe37c8c

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

tensorflow/examples/android/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ TensorFlow in mobile applications.
1010

1111
Inference is done using the [TensorFlow Android Inference Interface](../../../tensorflow/contrib/android),
1212
which may be built separately if you want a standalone library to drop into your
13-
existing application.
13+
existing application. Object tracking and YUV -> RGB conversion is handled by
14+
libtensorflow_demo.so.
1415

1516
A device running Android 5.0 (API 21) or higher is required to run the demo due
1617
to the use of the camera2 API, although the native libraries themselves can run
@@ -40,7 +41,7 @@ on API >= 14 devices.
4041
If you just want the fastest path to trying the demo, you may download the
4142
nightly build
4243
[here](https://ci.tensorflow.org/view/Nightly/job/nightly-android/). Expand the
43-
"View" and then the "out" folders under "Last Successful Artifacts to find
44+
"View" and then the "out" folders under "Last Successful Artifacts" to find
4445
tensorflow_demo.apk. Also available are precompiled native libraries that you
4546
may drop into your own applications. See
4647
[tensorflow/contrib/android/README.md](../../../tensorflow/contrib/android/README.md)
@@ -71,6 +72,12 @@ protobuf compilation.
7172

7273
### Bazel
7374

75+
NOTE: Bazel does not currently support building for Android on Windows. Full
76+
support for gradle/cmake builds is coming soon, but in the meantime we suggest
77+
that Windows users download the
78+
[prebuilt binaries](https://ci.tensorflow.org/view/Nightly/job/nightly-android/)
79+
instead.
80+
7481
##### Install Bazel and Android Prerequisites
7582

7683
Bazel is the primary build system for TensorFlow. To build with Bazel,
@@ -84,7 +91,8 @@ it and the Android NDK and SDK must be installed on your system.
8491
[here](https://developer.android.com/tools/revisions/build-tools.html),
8592
or alternatively as part of
8693
[Android Studio](https://developer.android.com/studio/index.html). Build
87-
tools API >= 23 is required to build the TF Android demo.
94+
tools API >= 23 is required to build the TF Android demo (though it will
95+
run on API >= 21 devices).
8896

8997
##### Edit WORKSPACE
9098

@@ -109,7 +117,7 @@ in `WORKSPACE` during the build process.
109117
**Optional**: If you wish to place the models in your assets manually (E.g. for
110118
non-Bazel builds), remove all of the `model_files` entries from the `assets`
111119
list in `tensorflow_demo` found in the `[BUILD](BUILD)` file. Then download
112-
and extract the archives yourself to the `assets` directory in thesource tree:
120+
and extract the archives yourself to the `assets` directory in the source tree:
113121

114122
```bash
115123
BASE_URL=https://storage.googleapis.com/download.tensorflow.org/models

0 commit comments

Comments
 (0)