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
078a823f
Unverified
Commit
078a823f
authored
May 18, 2020
by
xiaoting
Committed by
GitHub
May 18, 2020
Browse files
Merge pull request #52 from LDOUBLEV/fixocr
Fixocr
parents
09d36ac4
49aa7698
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ppocr/data/det/dataset_traversal.py
ppocr/data/det/dataset_traversal.py
+2
-2
No files found.
ppocr/data/det/dataset_traversal.py
View file @
078a823f
...
@@ -81,8 +81,8 @@ class EvalTestReader(object):
...
@@ -81,8 +81,8 @@ class EvalTestReader(object):
lines
=
fin
.
readlines
()
lines
=
fin
.
readlines
()
for
line
in
lines
:
for
line
in
lines
:
img_name
=
line
.
decode
().
strip
(
"
\n
"
).
split
(
"
\t
"
)[
0
]
img_name
=
line
.
decode
().
strip
(
"
\n
"
).
split
(
"
\t
"
)[
0
]
img_path
=
img_set_dir
+
"/"
+
img_name
img_path
=
os
.
path
.
join
(
img_set_dir
,
img_name
)
img_list
.
append
(
[
img_path
,
img_name
]
)
img_list
.
append
(
img_path
)
else
:
else
:
img_path
=
self
.
params
[
'single_img_path'
]
img_path
=
self
.
params
[
'single_img_path'
]
img_list
=
get_image_file_list
(
img_path
)
img_list
=
get_image_file_list
(
img_path
)
...
...
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