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
5af23667
authored
2021-03-12 18:43:45 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/mvc' into feature/compare
2 parents
f82fcd2b
f0e4e380
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/apps/doc/management/commands/folder_ocr_process.py
src/apps/doc/management/commands/folder_ocr_process.py
View file @
5af2366
...
...
@@ -27,6 +27,7 @@ class TIFFHandler:
self
.
img_path_list
=
[]
def
extract_image
(
self
):
os
.
makedirs
(
self
.
img_save_path
,
exist_ok
=
True
)
tiff
=
Image
.
open
(
self
.
path
)
tiff
.
load
()
...
...
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