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
bab0b22d
"...resnet50_tensorflow.git" did not exist on "d1c1737101ec7990a506c892d5910c4f877676f2"
Commit
bab0b22d
authored
Jun 18, 2021
by
WenmuZhou
Browse files
rename test to test1
parent
94c5eb80
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
28 additions
and
16 deletions
+28
-16
test1/MANIFEST.in
test1/MANIFEST.in
+0
-0
test1/__init__.py
test1/__init__.py
+0
-0
test1/api.md
test1/api.md
+6
-0
test1/api_ch.md
test1/api_ch.md
+6
-0
test1/layout/README.md
test1/layout/README.md
+0
-0
test1/layout/train_layoutparser_model.md
test1/layout/train_layoutparser_model.md
+0
-0
test1/layoutparser-0.0.0-py3-none-any.whl
test1/layoutparser-0.0.0-py3-none-any.whl
+0
-0
test1/paddlestructure.py
test1/paddlestructure.py
+3
-3
test1/predict_system.py
test1/predict_system.py
+2
-2
test1/setup.py
test1/setup.py
+4
-4
test1/table/README.md
test1/table/README.md
+0
-0
test1/table/README_ch.md
test1/table/README_ch.md
+0
-0
test1/table/__init__.py
test1/table/__init__.py
+0
-0
test1/table/eval_table.py
test1/table/eval_table.py
+3
-3
test1/table/matcher.py
test1/table/matcher.py
+0
-0
test1/table/predict_structure.py
test1/table/predict_structure.py
+1
-1
test1/table/predict_table.py
test1/table/predict_table.py
+3
-3
test1/table/table_metric/__init__.py
test1/table/table_metric/__init__.py
+0
-0
test1/table/table_metric/parallel.py
test1/table/table_metric/parallel.py
+0
-0
test1/table/table_metric/table_metric.py
test1/table/table_metric/table_metric.py
+0
-0
No files found.
test/MANIFEST.in
→
test
1
/MANIFEST.in
View file @
bab0b22d
File moved
test/__init__.py
→
test
1
/__init__.py
View file @
bab0b22d
File moved
test/api.md
→
test
1
/api.md
View file @
bab0b22d
# PaddleStructure
install layoutparser
```
sh
wget https://paddleocr.bj.bcebos.com/whl/layoutparser-0.0.0-py3-none-any.whl
pip3
install
layoutparser-0.0.0-py3-none-any.whl
```
## 1. Introduction to pipeline
PaddleStructure is a toolkit for complex layout text OCR, the process is as follows
...
...
test/api_ch.md
→
test
1
/api_ch.md
View file @
bab0b22d
# PaddleStructure
安装layoutparser
```
sh
wget https://paddleocr.bj.bcebos.com/whl/layoutparser-0.0.0-py3-none-any.whl
pip3
install
layoutparser-0.0.0-py3-none-any.whl
```
## 1. pipeline介绍
PaddleStructure 是一个用于复杂板式文字OCR的工具包,流程如下
...
...
test/layout/README.md
→
test
1
/layout/README.md
View file @
bab0b22d
File moved
test/layout/train_layoutparser_model.md
→
test
1
/layout/train_layoutparser_model.md
View file @
bab0b22d
File moved
test1/layoutparser-0.0.0-py3-none-any.whl
0 → 100644
View file @
bab0b22d
File added
test/paddlestructure.py
→
test
1
/paddlestructure.py
View file @
bab0b22d
...
...
@@ -24,9 +24,9 @@ import numpy as np
from
pathlib
import
Path
from
ppocr.utils.logging
import
get_logger
from
test.predict_system
import
OCRSystem
,
save_res
from
test.table.predict_table
import
to_excel
from
test.utility
import
init_args
,
draw_result
from
test
1
.predict_system
import
OCRSystem
,
save_res
from
test
1
.table.predict_table
import
to_excel
from
test
1
.utility
import
init_args
,
draw_result
logger
=
get_logger
()
from
ppocr.utils.utility
import
check_and_read_gif
,
get_image_file_list
...
...
test/predict_system.py
→
test
1
/predict_system.py
View file @
bab0b22d
...
...
@@ -31,8 +31,8 @@ import layoutparser as lp
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
ppocr.utils.logging
import
get_logger
from
tools.infer.predict_system
import
TextSystem
from
test.table.predict_table
import
TableSystem
,
to_excel
from
test.utility
import
parse_args
,
draw_result
from
test
1
.table.predict_table
import
TableSystem
,
to_excel
from
test
1
.utility
import
parse_args
,
draw_result
logger
=
get_logger
()
...
...
test/setup.py
→
test
1
/setup.py
View file @
bab0b22d
...
...
@@ -30,9 +30,9 @@ def readme():
return
README
shutil
.
copytree
(
'/table'
,
'./test/table'
)
shutil
.
copyfile
(
'/predict_system.py'
,
'./test/predict_system.py'
)
shutil
.
copyfile
(
'/utility.py'
,
'./test/utility.py'
)
shutil
.
copytree
(
'
.
/table'
,
'./test
1
/table'
)
shutil
.
copyfile
(
'
.
/predict_system.py'
,
'./test
1
/predict_system.py'
)
shutil
.
copyfile
(
'
.
/utility.py'
,
'./test
1
/utility.py'
)
shutil
.
copytree
(
'../ppocr'
,
'./ppocr'
)
shutil
.
copytree
(
'../tools'
,
'./tools'
)
shutil
.
copyfile
(
'../LICENSE'
,
'./LICENSE'
)
...
...
@@ -68,5 +68,5 @@ setup(
shutil
.
rmtree
(
'ppocr'
)
shutil
.
rmtree
(
'tools'
)
shutil
.
rmtree
(
'test'
)
shutil
.
rmtree
(
'test
1
'
)
os
.
remove
(
'LICENSE'
)
test/table/README.md
→
test
1
/table/README.md
View file @
bab0b22d
File moved
test/table/README_ch.md
→
test
1
/table/README_ch.md
View file @
bab0b22d
File moved
test/table/__init__.py
→
test
1
/table/__init__.py
View file @
bab0b22d
File moved
test/table/eval_table.py
→
test
1
/table/eval_table.py
View file @
bab0b22d
...
...
@@ -20,9 +20,9 @@ sys.path.append(os.path.abspath(os.path.join(__dir__, '../..')))
import
cv2
import
json
from
tqdm
import
tqdm
from
test.table.table_metric
import
TEDS
from
test.table.predict_table
import
TableSystem
from
test.utility
import
init_args
from
test
1
.table.table_metric
import
TEDS
from
test
1
.table.predict_table
import
TableSystem
from
test
1
.utility
import
init_args
from
ppocr.utils.logging
import
get_logger
logger
=
get_logger
()
...
...
test/table/matcher.py
→
test
1
/table/matcher.py
View file @
bab0b22d
File moved
test/table/predict_structure.py
→
test
1
/table/predict_structure.py
View file @
bab0b22d
...
...
@@ -32,7 +32,7 @@ from ppocr.data import create_operators, transform
from
ppocr.postprocess
import
build_post_process
from
ppocr.utils.logging
import
get_logger
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
test.utility
import
parse_args
from
test
1
.utility
import
parse_args
logger
=
get_logger
()
...
...
test/table/predict_table.py
→
test
1
/table/predict_table.py
View file @
bab0b22d
...
...
@@ -30,9 +30,9 @@ import tools.infer.predict_rec as predict_rec
import
tools.infer.predict_det
as
predict_det
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
ppocr.utils.logging
import
get_logger
from
test.table.matcher
import
distance
,
compute_iou
from
test.utility
import
parse_args
import
test.table.predict_structure
as
predict_strture
from
test
1
.table.matcher
import
distance
,
compute_iou
from
test
1
.utility
import
parse_args
import
test
1
.table.predict_structure
as
predict_strture
logger
=
get_logger
()
...
...
test/table/table_metric/__init__.py
→
test
1
/table/table_metric/__init__.py
View file @
bab0b22d
File moved
test/table/table_metric/parallel.py
→
test
1
/table/table_metric/parallel.py
View file @
bab0b22d
File moved
test/table/table_metric/table_metric.py
→
test
1
/table/table_metric/table_metric.py
View file @
bab0b22d
File moved
Prev
1
2
Next
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