diff options
author | TensorFlower Gardener <gardener@tensorflow.org> | 2018-07-17 16:14:56 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-07-17 16:15:11 -0700 |
commit | 1d7c61dd78312325f71952316c1a45adf94a9f27 (patch) | |
tree | 483c81d2959c9c72968b86bf0d4a49423cb44a40 /tensorflow/examples | |
parent | 2196905591ada49e811a2fc30bcdadd02489dda1 (diff) | |
parent | f01ef8253068e7ccae92146ece6add3b57b1b916 (diff) |
Merge pull request #20672 from TShapinsky:documentation_fix
PiperOrigin-RevId: 204992854
Diffstat (limited to 'tensorflow/examples')
-rw-r--r-- | tensorflow/examples/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/examples/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java b/tensorflow/examples/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java index 614d3c7dd7..9739e58018 100644 --- a/tensorflow/examples/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java +++ b/tensorflow/examples/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java @@ -137,7 +137,7 @@ public class TensorFlowObjectDetectionAPIModel implements Classifier { Trace.beginSection("recognizeImage"); Trace.beginSection("preprocessBitmap"); - // Preprocess the image data from 0-255 int to normalized float based + // Preprocess the image data to extract R, G and B bytes from int of form 0x00RRGGBB // on the provided parameters. bitmap.getPixels(intValues, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), bitmap.getHeight()); |