diff options
author | Andrew Harp <andrewharp@google.com> | 2017-05-04 12:48:11 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-05-04 14:04:47 -0700 |
commit | fd69bb292af7f15cd364e36ead7f596a3c484b2c (patch) | |
tree | f12e818767035d160c91f1394b5d9d83bdc9d151 /models.BUILD | |
parent | dd140f79e06a81c52cd8fc9ec6cda975a78a401f (diff) |
Android demo: Add YUV -> RGB conversion Java implementation as fallback if native implementation is not found. This means that compiling libtensorflow_demo.so will only be strictly necessary for the Detection example (which uses native object tracking). A followup change will add graceful degradation in that case too.
Java conversion may be slower depending on the device, but should still be acceptable for demo purposes as the majority of the compute time will still be spent on TF inference passes.
Note that this has no effect on the necessity of libtensorflow_inference.so, which provides the actual TF support. However libtensorflow_inference.so may be added to applications via the prebuilt AAR, so no native compilation is necessary.
Partially addresses #6385
Change: 155121431
Diffstat (limited to 'models.BUILD')
0 files changed, 0 insertions, 0 deletions