Skip to content

Commit

Permalink
correct preprocess parameters in object detection android example
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamesweng committed Jun 25, 2020
1 parent 6f4340e commit ea0d99a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public class TFLiteObjectDetectionAPIModel implements Classifier {
// Only return this many results.
private static final int NUM_DETECTIONS = 10;
// Float model
private static final float IMAGE_MEAN = 128.0f;
private static final float IMAGE_STD = 128.0f;
private static final float IMAGE_MEAN = 127.5f;
private static final float IMAGE_STD = 127.5f;
// Number of threads in the java app
private static final int NUM_THREADS = 4;
private boolean isModelQuantized;
Expand Down

0 comments on commit ea0d99a

Please sign in to comment.