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
40f5e56c
authored
2022-06-09 22:36:52 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix zhifubao
1 parent
72428994
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/apps/doc/ocr/wb.py
src/apps/doc/ocr/wb.py
View file @
40f5e56
...
...
@@ -148,8 +148,8 @@ class BSWorkbook(Workbook):
key
=
lambda
x
:
sheet_header_info
[
x
][
consts
.
FIND_COUNT_KEY
])
best_sheet_info
=
sheet_header_info
.
get
(
sheet_order_list
[
0
])
max_find_count
=
best_sheet_info
.
get
(
consts
.
FIND_COUNT_KEY
,
0
)
#
if max_find_count == 0 or classify == consts.NEW_ZHIFUBAO_CLASSIFY:
if
max_find_count
==
0
:
if
max_find_count
==
0
or
classify
==
consts
.
NEW_ZHIFUBAO_CLASSIFY
:
#
if max_find_count == 0:
if
special_nhzs
:
classify
=
consts
.
SPECIAL_NYZS_CLASSIFY
for
key
,
value
in
consts
.
CLASSIFY_MAP
.
items
():
...
...
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