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
ac3193b2
authored
2024-04-28 18:50:53 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/CHINARPA-4546' into feature/uat-tmp
2 parents
0f98c4a3
84d49794
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/common/tools/comparison.py
src/common/tools/comparison.py
View file @
ac3193b
...
...
@@ -8,7 +8,9 @@ from .rmb_lower import rmb_handler
from
pandas._libs
import
tslib
from
pandas._libs.tslibs.nattype
import
NaTType
from
pandas.core.indexes.datetimes
import
DatetimeIndex
import
logging
compare_log
=
logging
.
getLogger
(
'compare'
)
class
Comparison
:
...
...
@@ -193,6 +195,7 @@ class Comparison:
for
input_str
in
input_list
:
input_str
=
input_str
.
translate
(
self
.
KH_TRANS
)
compare_log
.
info
(
'[se_input_list_compare] [input_str {0}] [ocr_str {1}]'
.
format
(
input_str
,
ocr_str
))
if
input_str
==
ocr_str
:
return
self
.
RESULT_Y
else
:
...
...
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