MichalBusta / FASText

Efficient Unconstrained Scene Text Detector
GNU General Public License v2.0
191 stars 74 forks source link

I got many intra-lines when I use ft.findTextLines() #24

Closed zarifazhu closed 6 years ago

zarifazhu commented 7 years ago

When I use lines=ft.findTextLines() then
for i in range(lines.shape[0]): rectn = lines[i, :] rectn[2] += rectn[0] rectn[3] += rectn[1];
cv2.rectangle(img,(rectn[0],rectn[1]),(rectn[2],rectn[3]), color)
cv2.imwrite('dst.jpg',img);

I got many intra lines in the pic "img", how can i remove those lines?

MichalBusta commented 7 years ago

Hi, depends on the task / constraints: