Get the location of all text present in image using opencv

后端 未结 3 1749
眼角桃花
眼角桃花 2020-12-28 09:18

I have this image that contains text(numbers and alphabets) in it. I want to get the location of all the text and numbers present in this image. Also I want to extract all t

3条回答
  •  一向
    一向 (楼主)
    2020-12-28 09:43

    One method is to use sliding window (It is expensive).

    Determine the size of the characters in the image (all characters are of same size as seen in the image) and set the size of the window. Try tesseract for the detection (The input image requires pre processing). If a window detects characters consecutively, then store the coordinates of the window. Merge the coordinates and get the region on the characters.

提交回复
热议问题