diff --git a/deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/Predictor.java b/deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/Predictor.java index b474d8886a10746b8ac181085c62481dfe7a4229..8bcd79b95b322a38dcd56d6ffe3a203d3d1ea6ae 100644 --- a/deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/Predictor.java +++ b/deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/Predictor.java @@ -160,6 +160,7 @@ public class Predictor { for (String content : contents) { wordLabels.add(content); } + wordLabels.add(" "); Log.i(TAG, "Word label size: " + wordLabels.size()); } catch (Exception e) { Log.e(TAG, e.getMessage());