@@ -10,7 +10,8 @@ TensorFlow in mobile applications.
1010
1111Inference is done using the [ TensorFlow Android Inference Interface] ( ../../../tensorflow/contrib/android ) ,
1212which 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
1516A device running Android 5.0 (API 21) or higher is required to run the demo due
1617to the use of the camera2 API, although the native libraries themselves can run
@@ -40,7 +41,7 @@ on API >= 14 devices.
4041If you just want the fastest path to trying the demo, you may download the
4142nightly 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
4445tensorflow_demo.apk. Also available are precompiled native libraries that you
4546may 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
7683Bazel 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
110118non-Bazel builds), remove all of the ` model_files ` entries from the ` assets `
111119list 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
115123BASE_URL=https://storage.googleapis.com/download.tensorflow.org/models
0 commit comments