-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
hi~,
there are some problems at shrink_poly function in utils.py.
for p in range(start, end + 1, r):
res.append([p, int(k1 * p + b1),
(p + 15), int(k1 * (p + 15) + b1),
(p + 15), int(k2 * (p + 15) + b2),
p, int(k2 * p + b2)])
this can cause inaccurate cutting of the last box.
and get_text_lines function in text_proposal_connector.py
lb_y, rb_y = self.fit_y(text_line_boxes[:,0], text_line_boxes[:, 3], x0 + offset, x1 - offset)
i think text_line_boxes[:,0] -> text_line_boxes[:,2]
Metadata
Metadata
Assignees
Labels
No labels