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
b2260182
Commit
b2260182
authored
Jun 15, 2021
by
WenmuZhou
Browse files
rename folder
parent
2a1966a0
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
17 additions
and
17 deletions
+17
-17
test/MANIFEST.in
test/MANIFEST.in
+0
-0
test/__init__.py
test/__init__.py
+0
-0
test/api.md
test/api.md
+0
-0
test/api_ch.md
test/api_ch.md
+0
-0
test/paddlestructure.py
test/paddlestructure.py
+3
-3
test/predict_system.py
test/predict_system.py
+2
-2
test/setup.py
test/setup.py
+5
-5
test/table/README.md
test/table/README.md
+0
-0
test/table/README_ch.md
test/table/README_ch.md
+0
-0
test/table/__init__.py
test/table/__init__.py
+0
-0
test/table/eval_table.py
test/table/eval_table.py
+3
-3
test/table/matcher.py
test/table/matcher.py
+0
-0
test/table/predict_structure.py
test/table/predict_structure.py
+1
-1
test/table/predict_table.py
test/table/predict_table.py
+3
-3
test/table/table_metric/__init__.py
test/table/table_metric/__init__.py
+0
-0
test/table/table_metric/parallel.py
test/table/table_metric/parallel.py
+0
-0
test/table/table_metric/table_metric.py
test/table/table_metric/table_metric.py
+0
-0
test/table/tablepyxl/__init__.py
test/table/tablepyxl/__init__.py
+0
-0
test/table/tablepyxl/style.py
test/table/tablepyxl/style.py
+0
-0
test/table/tablepyxl/tablepyxl.py
test/table/tablepyxl/tablepyxl.py
+0
-0
No files found.
ppstructure
/MANIFEST.in
→
test
/MANIFEST.in
View file @
b2260182
File moved
ppstructure
/__init__.py
→
test
/__init__.py
View file @
b2260182
File moved
ppstructure/README
.md
→
test/api
.md
View file @
b2260182
File moved
ppstructure/README
_ch.md
→
test/api
_ch.md
View file @
b2260182
File moved
ppstructure
/paddlestructure.py
→
test
/paddlestructure.py
View file @
b2260182
...
@@ -24,9 +24,9 @@ import numpy as np
...
@@ -24,9 +24,9 @@ import numpy as np
from
pathlib
import
Path
from
pathlib
import
Path
from
ppocr.utils.logging
import
get_logger
from
ppocr.utils.logging
import
get_logger
from
ppstructure
.predict_system
import
OCRSystem
,
save_res
from
test
.predict_system
import
OCRSystem
,
save_res
from
ppstructure
.table.predict_table
import
to_excel
from
test
.table.predict_table
import
to_excel
from
ppstructure
.utility
import
init_args
,
draw_result
from
test
.utility
import
init_args
,
draw_result
logger
=
get_logger
()
logger
=
get_logger
()
from
ppocr.utils.utility
import
check_and_read_gif
,
get_image_file_list
from
ppocr.utils.utility
import
check_and_read_gif
,
get_image_file_list
...
...
ppstructure
/predict_system.py
→
test
/predict_system.py
View file @
b2260182
...
@@ -31,8 +31,8 @@ import layoutparser as lp
...
@@ -31,8 +31,8 @@ import layoutparser as lp
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
ppocr.utils.logging
import
get_logger
from
ppocr.utils.logging
import
get_logger
from
tools.infer.predict_system
import
TextSystem
from
tools.infer.predict_system
import
TextSystem
from
ppstructure
.table.predict_table
import
TableSystem
,
to_excel
from
test
.table.predict_table
import
TableSystem
,
to_excel
from
ppstructure
.utility
import
parse_args
,
draw_result
from
test
.utility
import
parse_args
,
draw_result
logger
=
get_logger
()
logger
=
get_logger
()
...
...
ppstructure
/setup.py
→
test
/setup.py
View file @
b2260182
...
@@ -25,14 +25,14 @@ with open('../requirements.txt', encoding="utf-8-sig") as f:
...
@@ -25,14 +25,14 @@ with open('../requirements.txt', encoding="utf-8-sig") as f:
def
readme
():
def
readme
():
with
open
(
'
README
_ch.md'
,
encoding
=
"utf-8-sig"
)
as
f
:
with
open
(
'
api
_ch.md'
,
encoding
=
"utf-8-sig"
)
as
f
:
README
=
f
.
read
()
README
=
f
.
read
()
return
README
return
README
shutil
.
copytree
(
'
../ppstructure
/table'
,
'./
ppstructure
/table'
)
shutil
.
copytree
(
'/table'
,
'./
test
/table'
)
shutil
.
copyfile
(
'
../ppstructure
/predict_system.py'
,
'./
ppstructure
/predict_system.py'
)
shutil
.
copyfile
(
'/predict_system.py'
,
'./
test
/predict_system.py'
)
shutil
.
copyfile
(
'
../ppstructure
/utility.py'
,
'./
ppstructure
/utility.py'
)
shutil
.
copyfile
(
'/utility.py'
,
'./
test
/utility.py'
)
shutil
.
copytree
(
'../ppocr'
,
'./ppocr'
)
shutil
.
copytree
(
'../ppocr'
,
'./ppocr'
)
shutil
.
copytree
(
'../tools'
,
'./tools'
)
shutil
.
copytree
(
'../tools'
,
'./tools'
)
shutil
.
copyfile
(
'../LICENSE'
,
'./LICENSE'
)
shutil
.
copyfile
(
'../LICENSE'
,
'./LICENSE'
)
...
@@ -68,5 +68,5 @@ setup(
...
@@ -68,5 +68,5 @@ setup(
shutil
.
rmtree
(
'ppocr'
)
shutil
.
rmtree
(
'ppocr'
)
shutil
.
rmtree
(
'tools'
)
shutil
.
rmtree
(
'tools'
)
shutil
.
rmtree
(
'
ppstructure
'
)
shutil
.
rmtree
(
'
test
'
)
os
.
remove
(
'LICENSE'
)
os
.
remove
(
'LICENSE'
)
ppstructure
/table/README.md
→
test
/table/README.md
View file @
b2260182
File moved
ppstructure
/table/README_ch.md
→
test
/table/README_ch.md
View file @
b2260182
File moved
ppstructure
/table/__init__.py
→
test
/table/__init__.py
View file @
b2260182
File moved
ppstructure
/table/eval_table.py
→
test
/table/eval_table.py
View file @
b2260182
...
@@ -20,9 +20,9 @@ sys.path.append(os.path.abspath(os.path.join(__dir__, '../..')))
...
@@ -20,9 +20,9 @@ sys.path.append(os.path.abspath(os.path.join(__dir__, '../..')))
import
cv2
import
cv2
import
json
import
json
from
tqdm
import
tqdm
from
tqdm
import
tqdm
from
ppstructure
.table.table_metric
import
TEDS
from
test
.table.table_metric
import
TEDS
from
ppstructure
.table.predict_table
import
TableSystem
from
test
.table.predict_table
import
TableSystem
from
ppstructure
.utility
import
init_args
from
test
.utility
import
init_args
from
ppocr.utils.logging
import
get_logger
from
ppocr.utils.logging
import
get_logger
logger
=
get_logger
()
logger
=
get_logger
()
...
...
ppstructure
/table/matcher.py
→
test
/table/matcher.py
View file @
b2260182
File moved
ppstructure
/table/predict_structure.py
→
test
/table/predict_structure.py
View file @
b2260182
...
@@ -32,7 +32,7 @@ from ppocr.data import create_operators, transform
...
@@ -32,7 +32,7 @@ from ppocr.data import create_operators, transform
from
ppocr.postprocess
import
build_post_process
from
ppocr.postprocess
import
build_post_process
from
ppocr.utils.logging
import
get_logger
from
ppocr.utils.logging
import
get_logger
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
ppstructure
.utility
import
parse_args
from
test
.utility
import
parse_args
logger
=
get_logger
()
logger
=
get_logger
()
...
...
ppstructure
/table/predict_table.py
→
test
/table/predict_table.py
View file @
b2260182
...
@@ -30,9 +30,9 @@ import tools.infer.predict_rec as predict_rec
...
@@ -30,9 +30,9 @@ import tools.infer.predict_rec as predict_rec
import
tools.infer.predict_det
as
predict_det
import
tools.infer.predict_det
as
predict_det
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
ppocr.utils.logging
import
get_logger
from
ppocr.utils.logging
import
get_logger
from
ppstructure
.table.matcher
import
distance
,
compute_iou
from
test
.table.matcher
import
distance
,
compute_iou
from
ppstructure
.utility
import
parse_args
from
test
.utility
import
parse_args
import
ppstructure
.table.predict_structure
as
predict_strture
import
test
.table.predict_structure
as
predict_strture
logger
=
get_logger
()
logger
=
get_logger
()
...
...
ppstructure
/table/table_metric/__init__.py
→
test
/table/table_metric/__init__.py
View file @
b2260182
File moved
ppstructure
/table/table_metric/parallel.py
→
test
/table/table_metric/parallel.py
View file @
b2260182
File moved
ppstructure
/table/table_metric/table_metric.py
→
test
/table/table_metric/table_metric.py
View file @
b2260182
File moved
ppstructure
/table/tablepyxl/__init__.py
→
test
/table/tablepyxl/__init__.py
View file @
b2260182
File moved
ppstructure
/table/tablepyxl/style.py
→
test
/table/tablepyxl/style.py
View file @
b2260182
File moved
ppstructure
/table/tablepyxl/tablepyxl.py
→
test
/table/tablepyxl/tablepyxl.py
View file @
b2260182
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