Extracting lines from an image to feed to OCR - Tesseract

后端 未结 3 1566
闹比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条回答
  •  萌比男神i
    2021-02-10 21:31

    i can tell u a simple technique to feed the images to OCR.. just perform some operations to get the ROI (Region of Interest) of ur image, and localize the area where the image after binarizing it.. then you may find contours, and by keeping the threasholding value, and setting the required contour area, you can feed the resulting image to OCR :) .. (sorry for bad way of explaination)

提交回复
热议问题