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
add5e2a2
Commit
add5e2a2
authored
Jun 08, 2021
by
WenmuZhou
Browse files
Make drawing functions available externally
parent
e6de4b1e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
ppstructure/__init__.py
ppstructure/__init__.py
+2
-2
ppstructure/paddlestructure.py
ppstructure/paddlestructure.py
+1
-1
ppstructure/setup.py
ppstructure/setup.py
+1
-1
No files found.
ppstructure/__init__.py
View file @
add5e2a2
...
...
@@ -12,6 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
.paddlestructure
import
PaddleStructure
from
.paddlestructure
import
PaddleStructure
,
draw_result
,
to_excel
__all__
=
[
'PaddleStructure'
]
\ No newline at end of file
__all__
=
[
'PaddleStructure'
,
'draw_result'
,
'to_excel'
]
ppstructure/paddlestructure.py
View file @
add5e2a2
...
...
@@ -145,4 +145,4 @@ def main():
for
item
in
result
:
logger
.
info
(
item
[
'res'
])
save_res
(
result
,
save_folder
,
img_name
)
logger
.
info
(
'result save to {}'
.
format
(
os
.
path
.
join
(
save_folder
,
img_name
)))
logger
.
info
(
'result save to {}'
.
format
(
os
.
path
.
join
(
save_folder
,
img_name
)))
\ No newline at end of file
ppstructure/setup.py
View file @
add5e2a2
...
...
@@ -43,7 +43,7 @@ setup(
package_dir
=
{
'paddlestructure'
:
''
},
include_package_data
=
True
,
entry_points
=
{
"console_scripts"
:
[
"paddlestructure= paddlestructure.paddlestructure:main"
]},
version
=
'
2
.0
.6
'
,
version
=
'
1
.0'
,
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