Extracting lines from an image to feed to OCR - Tesseract

后端 未结 3 1525
闹比i
闹比i 2021-02-10 20:57

I was watching this talk from pycon http://youtu.be/B1d9dpqBDVA?t=15m34s around the 15:33 mark the speaker talks about extracting lines from an image (receipt) and then feeding

3条回答
  •  星月不相逢
    2021-02-10 21:29

    Direct answer: you extract lines from an image with Hough Transform. You can find an analytical guide here. Text lines can be detected as well. Karlphillip's answer is based on Hough Transform too.

    enter image description here enter image description here

提交回复
热议问题