Fix #312
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user