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
a2473678
authored
2025-01-24 22:25:59 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ADD:log
1 parent
f744f42a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/apps/doc/management/commands/ocr_process.py
src/apps/doc/management/commands/ocr_process.py
View file @
a247367
...
...
@@ -1794,6 +1794,7 @@ class Command(BaseCommand, LoggerMixin):
for
part_idx
,
ocr_data
in
enumerate
(
ocr_data_list
):
part_idx
=
part_idx
+
1
classify
=
ocr_data
.
get
(
'classify'
)
self
.
online_log
.
info
(
'{0} [task={1}] [classify={2}]'
.
format
(
self
.
log_base
,
task_str
,
classify
))
if
classify
is
None
:
res_list
.
append
((
pno
,
ino
,
part_idx
,
consts
.
RES_FAILED_3
))
self
.
online_log
.
warn
(
'{0} [ocr_1 res error] [img={1}]'
.
format
(
...
...
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