Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
c645a865
Unverified
Commit
c645a865
authored
Jan 18, 2022
by
zhoujun
Committed by
GitHub
Jan 18, 2022
Browse files
Merge pull request #5278 from WenmuZhou/fix_vqa
add ctc blank to android demo
parents
3ed33a24
7c04ff55
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/Predictor.java
...c/main/java/com/baidu/paddle/lite/demo/ocr/Predictor.java
+1
-0
No files found.
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/Predictor.java
View file @
c645a865
...
@@ -160,6 +160,7 @@ public class Predictor {
...
@@ -160,6 +160,7 @@ public class Predictor {
for
(
String
content
:
contents
)
{
for
(
String
content
:
contents
)
{
wordLabels
.
add
(
content
);
wordLabels
.
add
(
content
);
}
}
wordLabels
.
add
(
" "
);
Log
.
i
(
TAG
,
"Word label size: "
+
wordLabels
.
size
());
Log
.
i
(
TAG
,
"Word label size: "
+
wordLabels
.
size
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
Log
.
e
(
TAG
,
e
.
getMessage
());
Log
.
e
(
TAG
,
e
.
getMessage
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment