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
7dd68c93
authored
2022-08-25 14:26:53 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add log
1 parent
e74dd687
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
src/apps/doc/management/commands/ocr_process.py
src/apps/doc/management/commands/ocr_process.py
View file @
7dd68c9
...
...
@@ -1198,6 +1198,10 @@ class Command(BaseCommand, LoggerMixin):
with
lock
:
todo_count_dict
[
task_str
]
=
pdf_handler
.
img_count
self
.
online_log
.
info
(
'{0} [pdf_2_img_2_queue] [{1}] [is_ebank={2}]'
.
format
(
self
.
log_base
,
task_str
,
pdf_handler
.
is_ebank
))
for
img_idx
,
img_path
in
enumerate
(
pdf_handler
.
img_path_list
):
while
img_queue
.
full
():
self
.
online_log
.
info
(
'{0} [pdf_2_img_2_queue] [img queue full]'
.
format
(
self
.
log_base
))
...
...
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