From 7c04ff55c734ad1b7c37c72ec5c07cd30dfac9b8 Mon Sep 17 00:00:00 2001 From: WenmuZhou <572459439@qq.com> Date: Mon, 17 Jan 2022 11:20:14 +0000 Subject: [PATCH] add blank to android demo --- .../src/main/java/com/baidu/paddle/lite/demo/ocr/Predictor.java | 1 + 1 file changed, 1 insertion(+) 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 b474d888..8bcd79b9 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()); -- GitLab