Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
30e2bd4f
"ppocr/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "d9e921c74388105518e2ba89e0a7e948b5bc3be9"
Commit
30e2bd4f
authored
Dec 18, 2020
by
WenmuZhou
Browse files
适配py3.5
parent
39955558
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
paddleocr.py
paddleocr.py
+2
-2
setup.py
setup.py
+1
-1
No files found.
paddleocr.py
View file @
30e2bd4f
...
...
@@ -262,8 +262,8 @@ class PaddleOCR(predict_system.TextSystem):
logger
.
error
(
'rec_algorithm must in {}'
.
format
(
SUPPORT_REC_MODEL
))
sys
.
exit
(
0
)
postprocess_params
.
rec_char_dict_path
=
Path
(
__file__
).
parent
/
postprocess_params
.
rec_char_dict_path
postprocess_params
.
rec_char_dict_path
=
str
(
Path
(
__file__
).
parent
/
postprocess_params
.
rec_char_dict_path
)
# init det_model and rec_model
super
().
__init__
(
postprocess_params
)
...
...
setup.py
View file @
30e2bd4f
...
...
@@ -32,7 +32,7 @@ setup(
package_dir
=
{
'paddleocr'
:
''
},
include_package_data
=
True
,
entry_points
=
{
"console_scripts"
:
[
"paddleocr= paddleocr.paddleocr:main"
]},
version
=
'2.0.
1
'
,
version
=
'2.0.
2
'
,
install_requires
=
requirements
,
license
=
'Apache License 2.0'
,
description
=
'Awesome OCR toolkits based on PaddlePaddle (8.6M ultra-lightweight pre-trained model, support training and deployment among server, mobile, embeded and IoT devices'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment