add docker compose (#8)

* add docker compose

* add docker compose
This commit is contained in:
KevinHuSh
2023-12-15 19:38:32 +08:00
committed by GitHub
parent f4456af464
commit 738c322508
6 changed files with 153 additions and 3 deletions

View File

@ -323,7 +323,7 @@ class HuParser:
return layouts
def __table_paddle(self, images):
tbls = self.tbl_det([np.array(img) for img in images], thr=0.5)
tbls = self.tbl_det([img for img in images], threshold=0.5)
res = []
# align left&right for rows, align top&bottom for columns
for tbl in tbls: