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
19d10b4e
"tools/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "5d9c03890bb79fe81d8ff923b30613e699f4674a"
Commit
19d10b4e
authored
Apr 09, 2021
by
WenmuZhou
Browse files
add blank char
parent
3c431f0b
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 @
19d10b4e
...
@@ -147,6 +147,7 @@ public class Predictor {
...
@@ -147,6 +147,7 @@ public class Predictor {
protected
boolean
loadLabel
(
Context
appCtx
,
String
labelPath
)
{
protected
boolean
loadLabel
(
Context
appCtx
,
String
labelPath
)
{
wordLabels
.
clear
();
wordLabels
.
clear
();
wordLabels
.
add
(
"black"
);
// Load word labels from file
// Load word labels from file
try
{
try
{
InputStream
assetsInputStream
=
appCtx
.
getAssets
().
open
(
labelPath
);
InputStream
assetsInputStream
=
appCtx
.
getAssets
().
open
(
labelPath
);
...
...
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