pull/2/head
Vinayak Mehta 2019-05-26 17:13:59 +05:30
parent a1b85d2c91
commit b2a8348f13
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ class Stream(BaseParser):
# filter horizontal text # filter horizontal text
hor_text = [] hor_text = []
for region in self.table_regions: for region in self.table_regions:
x1, y1, x2, y2 = region x1, y1, x2, y2 = region.split(",")
region_text = text_in_bbox((x1, y2, x2, y1), self.horizontal_text) region_text = text_in_bbox((x1, y2, x2, y1), self.horizontal_text)
hor_text.extend(region_text) hor_text.extend(region_text)
# find tables based on nurminen's detection algorithm # find tables based on nurminen's detection algorithm