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
05a27cd8
authored
2020-12-10 18:49:18 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
46c143b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
src/apps/doc/consts.py
src/apps/doc/management/commands/ocr_process.py
src/apps/doc/consts.py
View file @
05a27cd
...
...
@@ -632,7 +632,7 @@ IC_FIELD_ORDER_0 = ((IC_TURE_OR_FALSE, '身份证'),
(
'住址'
,
'住址'
),
(
'性别'
,
'性别'
),
(
'民族'
,
'民族'
),)
IC_FIELD_ORDER_1
=
((
'有效期限'
,
'有效期限'
),
(
'签发机关'
,
'签发机关'
),)
IC_FIELD_ORDER_1
=
((
IC_TURE_OR_FALSE
,
'身份证'
),
(
'有效期限'
,
'有效期限'
),
(
'签发机关'
,
'签发机关'
),)
# 居住证
RP_CN_NAME
=
'居住证'
RP_CLASSIFY
=
10087
...
...
src/apps/doc/management/commands/ocr_process.py
View file @
05a27cd
...
...
@@ -237,7 +237,6 @@ class Command(BaseCommand, LoggerMixin):
self
.
cronjob_log
.
info
(
'{0} [ocr_4 success] [img_path={1}] [speed_time={2}]'
.
format
(
self
.
log_base
,
img_path
,
speed_time
))
break
else
:
self
.
cronjob_log
.
warn
(
...
...
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