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
c878c21a
authored
2022-04-19 18:24:22 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
fd556337
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/common/electronic_afc_contract/get_char.py
src/common/electronic_afc_contract/get_char.py
View file @
c878c21
...
...
@@ -332,9 +332,9 @@ class Finder:
break
if
bbox_total
:
anchor
=
[
bbox_
total
[
0
],
bbox
[
1
],
bbox_total
[
2
],
bbox
[
3
],
bbox_
total
[
4
],
bbox
[
5
],
bbox_total
[
6
],
bbox
[
7
]]
_iou
,
_key
=
self
.
get_top_iou
(
poly
=
anchor
_2
,
ocr_result
=
self
.
ocr_results
[
page_num
])
anchor
=
[
bbox_
dkbj
[
0
],
bbox_total
[
1
],
bbox_dkbj
[
2
],
bbox_total
[
3
],
bbox_
dkbj
[
4
],
bbox_total
[
5
],
bbox_dkbj
[
6
],
bbox_total
[
7
]]
_iou
,
_key
=
self
.
get_top_iou
(
poly
=
anchor
,
ocr_result
=
self
.
ocr_results
[
page_num
])
bbox
,
total_text
=
self
.
ocr_results
[
page_num
][
_key
]
asp_details_table
.
append
([
'附加产品融资贷款本金总金额:'
,
''
,
total_text
])
asp_details_table_term
[
'words'
]
=
asp_details_table
...
...
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