|
@@ -180,8 +180,9 @@ def table(image: TableInfo):
|
|
if table.check_html():
|
|
if table.check_html():
|
|
res, html = table_res(table.img)
|
|
res, html = table_res(table.img)
|
|
cv2.imwrite('table-out.jpg', table.img)
|
|
cv2.imwrite('table-out.jpg', table.img)
|
|
- # print(table.total)
|
|
|
|
- # print(table.empty)
|
|
|
|
|
|
+ print(table.html_arr)
|
|
|
|
+ print(table.total)
|
|
|
|
+ print(table.empty)
|
|
|
|
|
|
if html:
|
|
if html:
|
|
post_hander = PostHandler(html)
|
|
post_hander = PostHandler(html)
|