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
0fa1a4ce
authored
2022-08-29 19:07:25 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix zfb emoji 2
1 parent
0b2cf2d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/common/tools/pdf_to_img.py
src/common/tools/pdf_to_img.py
View file @
0fa1a4c
...
...
@@ -143,7 +143,7 @@ class PDFHandler:
# 支付宝 交易流水证明 '46428471991912802930901 2022-01-22' 切分日期
if
self
.
title_idx
in
{
6
,
7
}
and
self
.
date_pattern
.
match
(
text
):
try
:
split_x
=
x
0
+
((
x1
-
x0
)
*
(
10
/
len
(
text
)))
split_x
=
x
1
-
((
x1
-
x0
)
*
(
10
/
len
(
text
)))
date_str
=
text
[
-
10
:]
other_str
=
text
[:
-
10
]
...
...
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