Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2dc31fab
authored
2022-04-18 10:16:00 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
da4982cf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/common/tools/comparison.py
src/common/tools/comparison.py
View file @
2dc31fa
...
...
@@ -189,8 +189,8 @@ class Comparison:
for
idx
in
range
(
len
(
src_str
)):
if
src_str
[
idx
]
.
isdigit
():
replace_char_list
.
append
(
src_str
[
idx
])
elif
idx
==
len
(
src_str
)
-
3
and
src_str
[
idx
]
==
'.'
:
replace_char_list
.
append
(
src_str
[
idx
]
)
elif
idx
==
len
(
src_str
)
-
3
:
replace_char_list
.
append
(
'.'
)
return
''
.
join
(
replace_char_list
)
def
se_schedule_compare
(
self
,
input_str
,
ocr_str_or_list
,
**
kwargs
):
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment