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
c94cfa1f
authored
2024-04-18 15:14:30 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
MOD:page_no
1 parent
141a5662
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/common/fsm_econtract/retriever.py
src/common/fsm_econtract/retriever.py
View file @
c94cfa1
...
...
@@ -252,7 +252,8 @@ class Retriever:
self
.
position_str
:
list
(
coordinates
),
}
page_key
=
'page_12'
if
is_last_pno
else
'page_{0}'
.
format
(
int
(
pno_str
)
+
1
)
# page_key = 'page_12' if is_last_pno else 'page_{0}'.format(int(pno_str) + 1)
page_key
=
'page_{0}'
.
format
(
int
(
pno_str
)
+
1
)
pdf_result
[
page_key
]
=
page_result
return
pdf_result
...
...
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