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
0f197a8b
authored
2022-06-14 15:08:34 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
fbc5ffab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
src/apps/doc/ocr/wb.py
src/apps/doc/ocr/wb.py
View file @
0f197a8
...
...
@@ -506,6 +506,8 @@ class BSWorkbook(Workbook):
if
classify
==
consts
.
SPECIAL_ZSYH_CLASSIFY
and
is_first_row
:
# 招商银行2行表头
find_count
=
0
for
tmp_idx
,
value_str
in
enumerate
(
row_value
):
if
not
isinstance
(
value_str
,
str
):
continue
if
tmp_idx
>=
len
(
consts
.
EN_HEADER_LIST
):
continue
if
value_str
.
find
(
consts
.
EN_HEADER_LIST
[
tmp_idx
])
!=
-
1
:
...
...
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