From f01ef8253068e7ccae92146ece6add3b57b1b916 Mon Sep 17 00:00:00 2001 From: TShapinsky Date: Tue, 10 Jul 2018 13:16:38 -0400 Subject: Fix incorrect documentation --- .../src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tensorflow/examples') 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()); -- cgit v1.2.3